Files
oms-website-nextjs/app/layout.tsx
Lebohang-OMSAfrica 33008c17f9 Merge pull request #32 from OwethuManagedServices/29-08-2025/Add-CVEvolve-Link-Under-OMS-Website-Products-Menu
29 08 2025/add cv evolve link under oms website products menu
2025-09-08 12:09:05 +02:00

113 lines
3.5 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";
import Script from "next/script";
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>
<Script
src="https://umami.obse.africa/script.js"
data-website-id={
process.env.NEXT_PUBLIC_UMAMI_WEB_ID ||
"d9f0e4d7-0f0a-45e4-91bf-62e0e65e25d2"
}
strategy="afterInteractive"
/>
</body>
</html>
);
}