File size: 1,131 Bytes
0702eb8
 
fb3baa1
 
caae15f
f730525
caae15f
0702eb8
fb3baa1
 
 
 
 
0702eb8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fb3baa1
 
caae15f
 
 
 
f730525
caae15f
 
0702eb8
 
 
 
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
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "@/app/globals.css";
import { Providers } from "@/app/providers";
import Header from "@/app/components/header";
import Footer from "@/app/components/footer";
import Main from "@/app/components/ui/main-container";

const inter = Inter({
  subsets: ['latin'],
  display: 'swap',
  variable: '--font-inter',
})

export const metadata: Metadata = {
  title: "Smart Retrieval",
  description: "A chatbot powered by LLM for information retrieval",
  themeColor: [
    { media: '(prefers-color-scheme: light)', color: 'white' },
    { media: '(prefers-color-scheme: dark)', color: 'black' }
  ],
  icons: {
    icon: '/favicon.ico',
    shortcut: '/favicon-16x16.png',
    apple: '/apple-touch-icon.png',
  }
};

export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="en" className={inter.variable}>
      <body>
        <Providers>
          <Main>
            <Header />
            {children}
            <Footer />
          </Main>
        </Providers>
      </body>
    </html>
  );
}