Deploy
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
import type { Metadata } from 'next'
|
||||||
|
import { Work_Sans, Source_Sans_3 } from 'next/font/google'
|
||||||
|
import Navigation from '@/components/layout/Navigation'
|
||||||
|
import Footer from '@/components/layout/Footer'
|
||||||
|
import './globals.css'
|
||||||
|
|
||||||
|
const workSans = Work_Sans({ subsets: ['latin'], variable: "--font-heading", display: "swap" })
|
||||||
|
const sourceSans3 = Source_Sans_3({ weight: ["300","400","500","600","700"], subsets: ['latin'], variable: "--font-body", display: "swap" })
|
||||||
|
|
||||||
|
export const metadata: Metadata = {
|
||||||
|
title: 'KwaNtofontofo',
|
||||||
|
description: 'KwaNtofontofo – A cosy, comfortable home away from home with luxury air-conditioned bedrooms, en-suite, pool, secure parking, near PMB Airport and UKZN.',
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||||
|
return (
|
||||||
|
<html lang="en" className={`${workSans.variable} ${sourceSans3.variable}`}>
|
||||||
|
<body className={sourceSans3.className}>
|
||||||
|
<Navigation />
|
||||||
|
{children}
|
||||||
|
<Footer />
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user