Skip to content

Commit

Permalink
fix: logo 改为服务端渲染
Browse files Browse the repository at this point in the history
  • Loading branch information
besscroft committed Jan 21, 2024
1 parent 47b4122 commit d711398
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ onBeforeUnmount(() => {
<nav relative bg-white dark:bg-custom-black>
<div flex container px-6 py-4 mx-auto md:flex md:justify-between md:items-center>
<div flex items-center justify-between w-full md:w-36>
<ClientOnly>
<img class="h-8 w-auto" src="/maskable-icon.png" cursor-pointer @click="router.push('/')" alt="logo">
</ClientOnly>
<img class="h-8 w-auto" src="/maskable-icon.png" cursor-pointer @click="router.push('/')" alt="logo">
</div>

<div v-if="mdAndLarger" flex items-center justify-center space-x-3>
Expand Down

0 comments on commit d711398

Please sign in to comment.