File size: 2,309 Bytes
34ed5b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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>
  );
}