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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 625 by rakinar2, Tue Aug 20 09:29:23 2024 UTC revision 626 by rakinar2, Sat Sep 7 09:38:45 2024 UTC
# Line 1  Line 1 
1  import Navbar from "@/components/Navbar/Navbar";  import Navbar from "@/components/Navbar/Navbar";
2  import Progress from "@/components/Navigation/Progress";  import Progress from "@/components/Navigation/Progress";
3    import { BASE_URL } from "@/utils/links";
4  import type { Metadata, Viewport } from "next";  import type { Metadata, Viewport } from "next";
5  import { Inter } from "next/font/google";  import { Inter } from "next/font/google";
6  import { PropsWithChildren } from "react";  import { PropsWithChildren } from "react";
# Line 9  import Providers from "./providers"; Line 10  import Providers from "./providers";
10  const inter = Inter({ subsets: ["latin"] });  const inter = Inter({ subsets: ["latin"] });
11    
12  export const metadata: Metadata = {  export const metadata: Metadata = {
13      metadataBase: new URL((process.env.NEXT_PUBLIC_BASE_DOMAIN?.startsWith("localhost") ? "http" : "https") + "://" + process.env.NEXT_PUBLIC_BASE_DOMAIN!),      metadataBase: new URL(BASE_URL),
14      title: "SudoBot Documentation",      title: {
15            default: "SudoBot Documentation",
16            template: "%s | SudoBot Documentation",
17        },
18      description: "A guide to get you started with SudoBot!",      description: "A guide to get you started with SudoBot!",
19      alternates: {      alternates: {
20          canonical: "./"          canonical: "./",
21      },      },
22  };  };
23    

Legend:
Removed from v.625  
changed lines
  Added in v.626

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26