webdev-service / app /layout.tsx
underrate's picture
Initial commit
34ed5b1 verified
Raw
History Blame Contribute Delete
2.31 kB
import type { Metadata } from "next";
import { Inter, JetBrains_Mono, Plus_Jakarta_Sans } from "next/font/google";
import "./globals.css";
const inter = Inter({
variable: "--font-sans",
subsets: ["latin"],
display: "swap",
preload: true,
});
const jetbrainsMono = JetBrains_Mono({
variable: "--font-mono",
subsets: ["latin"],
display: "swap",
});
const jakarta = Plus_Jakarta_Sans({
variable: "--font-heading",
subsets: ["latin"],
display: "swap",
preload: true,
});
export const metadata: Metadata = {
title: {
default: "NexaFlow β€” Digital Agency | Web & App Development",
template: "%s | NexaFlow",
},
description: "We design and build high-performance websites, mobile apps, and digital products that drive real business growth. Let's create something extraordinary.",
keywords: ["web development", "app development", "UI/UX design", "SEO", "digital agency", "nexaflow"],
authors: [{ name: "NexaFlow" }],
creator: "NexaFlow",
openGraph: {
type: "website",
locale: "en_US",
url: "https://nexaflow.dev",
siteName: "NexaFlow",
title: "NexaFlow β€” Digital Agency | Web & App Development",
description: "We design and build high-performance websites, mobile apps, and digital products that drive real business growth.",
},
twitter: {
card: "summary_large_image",
title: "NexaFlow β€” Digital Agency",
description: "We design and build high-performance websites, mobile apps, and digital products.",
},
robots: {
index: true,
follow: true,
},
};
import { SessionProvider } from "next-auth/react";
import { ThemeProvider } from "@/components/theme-provider";
import { Toaster } from "@/components/ui/sonner";
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<body
className={`${inter.variable} ${jetbrainsMono.variable} ${jakarta.variable} font-sans antialiased`}
>
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
<SessionProvider>
{children}
<Toaster />
</SessionProvider>
</ThemeProvider>
</body>
</html>
);
}