ajout CGU CGV, bandeau cookie, font
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter, Merriweather } from "next/font/google";
|
||||
import { Inter, Merriweather, Lora, EB_Garamond, Playfair_Display } from "next/font/google";
|
||||
import Script from "next/script";
|
||||
import { AuthProvider } from "@/providers/AuthProvider";
|
||||
import { LanguageProvider } from "@/providers/LanguageProvider";
|
||||
import { CookieBanner } from "@/components/CookieBanner";
|
||||
import { Analytics } from "@/components/Analytics";
|
||||
import "./globals.css";
|
||||
|
||||
const inter = Inter({
|
||||
@@ -16,6 +18,21 @@ const merriweather = Merriweather({
|
||||
variable: "--font-serif",
|
||||
});
|
||||
|
||||
const lora = Lora({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-lora",
|
||||
});
|
||||
|
||||
const garamond = EB_Garamond({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-garamond",
|
||||
});
|
||||
|
||||
const playfair = Playfair_Display({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-playfair",
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Pluume - Éditeur Intelligent",
|
||||
description: "Votre assistant éditorial intelligent propulsé par l'IA pour écrire votre prochain roman.",
|
||||
@@ -29,17 +46,13 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en">
|
||||
<head>
|
||||
<Script
|
||||
defer
|
||||
src="https://stats.kaelstudio.tech/script.js"
|
||||
data-website-id="bce265f0-c9d4-4542-813f-f3bd9bf151bc"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
</head>
|
||||
<body className={`${inter.variable} ${merriweather.variable} font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300`}>
|
||||
<body className={`${inter.variable} ${merriweather.variable} ${lora.variable} ${garamond.variable} ${playfair.variable} font-sans h-screen overflow-x-hidden overflow-y-auto antialiased bg-theme-bg text-theme-text transition-colors duration-300`}>
|
||||
<AuthProvider>
|
||||
<LanguageProvider>
|
||||
<Analytics />
|
||||
{children}
|
||||
<CookieBanner />
|
||||
</LanguageProvider>
|
||||
</AuthProvider>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user