mirror of
https://github.com/OwethuManagedServices/oms-website-nextjs.git
synced 2025-12-17 18:58:10 +00:00
104 lines
3.2 KiB
TypeScript
104 lines
3.2 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Poppins } from "next/font/google";
|
|
import "./globals.css";
|
|
import Header from "@/components/Header";
|
|
import Footer from "@/components/Footer";
|
|
import { ThemeProvider } from "@/providers/theme-provider";
|
|
|
|
const poppins = Poppins({
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500", "600", "700", "800"],
|
|
variable: "--font-poppins",
|
|
});
|
|
|
|
// --- Define Metadata ---
|
|
export const metadata: Metadata = {
|
|
title:
|
|
"OMS: IT Solutions, Resource Augmentation & Product Development | Owethu Managed Services", // Primary Keywords first
|
|
description:
|
|
"Owethu Managed Services (OMS) provides expert IT solutions in Centurion & South Africa, including resource augmentation, project management, custom software development, and the OBSE financial analysis tool.", // Include Keywords, Location, USP
|
|
keywords: [
|
|
"Owethu Managed Services",
|
|
"OMS",
|
|
"OBSE",
|
|
"IT solutions South Africa",
|
|
"resource augmentation",
|
|
"project management IT",
|
|
"custom software development",
|
|
"OBSE",
|
|
"financial data analysis",
|
|
"IT services Centurion",
|
|
"digital transformation",
|
|
], // Add relevant keywords
|
|
alternates: {
|
|
canonical: "/", // Assuming this is the root URL
|
|
},
|
|
openGraph: {
|
|
// For social media sharing
|
|
title:
|
|
"OMS: Leading IT Solutions & Resource Augmentation | Owethu Managed Services",
|
|
description:
|
|
"Partner with OMS for innovative IT services, expert talent, and transformative digital products like OBSE.",
|
|
url: "https://oms.africa",
|
|
siteName: "Owethu Managed Services (OMS)",
|
|
images: [
|
|
{
|
|
url: "/og-image.jpg", // Create a compelling OG image (e.g., 1200x630) and place in /public
|
|
width: 1200,
|
|
height: 630,
|
|
alt: "Owethu Managed Services - Innovation Meets Excellence",
|
|
},
|
|
],
|
|
locale: "en_ZA",
|
|
type: "website",
|
|
},
|
|
twitter: {
|
|
// For Twitter cards
|
|
card: "summary_large_image",
|
|
title: "OMS: IT Solutions & Services | Owethu Managed Services",
|
|
description:
|
|
"Expert resource augmentation, project management, and product development including OBSE.",
|
|
// creator: '@YourTwitterHandle', // Optional: Add your Twitter handle
|
|
images: ["/og-image.jpg"], // Use the same OG image
|
|
},
|
|
robots: {
|
|
// Instruct search engine crawlers
|
|
index: true, // Allow indexing of this page
|
|
follow: true, // Allow following links from this page
|
|
googleBot: {
|
|
index: true,
|
|
follow: true,
|
|
"max-video-preview": -1,
|
|
"max-image-preview": "large",
|
|
"max-snippet": -1,
|
|
},
|
|
},
|
|
// verification: { // Add verification codes if needed
|
|
// google: 'YOUR_GOOGLE_VERIFICATION_CODE',
|
|
// yandex: 'YOUR_YANDEX_VERIFICATION_CODE',
|
|
// other: { me: ['my-email@example.com', 'my-link'] },
|
|
// },
|
|
};
|
|
// --- End Metadata ---
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={`${poppins.variable} font-sans`}
|
|
suppressHydrationWarning
|
|
>
|
|
<body>
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
|
<Header />
|
|
<main>{children}</main>
|
|
<Footer />
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|