diff --git a/frontend/app/layout.tsx b/frontend/app/layout.tsx index 3c5a4677..4b6153c3 100644 --- a/frontend/app/layout.tsx +++ b/frontend/app/layout.tsx @@ -8,15 +8,35 @@ const inter = Inter({ subsets: ["latin"] }) export const metadata: Metadata = { title: "Perspective - AI-Powered Bias Detection", - description: "Combat bias and one-sided narratives with AI-generated alternative perspectives.", + description: + "Combat bias and one-sided narratives with AI-generated alternative perspectives. Perspective analyzes text and provides balanced viewpoints using AI.", + keywords: [ + "AI bias detection", + "AI perspective analysis", + "bias detection tool", + "AI content evaluation", + "alternative narrative generation", + ], + openGraph: { + title: "Perspective - AI-Powered Bias Detection", + description: + "Analyze content for bias and generate alternative AI-driven perspectives.", + url: "https://perspective-aossie.vercel.app/", + siteName: "Perspective", + type: "website", + }, + twitter: { + card: "summary_large_image", + title: "Perspective - AI-Powered Bias Detection", + description: + "AI-powered tool to analyze bias and generate alternative perspectives.", + }, } /** * Root layout component that sets up global HTML structure, font, and theming for the application. * * Wraps all page content with the Inter font and a theme provider supporting system-based theming. - * - * @param children - The content to be rendered within the layout. */ export default function RootLayout({ children, @@ -26,10 +46,31 @@ export default function RootLayout({ return ( - + + {/* Structured Data for AI & Search Engines */} +