75 lines
2.4 KiB
TypeScript
75 lines
2.4 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import { Lato } 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 lato = Lato({
|
|
variable: "--font-lato",
|
|
subsets: ["latin"],
|
|
weight: ["100", "300", "400", "700", "900"]
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "777 Internet Cafe & Music Services | Fast Internet & Printing in Brixton",
|
|
description: "Fast internet, professional printing & scanning, and music services in Brixton, Johannesburg. 4.5 star rating. Call 011 837 1323 or visit us opposite ABSA Bank on Collins Street.",
|
|
keywords: "internet cafe Brixton, printing services Johannesburg, fast internet near me, document typing, music recording Brixton, internet cafe Collins Street",
|
|
metadataBase: new URL("https://777internetcafe.co.za"),
|
|
alternates: {
|
|
canonical: "https://777internetcafe.co.za"
|
|
},
|
|
openGraph: {
|
|
title: "777 Internet Cafe & Music Records | Brixton, Johannesburg",
|
|
description: "Your trusted local destination for fast internet, professional printing, document services, and music support. 4.5 stars from 28 reviews.",
|
|
url: "https://777internetcafe.co.za",
|
|
siteName: "777 Internet Cafe & Music Records",
|
|
type: "website"
|
|
},
|
|
twitter: {
|
|
card: "summary_large_image",
|
|
title: "Fast Internet & Printing Services in Brixton - 777 Cafe",
|
|
description: "Affordable internet access, professional printing, CV typing, and music services. Located opposite ABSA Bank. Call 011 837 1323"
|
|
},
|
|
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} ${lato.variable} antialiased`}
|
|
>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
} |