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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB