qr / src /app /layout.tsx
sameernotes's picture
Upload 55 files
084a9db verified
raw
history blame contribute delete
855 Bytes
import type { Metadata } from 'next';
import './globals.css';
import { Toaster } from "@/components/ui/toaster";
export const metadata: Metadata = {
title: 'QRCode Canvas',
description: 'Generate and customize beautiful QR codes',
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet" />
</head>
<body className="font-sans antialiased min-h-screen flex flex-col">
{children}
<Toaster />
</body>
</html>
);
}