Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9386913ae7 | |||
| fedf51435d | |||
| e502b081aa | |||
| c6759d76e7 | |||
| 254debb653 | |||
| 9177290b80 | |||
| c294e20d3c | |||
| c15af1083e |
@@ -1,74 +1,17 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
|
||||||
import { Nunito } from "next/font/google";
|
|
||||||
import "./globals.css";
|
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 nunito = Nunito({
|
|
||||||
variable: "--font-nunito",
|
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "EduPortal - School Management Platform",
|
title: "EduPortal - School Management Solution", description: "Complete educational platform for students, teachers, and administrators"};
|
||||||
description: "Complete school management and student portal solution. Track grades, attendance, assignments, and communicate with teachers and parents seamlessly.",
|
|
||||||
keywords: "school management, student portal, educational platform, attendance system, grade tracking",
|
|
||||||
metadataBase: new URL("https://eduportal.edu"),
|
|
||||||
alternates: {
|
|
||||||
canonical: "https://eduportal.edu",
|
|
||||||
},
|
|
||||||
openGraph: {
|
|
||||||
title: "EduPortal - Modern School Management",
|
|
||||||
description: "Streamlined education platform for students, teachers, and administrators",
|
|
||||||
url: "https://eduportal.edu",
|
|
||||||
siteName: "EduPortal",
|
|
||||||
type: "website",
|
|
||||||
images: [
|
|
||||||
{
|
|
||||||
url: "http://img.b2bpic.net/free-photo/workers-looking-monthly-statistics_329181-12025.jpg",
|
|
||||||
alt: "EduPortal Dashboard",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image",
|
|
||||||
title: "EduPortal - School Management Platform",
|
|
||||||
description: "Complete school management and student portal solution",
|
|
||||||
images: ["http://img.b2bpic.net/free-photo/workers-looking-monthly-statistics_329181-12025.jpg"],
|
|
||||||
},
|
|
||||||
robots: {
|
|
||||||
index: true,
|
|
||||||
follow: true,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<body>{children}
|
||||||
<body
|
|
||||||
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1436,7 +1379,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user