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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 602 - (show annotations)
Tue Aug 20 09:29:23 2024 UTC (7 months, 1 week ago) by rakinar2
File MIME type: application/typescript
File size: 1177 byte(s)
docs: references to broken links

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26