Fix favicon location and hydration mismatch by moving logos to public directory and wrapping auth UI in ClientOnly
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<img src="/logos/logo.png" alt="New Life Christian Church" class="h-16 w-auto" />
|
||||
</div>
|
||||
<div class="flex items-center gap-4">
|
||||
<ClientOnly>
|
||||
<template v-if="isAuthenticated">
|
||||
<NuxtLink
|
||||
to="/admin"
|
||||
@@ -29,6 +30,7 @@
|
||||
>
|
||||
Admin Login
|
||||
</NuxtLink>
|
||||
</ClientOnly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center mt-6">
|
||||
|
||||
BIN
public/logos/favicon.ico
Normal file
BIN
public/logos/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 149 KiB |
BIN
public/logos/logo.png
Normal file
BIN
public/logos/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 343 KiB |
Reference in New Issue
Block a user