Skip to content

Commit

Permalink
FIX some svg images
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaFM committed Nov 27, 2024
1 parent 8dad531 commit 4d8d8b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions components/TheFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
</p>
</div>
<div class="col col-3">
<img :src="euFlag" alt="EU logo" class="eu-logo" />
<div id="svg-container"></div>
</div>
</div>
</div>
Expand All @@ -137,15 +137,13 @@

<script>
import logo from "~/assets/images/opeb_logo_white_minimal.png";
import euFlag from "/images/illustrations/eu.svg";
import footerEntries from "~/components/footerEntries";
import subMenuEntriesObservatory from "~/components/Header/HeaderMenu/subMenuEntriesObservatory.js";
import subMenuEntriesAbout from "~/components/Header/HeaderMenu/subMenuEntriesAbout";
export default {
data: () => ({
logo,
euFlag,
footers: [
{ headline: "OpenEBench", links: footerEntries },
{ headline: "Observatory", links: subMenuEntriesObservatory },
Expand Down Expand Up @@ -261,4 +259,13 @@ export default {
max-width: 100%;
}
}
#svg-container {
width: 100%;
height: 50px;
background-image: url('~/assets/images/eu.svg');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
</style>
2 changes: 1 addition & 1 deletion public/images/illustrations/eu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4d8d8b7

Please sign in to comment.