From c35fdb640098930e168f0c83c9a5d393deb91d2b Mon Sep 17 00:00:00 2001 From: Arnaud AMBROSELLI Date: Fri, 4 Aug 2023 08:46:14 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20put=20back=20Marianne=20=F0=9F=91=A7=20+?= =?UTF-8?q?=20=20tailwind?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/globals.css | 10 +++------ src/app/layout.tsx | 51 ++++++++++++++++++++------------------------- 2 files changed, 26 insertions(+), 35 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 0f6c46333..e0936eda7 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,4 +1,4 @@ -/* @tailwind base; +@tailwind base; @tailwind components; @tailwind utilities; @@ -18,10 +18,6 @@ body { color: rgb(var(--foreground-rgb)); - background: linear-gradient( - to bottom, - transparent, - rgb(var(--background-end-rgb)) - ) + background: linear-gradient(to bottom, transparent, rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb)); -} */ +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 07f1b5494..bd199f1ac 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,5 @@ -import './globals.css' -import type { Metadata } from 'next' -import { Inter } from 'next/font/google' +import "./globals.css"; +import type { Metadata } from "next"; import { defaultColorScheme } from "./defaultColorScheme"; import { DsfrHead } from "@codegouvfr/react-dsfr/next-appdir/DsfrHead"; @@ -12,38 +11,34 @@ import Link from "next/link"; import Header from "./components/Header"; import Footer from "./components/Footer"; -const inter = Inter({ subsets: ['latin'] }) - export const metadata: Metadata = { - title: 'Create Next App', - description: 'Generated by create next app', -} + title: "Create Next App", + description: "Generated by create next app", +}; -export default function RootLayout({ - children, -}: { - children: React.ReactNode -}) { +export default function RootLayout({ children }: { children: React.ReactNode }) { const lang = "fr"; return ( - + - +
{children} @@ -51,5 +46,5 @@ export default function RootLayout({ - ) + ); }