From 9b046d7da4afb4a919a832230873d2e1abc8badc Mon Sep 17 00:00:00 2001 From: AI Bot Date: Wed, 10 Jun 2026 10:57:37 +0530 Subject: [PATCH] feat: add metadata to key docs pages (#116) --- project/src/app/docs/all-roadmaps/layout.tsx | 10 ++++++++++ project/src/app/docs/common-questions/layout.tsx | 10 ++++++++++ project/src/app/docs/learning-paths/layout.tsx | 10 ++++++++++ project/src/app/docs/quick-start/layout.tsx | 10 ++++++++++ 4 files changed, 40 insertions(+) create mode 100644 project/src/app/docs/all-roadmaps/layout.tsx create mode 100644 project/src/app/docs/common-questions/layout.tsx create mode 100644 project/src/app/docs/learning-paths/layout.tsx create mode 100644 project/src/app/docs/quick-start/layout.tsx diff --git a/project/src/app/docs/all-roadmaps/layout.tsx b/project/src/app/docs/all-roadmaps/layout.tsx new file mode 100644 index 0000000..528bb2e --- /dev/null +++ b/project/src/app/docs/all-roadmaps/layout.tsx @@ -0,0 +1,10 @@ +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "All Roadmaps", + description: "Browse all available DemonTech roadmaps. Discover paths for frontend, backend, devops, data science, and more.", +}; + +export default function Layout({ children }: { children: React.ReactNode }) { + return <>{children}; +} diff --git a/project/src/app/docs/common-questions/layout.tsx b/project/src/app/docs/common-questions/layout.tsx new file mode 100644 index 0000000..3be1292 --- /dev/null +++ b/project/src/app/docs/common-questions/layout.tsx @@ -0,0 +1,10 @@ +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Common Questions", + description: "Find answers to frequently asked questions about DemonTech roadmaps, learning paths, and best practices.", +}; + +export default function Layout({ children }: { children: React.ReactNode }) { + return <>{children}; +} diff --git a/project/src/app/docs/learning-paths/layout.tsx b/project/src/app/docs/learning-paths/layout.tsx new file mode 100644 index 0000000..beca205 --- /dev/null +++ b/project/src/app/docs/learning-paths/layout.tsx @@ -0,0 +1,10 @@ +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Learning Paths", + description: "Explore structured learning paths to guide your journey from beginner to professional developer.", +}; + +export default function Layout({ children }: { children: React.ReactNode }) { + return <>{children}; +} diff --git a/project/src/app/docs/quick-start/layout.tsx b/project/src/app/docs/quick-start/layout.tsx new file mode 100644 index 0000000..6bde92b --- /dev/null +++ b/project/src/app/docs/quick-start/layout.tsx @@ -0,0 +1,10 @@ +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "Quick Start", + description: "Get up and running with DemonTech Roadmap in just a few minutes. Follow simple steps to start your learning journey.", +}; + +export default function Layout({ children }: { children: React.ReactNode }) { + return <>{children}; +}