Merge version_2 into main #4

Merged
bender merged 2 commits from version_2 into main 2026-03-07 08:21:53 +00:00
2 changed files with 9 additions and 70 deletions

View File

@@ -1,80 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Manrope } from "next/font/google";
import { DM_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 inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const manrope = Manrope({
variable: "--font-manrope",
subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "ClassHub - Modern School Management Platform",
description: "Modern school class management platform with student profiles, class selection, and administrative tools. Connect, organize, and manage your school experience with ClassHub.",
keywords: "school, class management, students, education, platform",
metadataBase: new URL("https://classhub.example.com"),
alternates: {
canonical: "https://classhub.example.com",
},
openGraph: {
title: "ClassHub - Modern School Management Platform",
description: "Connect with your classmates and manage student information on ClassHub.",
url: "https://classhub.example.com",
siteName: "ClassHub",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/women-chatting-gym-door_1262-699.jpg",
alt: "ClassHub Welcome",
},
],
},
twitter: {
card: "summary_large_image",
title: "ClassHub - Modern School Management Platform",
description: "Modern school class management platform with student profiles and administrative tools.",
images: ["http://img.b2bpic.net/free-photo/women-chatting-gym-door_1262-699.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "ClassHub", description: "A modern platform for managing school classes, student profiles, and educational information."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${manrope.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1442,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}

View File

@@ -77,7 +77,7 @@ export default function HomePage() {
mediaAnimation="slide-up"
imagePosition="right"
buttons={[
{ text: "Get Started", href: "/auth" },
{ text: "Sign Up Free", href: "/auth" },
{ text: "Learn More", href: "/classes" },
]}
buttonAnimation="slide-up"
@@ -180,4 +180,4 @@ export default function HomePage() {
</div>
</ThemeProvider>
);
}
}