Files
18dd4e10-dad3-412a-b048-2ec…/src/app/layout.tsx
2026-03-14 16:08:31 +00:00

42 lines
1.2 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 Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Nunito_Sans } from "next/font/google";
export const metadata: Metadata = {
title: 'Flying Horse Cafe - Downtown Dallas Specialty Coffee',
description: 'Award-winning specialty coffee shop in downtown Dallas. Cozy atmosphere, work-friendly seating, free wifi, fresh pastries. Open daily at 1401 Commerce St.',
};
const nunitoSans = Nunito_Sans({
variable: "--font-nunito-sans", subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${nunitoSans.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}