From 0fd4517e9b86f8124f7ab23f23b9f62f8732a35b Mon Sep 17 00:00:00 2001 From: Zalko <88582103+Zalk0@users.noreply.github.com> Date: Tue, 24 Oct 2023 12:38:52 +0200 Subject: [PATCH] fix:move content of index.html to layout.tsx --- public/index.html | 21 --------------------- src/app/layout.tsx | 38 ++++++++++++++++++++++++++------------ 2 files changed, 26 insertions(+), 33 deletions(-) delete mode 100644 public/index.html diff --git a/public/index.html b/public/index.html deleted file mode 100644 index 1c29b8c..0000000 --- a/public/index.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - TurboBouffe - - - - -
- - diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 226384d..81aa42e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,18 +1,32 @@ -import StoreProvider from "@/store" +import StoreProvider from '@/store'; +import React from 'react'; +import { Flip, ToastContainer } from 'react-toastify'; +import '/public/fontawesome/css/all.min.css' export const metadata = { - title: 'Next.js', - description: 'Generated by Next.js', -} + charset: 'utf-8', + title: 'TurboBouffe', + description: "Site de gestion de la bouffe de l'UA", + icons: { + icon: '/favicon.ico', + apple: '/logo192.png' + }, + themeColor: '#fb560c', + manifest: '/manifest.json', + viewport: { + width: 'device-width', + initialScale: 1, + } +}; -export default function RootLayout({ - children, -}: { - children: React.ReactNode -}) { +export default function RootLayout({ children }: { children: React.ReactNode }) { return ( - - {children} + + + + {children} + + - ) + ); }