Skip to content

Commit

Permalink
Use a single svg for logo and wordmark in the home link
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed May 24, 2023
1 parent c54222d commit d91df61
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
11 changes: 11 additions & 0 deletions frontend/src/assets/logo_and_wordmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 3 additions & 6 deletions frontend/src/components/VHeader/VHomeLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"
class="h-12 px-4 text-[1.125rem]"
>
<OpenverseLogo class="me-2 h-[1em] w-auto" />
<OpenverseBrand class="h-[1em] w-auto" />
<OpenverseLogoAndWordmark class="h-[1em] w-auto" />
</VButton>
</template>

Expand All @@ -22,8 +21,7 @@ import { type PropType, defineComponent } from "vue"
import VButton from "~/components/VButton.vue"
import OpenverseLogo from "~/assets/logo.svg?inline"
import OpenverseBrand from "~/assets/brand.svg?inline"
import OpenverseLogoAndWordmark from "~/assets/logo_and_wordmark.svg?inline"
/**
* The home link for the internal header. Shows the Openverse logo and wordmark,
Expand All @@ -32,8 +30,7 @@ import OpenverseBrand from "~/assets/brand.svg?inline"
export default defineComponent({
name: "VHomeLink",
components: {
OpenverseLogo,
OpenverseBrand,
OpenverseLogoAndWordmark,
VButton,
},
props: {
Expand Down

0 comments on commit d91df61

Please sign in to comment.