wine-shop/src/app/layout.tsx
christian a3586f3059
All checks were successful
Vercel Preview Deployment / Deploy-Preview (push) Successful in 2m22s
created filter menu
2024-05-25 19:42:48 +02:00

38 lines
791 B
TypeScript

import "~/styles/globals.css";
import { Inter as FontSans } from "next/font/google";
import { cn } from "~/lib/utils";
import TopNav from "./_components/FilterMenu";
import Filtermenu from "./_components/FilterMenu";
const fontSans = FontSans({
subsets: ["latin"],
variable: "--font-sans",
});
export const metadata = {
title: "Create T3 App",
description: "Generated by create-t3-app",
icons: [{ rel: "icon", url: "/favicon.ico" }],
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body
className={cn(
"min-h-screen bg-background font-sans antialiased",
fontSans.variable,
)}
>
<Filtermenu />
{children}
</body>
</html>
);
}