Ajout des fichiers de l'application
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
import { Footer } from "@/modules/common/components/footer";
|
||||
import { Header } from "@/modules/features/auth/components/header";
|
||||
//import "@/styles/font.css";
|
||||
import "@/styles/styles.scss";
|
||||
import "@/styles/icomoon.scss";
|
||||
//import "ionicons/css/ionicons.min.css";
|
||||
import type { Viewport } from "next";
|
||||
import { ReactNode } from "react";
|
||||
|
||||
export const fetchCache = "default-no-store";
|
||||
|
||||
export const viewport: Viewport = {
|
||||
width: 'device-width',
|
||||
initialScale: 1,
|
||||
maximumScale: 1,
|
||||
userScalable: false,
|
||||
themeColor: "#00a3ff",
|
||||
}
|
||||
|
||||
export async function generateMetadata() {
|
||||
return {
|
||||
title: "Ad Astra",
|
||||
description: "Ad Astra, fleurs et résines de CBD et autre cannabinoïdes.",
|
||||
manifest: "/favicon/manifest.json",
|
||||
icons: {
|
||||
icon: [
|
||||
{ url: '/favicon/android-icon-192x192.png', sizes: '192x192', type: 'image/png' },
|
||||
{ url: '/favicon/favicon-16x16.png', sizes: '16x16', type: 'image/png' },
|
||||
{ url: '/favicon/favicon-32x32.png', sizes: '32x32', type: 'image/png' },
|
||||
{ url: '/favicon/favicon-96x96.png', sizes: '96x96', type: 'image/png' },
|
||||
],
|
||||
shortcut: [
|
||||
{ url: '/favicon/favicon.ico', type:'image/vnd.microsoft.icon'}
|
||||
],
|
||||
apple: [
|
||||
{ url: '/favicon/apple-icon-57x57.png', sizes: '57x57', type: 'image/png' },
|
||||
{ url: '/favicon/apple-icon-60x60.png', sizes: '60x60', type: 'image/png' },
|
||||
{ url: '/favicon/apple-icon-72x72.png', sizes: '72x72', type: 'image/png' },
|
||||
{ url: '/favicon/apple-icon-76x76.png', sizes: '76x76', type: 'image/png' },
|
||||
{ url: '/favicon/apple-icon-114x114.png', sizes: '114x114', type: 'image/png' },
|
||||
{ url: '/favicon/apple-icon-120x120.png', sizes: '120x120', type: 'image/png' },
|
||||
{ url: '/favicon/apple-icon-144x144.png', sizes: '144x144', type: 'image/png' },
|
||||
{ url: '/favicon/apple-icon-180x180.png', sizes: '180x180', type: 'image/png' },
|
||||
],
|
||||
},
|
||||
other: {
|
||||
'msapplication-TileColor': '#da532c',
|
||||
'msapplication-TileImage': `${'images/tileimage.jpg'}`,
|
||||
'msapplication-config': '/favicon/browserconfig.xml',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const RootLayout = ({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: ReactNode;
|
||||
}>) => {
|
||||
return (
|
||||
<html className="h-100" lang="en">
|
||||
<body className="d-flex flex-column h-100" data-bs-theme="dark">
|
||||
<Header />
|
||||
<div className="h-100">
|
||||
{children}
|
||||
</div>
|
||||
<Footer />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
};
|
||||
|
||||
export default RootLayout;
|
||||
Reference in New Issue
Block a user