Update src/app/layout.tsx

This commit is contained in:
2026-03-02 20:31:39 +00:00
parent 86fa9dc6aa
commit d6a9cf3db9

View File

@@ -1,45 +1,41 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { DM_Sans } from "next/font/google";
import { Inter } from "next/font/google";
import { Nunito_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const nunitoSans = Nunito_Sans({
variable: "--font-nunito-sans", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Adora Learn | State-Aligned AI Learning Platform for K12", description: "Adora Learn is a structured, state-aligned AI learning platform. Custom Socratic tutor, real-world learning, parent visibility, and measurable progress—no shortcuts.", keywords: "AI tutoring, K-12 education, state standards, learning platform, homework help, standardized test prep, AI literacy, parental control", metadataBase: new URL("https://adoralearn.com"),
alternates: {
canonical: "https://adoralearn.com"},
canonical: "https://adoralearn.com"
},
openGraph: {
title: "Adora Learn | Structured AI Learning for K12 Students", description: "Master state standards with guided AI tutoring. Measurable progress, no shortcuts, and full parent visibility.", url: "https://adoralearn.com", siteName: "Adora Learn", type: "website", images: [
{
url: "https://adoralearn.com/og-image.png", alt: "Adora Learn dashboard showing student progress and mastery"},
],
url: "https://adoralearn.com/og-image.png", alt: "Adora Learn dashboard showing student progress and mastery"
}
]
},
twitter: {
card: "summary_large_image", title: "Adora Learn | Structured AI Learning for K12", description: "State-aligned AI tutoring with measurable progress. Built for parents. Built for mastery.", images: ["https://adoralearn.com/twitter-image.png"],
card: "summary_large_image", title: "Adora Learn | Structured AI Learning for K12", description: "State-aligned AI tutoring with measurable progress. Built for parents. Built for mastery.", images: ["https://adoralearn.com/twitter-image.png"]
},
robots: {
index: true,
follow: true,
},
follow: true
}
};
export default function RootLayout({
children,
children
}: Readonly<{
children: React.ReactNode;
}>) {
@@ -47,7 +43,7 @@ export default function RootLayout({
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
className={`${dmSans.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}