Skip to content

Commit

Permalink
adding desktop attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronkruse committed Apr 11, 2024
1 parent a9e9356 commit 3545835
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions vacs-map-app/src/components/OverviewTop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
<NavigationButton :to="backRoute" class="mobile">
<img src="@/assets/img/back-arrow.svg" alt="" />
</NavigationButton>
<attributionLogo></attributionLogo>

</div>
</div>
</div>
Expand All @@ -37,6 +39,7 @@ import { storeToRefs } from 'pinia'
import { useContentStore } from '@/stores/siteContent'
import { useColorStore } from '@/stores/colors'
import NavigationButton from '@/components/NavigationButton.vue'
import attributionLogo from '@/components/attributionLogo.vue'
const linkCopied = ref(false)
const route = useRoute()
Expand Down
19 changes: 19 additions & 0 deletions vacs-map-app/src/components/attributionLogo.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<template>
<div class="attribution-logo">
<img src="@/assets/img/logos/agmip_eg_plotline_white.png" alt="attribution Logo" />
</div>
</template>

<style scoped>
.attribution-logo img {
width: 200px;
height: auto;
/* background-color: pink; */
}
@media only screen and (max-width: 720px) {
/* don't show */
.attribution-logo {
display: none;
}
}
</style>

0 comments on commit 3545835

Please sign in to comment.