81 lines
2.5 KiB
TypeScript
81 lines
2.5 KiB
TypeScript
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 { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
|
|
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 = {
|
|
title: "Richfield College - Premium Career-Focused Education",
|
|
description: "Experience luxury tertiary education with personal mentorship at Richfield College. Career-focused programs, supportive lecturers, modern campus facilities, and 95% employment rate.",
|
|
keywords: "university, tertiary education, South Africa, career programs, business management, IT, marketing, finance, supportive education, Johannesburg, Bryanston",
|
|
metadataBase: new URL("https://richfield-college.edu.za"),
|
|
alternates: {
|
|
canonical: "https://richfield-college.edu.za",
|
|
},
|
|
openGraph: {
|
|
title: "Richfield College - Where Ambition Meets Opportunity",
|
|
description: "Premium career-focused education with personal mentorship and real-world opportunities. Join our supportive community of ambitious students.",
|
|
url: "https://richfield-college.edu.za",
|
|
siteName: "Richfield College",
|
|
type: "website",
|
|
images: [
|
|
{
|
|
url: "https://richfield-college.edu.za/og-image.jpg",
|
|
alt: "Richfield College Campus",
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Richfield College - Premium Tertiary Education",
|
|
description: "Career-focused education with supportive lecturers and modern facilities. Build your future with us.",
|
|
images: ["https://richfield-college.edu.za/twitter-image.jpg"],
|
|
},
|
|
robots: {
|
|
index: true,
|
|
follow: true,
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body
|
|
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |