/[sudobot]/trunk/docs/app/layout.tsx
ViewVC logotype

Contents of /trunk/docs/app/layout.tsx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 626 - (show annotations)
Sat Sep 7 09:38:45 2024 UTC (6 months, 3 weeks ago) by rakinar2
File MIME type: application/typescript
File size: 1174 byte(s)
chore: sync with git

1 import Navbar from "@/components/Navbar/Navbar";
2 import Progress from "@/components/Navigation/Progress";
3 import { BASE_URL } from "@/utils/links";
4 import type { Metadata, Viewport } from "next";
5 import { Inter } from "next/font/google";
6 import { PropsWithChildren } from "react";
7 import "../styles/globals.css";
8 import Providers from "./providers";
9
10 const inter = Inter({ subsets: ["latin"] });
11
12 export const metadata: Metadata = {
13 metadataBase: new URL(BASE_URL),
14 title: {
15 default: "SudoBot Documentation",
16 template: "%s | SudoBot Documentation",
17 },
18 description: "A guide to get you started with SudoBot!",
19 alternates: {
20 canonical: "./",
21 },
22 };
23
24 export const viewport: Viewport = {
25 colorScheme: "dark",
26 initialScale: 1,
27 themeColor: "#000",
28 };
29
30 export default function RootLayout({ children }: PropsWithChildren) {
31 return (
32 <html lang="en" className="dark">
33 <body className={inter.className}>
34 <Providers>
35 <Navbar />
36 <Progress />
37 {children}
38 </Providers>
39 </body>
40 </html>
41 );
42 }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26