|
|
|
|
@@ -1,76 +1,28 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Halant } from "next/font/google";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import { Nunito_Sans } from "next/font/google";
|
|
|
|
|
import { Geist, Geist_Mono } 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 geist = Geist({
|
|
|
|
|
variable: "--font-geist-sans", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const inter = Inter({
|
|
|
|
|
variable: "--font-inter",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const nunitoSans = Nunito_Sans({
|
|
|
|
|
variable: "--font-nunito-sans",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "Learnify - AI-Powered Personalized Learning for Students",
|
|
|
|
|
description: "Master any subject with AI-generated quizzes, real-time competitions, and personalized learning plans. Join thousands of students grades 5-12 transforming their education with Learnify.",
|
|
|
|
|
keywords: "ai learning platform, personalized education, quiz generator, gamified learning, student success, study app, educational ai",
|
|
|
|
|
metadataBase: new URL("https://learnify.edu"),
|
|
|
|
|
alternates: {
|
|
|
|
|
canonical: "https://learnify.edu",
|
|
|
|
|
},
|
|
|
|
|
openGraph: {
|
|
|
|
|
title: "Learnify - Transform Your Learning with AI",
|
|
|
|
|
description: "Personalized education platform with AI quizzes, real-time competitions, and gamified learning for students grades 5-12",
|
|
|
|
|
url: "https://learnify.edu",
|
|
|
|
|
siteName: "Learnify",
|
|
|
|
|
type: "website",
|
|
|
|
|
images: [
|
|
|
|
|
{
|
|
|
|
|
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQT8k0g2M9z3UTkzFiQ2zubsR1/modern-educational-dashboard-interface-s-1772854600527-b45cf70e.png",
|
|
|
|
|
alt: "Learnify AI-powered learning dashboard",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image",
|
|
|
|
|
title: "Learnify - AI-Powered Learning Platform",
|
|
|
|
|
description: "Personalized education with AI quizzes and gamified learning for students",
|
|
|
|
|
images: [
|
|
|
|
|
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQT8k0g2M9z3UTkzFiQ2zubsR1/modern-educational-dashboard-interface-s-1772854600527-b45cf70e.png",
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
robots: {
|
|
|
|
|
index: true,
|
|
|
|
|
follow: true,
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
title: "Learnify - AI-Powered Personalized Learning for Grades 5-12", description: "Master any subject with AI-powered personalized learning. Compete with friends, earn badges, and unlock your full potential through gamified education."};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1438,7 +1390,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|