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"; |
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 |
|
|