feat(layout): add Toaster component and update favicon link

This commit introduces the Toaster component to the main layout. In addition, the link to the favicon has been updated to correct its location.
This commit is contained in:
Mathis H (Avnyr) 2024-06-17 09:46:21 +02:00
parent 5c81ad917d
commit 3b1a3e93e0
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -7,6 +7,7 @@ import { PrimaryNavigationMenu } from "@/components/primary-nav";
import { Providers } from "@/components/providers/providers"; import { Providers } from "@/components/providers/providers";
import { ThemeProvider } from "@/components/providers/theme-provider"; import { ThemeProvider } from "@/components/providers/theme-provider";
import type React from "react"; import type React from "react";
import {Toaster} from "@/components/ui/toaster";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "YeloBit", title: "YeloBit",
@ -22,7 +23,7 @@ export default function RootLayout({
return ( return (
<html lang="en"> <html lang="en">
<head> <head>
<link rel="icon" href="/public/favicon.ico" sizes="any" /> <link rel="icon" href="/favicon.ico" sizes="any" />
</head> </head>
<body className={"w-full min-h-screen flex flex-col items-center justify-between"}> <body className={"w-full min-h-screen flex flex-col items-center justify-between"}>
<Providers> <Providers>
@ -32,6 +33,7 @@ export default function RootLayout({
{children} {children}
<Footer /> <Footer />
</Providers> </Providers>
<Toaster/>
</body> </body>
</html> </html>
); );