38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
import type { Metadata } from 'next'
|
|
import { Albert_Sans, Nunito_Sans } from 'next/font/google'
|
|
import Navigation from '@/components/layout/Navigation'
|
|
import Footer from '@/components/layout/Footer'
|
|
import './globals.css'
|
|
import CartDrawer from '@/components/shop/CartDrawer'
|
|
|
|
const albertSans = Albert_Sans({
|
|
subsets: ['latin'],
|
|
weight: '600',
|
|
variable: '--font-display',
|
|
display: 'swap',
|
|
})
|
|
const nunitoSans = Nunito_Sans({
|
|
subsets: ['latin'],
|
|
weight: ["400", "600", "700"],
|
|
variable: '--font-body',
|
|
display: 'swap',
|
|
})
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Ngcobo Naturals',
|
|
description: 'Pretoria-born botanical skincare. Handcrafted soaps, body butters, and face oils enriched with indigenous marula, rooibos, and buchu for radiant, nourished skin.',
|
|
}
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="en" className={`${albertSans.variable} ${nunitoSans.variable}`}>
|
|
<body className={nunitoSans.className}>
|
|
<Navigation />
|
|
{children}
|
|
<Footer />
|
|
<CartDrawer />
|
|
|
|
<script src="/vula-editor.js"></script></body>
|
|
</html>
|
|
)
|
|
} |