feat(frontend): add correct favicon
This commit is contained in:
parent
0f3ab19f6f
commit
4ba28bbfde
2 changed files with 13 additions and 12 deletions
|
@ -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 |
Loading…
Reference in a new issue