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

@ -79,16 +79,17 @@ export function Layout({ children }: { children: ReactNode }) {
lang={locale || "en"} lang={locale || "en"}
dir={i18n.dir()} dir={i18n.dir()}
> >
<head> <head>
<meta charSet="utf-8" /> <meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<MetaComponent /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<Links /> <MetaComponent />
</head> <Links />
<body> </head>
{children} <body>
<ScrollRestoration /> {children}
<Scripts /> <ScrollRestoration />
<Scripts />
</body> </body>
</html> </html>
); );
@ -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