seo: sitemap, robots, og tags
This commit is contained in:
@@ -7,10 +7,40 @@ import "@fontsource/inter/700.css";
|
||||
import { Providers } from "./providers";
|
||||
import "./globals.css";
|
||||
|
||||
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || "https://codetutor.example.com";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "CodeTutor - Coding Interview Preparation",
|
||||
title: {
|
||||
default: "CodeTutor - Coding Interview Preparation",
|
||||
template: "%s | CodeTutor",
|
||||
},
|
||||
description:
|
||||
"Master coding interviews with curated questions, detailed explanations, and optimal solutions.",
|
||||
"Master coding interviews with curated questions, detailed explanations, and optimal solutions. Practice 400+ problems with interactive code editor.",
|
||||
keywords: [
|
||||
"coding interview",
|
||||
"leetcode",
|
||||
"algorithm",
|
||||
"data structures",
|
||||
"programming practice",
|
||||
"software engineering",
|
||||
],
|
||||
authors: [{ name: "Kai Chappell" }],
|
||||
openGraph: {
|
||||
type: "website",
|
||||
locale: "en_US",
|
||||
url: siteUrl,
|
||||
siteName: "CodeTutor",
|
||||
title: "CodeTutor - Coding Interview Preparation",
|
||||
description:
|
||||
"Master coding interviews with curated questions, detailed explanations, and optimal solutions.",
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "CodeTutor - Coding Interview Preparation",
|
||||
description:
|
||||
"Master coding interviews with curated questions, detailed explanations, and optimal solutions.",
|
||||
},
|
||||
metadataBase: new URL(siteUrl),
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
|
||||
Reference in New Issue
Block a user