Files
9d660d29-e245-46af-8689-9a7…/src/app/layout.tsx
2026-03-16 09:24:22 +00:00

42 lines
1.1 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Figtree } from "next/font/google";
export const metadata: Metadata = {
title: 'Bakalaka Coffee - Artisanal Coffee Shop',
description: 'Discover exceptional single-origin coffee at Bakalaka. Expert baristas, cozy atmosphere, and specialty drinks crafted with passion.',
};
const figtree = Figtree({
variable: "--font-figtree", subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${figtree.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}