feat(frontend): add correct favicon

This commit is contained in:
sam 2024-09-25 16:09:23 +02:00
parent 0f3ab19f6f
commit 4ba28bbfde
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
2 changed files with 13 additions and 12 deletions

View file

@ -81,6 +81,7 @@ export function Layout({ children }: { children: ReactNode }) {
> >
<head> <head>
<meta charSet="utf-8" /> <meta charSet="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<MetaComponent /> <MetaComponent />
<Links /> <Links />
@ -149,11 +150,11 @@ function ApiErrorElem({ error }: { error: ApiError }) {
} }
export default function App() { export default function App() {
const { meta, meUser, settings } = useLoaderData<typeof loader>(); const { meta, meUser } = useLoaderData<typeof loader>();
return ( return (
<> <>
<Navbar meta={meta} user={meUser} settings={settings} /> <Navbar meta={meta} user={meUser} />
<Container> <Container>
<Outlet /> <Outlet />
</Container> </Container>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB