chore init
This commit is contained in:
1 parent
1b7406b1d3
commit
a0d312a884
60 files changed
+5046
-125
No files matched your search
+23
-6
@@ -1,5 +1,7 @@
|
||||
import type { Metadata } from "next";
|
||||
import type { Metadata, Viewport } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import { SerwistProvider } from "@serwist/next/react";
|
||||
import { Footer } from "@/components/ui/Footer";
|
||||
import "./globals.css";
|
||||
|
||||
const geistSans = Geist({
|
||||
@@ -13,17 +15,32 @@ const geistMono = Geist_Mono({
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Next App",
|
||||
description: "Generated by create next app",
|
||||
title: "CV-Maker — Créez votre CV",
|
||||
description:
|
||||
"Créez votre CV en Markdown avec aperçu temps réel au format A4, 100 % local dans votre navigateur.",
|
||||
};
|
||||
|
||||
export const viewport: Viewport = {
|
||||
themeColor: "#2563eb",
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: LayoutProps<"/">) {
|
||||
return (
|
||||
<html
|
||||
lang="en"
|
||||
lang="fr"
|
||||
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
|
||||
>
|
||||
<body className="min-h-full flex flex-col">{children}</body>
|
||||
<body className="min-h-full flex flex-col bg-paper text-ink">
|
||||
<SerwistProvider
|
||||
swUrl="/sw.js"
|
||||
disable={process.env.NODE_ENV === "development"}
|
||||
>
|
||||
<div className="flex flex-1 flex-col">
|
||||
{children}
|
||||
<Footer />
|
||||
</div>
|
||||
</SerwistProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user