Spaces:
Sleeping
Sleeping
Download src/app/layout.tsx from viraj-421/InterviewAI: direct link, hf CLI and curl.
- Browser
- Download file 1.49 kB
-
https://huggingface.co/spaces/viraj-421/InterviewAI/resolve/main/src/app/layout.tsx
- Command line
-
hf download hf://spaces/viraj-421/InterviewAI/src/app/layout.tsx
-
curl -L -o layout.tsx https://huggingface.co/spaces/viraj-421/InterviewAI/resolve/main/src/app/layout.tsx
1.49 kB
| import type { Metadata } from "next"; | |
| import { Geist, Geist_Mono } from "next/font/google"; | |
| import "./globals.css"; | |
| import Navbar from "@/components/Navbar"; | |
| import { InterviewProvider } from "@/context/InterviewContext"; | |
| import { AuthProvider } from "@/context/AuthContext"; | |
| const geistSans = Geist({ | |
| variable: "--font-geist-sans", | |
| subsets: ["latin"], | |
| }); | |
| const geistMono = Geist_Mono({ | |
| variable: "--font-geist-mono", | |
| subsets: ["latin"], | |
| }); | |
| export const metadata: Metadata = { | |
| title: "InterviewAI — AI-Powered Mock Interview Platform", | |
| description: | |
| "Master your next interview with AI-powered mock interviews. Get real-time feedback, adaptive questions, and comprehensive performance analysis.", | |
| keywords: ["interview", "AI", "mock interview", "practice", "career"], | |
| }; | |
| export default function RootLayout({ | |
| children, | |
| }: Readonly<{ | |
| children: React.ReactNode; | |
| }>) { | |
| return ( | |
| <html | |
| lang="en" | |
| className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`} | |
| > | |
| <body className="min-h-full flex flex-col"> | |
| <AuthProvider> | |
| <InterviewProvider> | |
| {/* Animated background mesh */} | |
| <div className="bg-mesh" /> | |
| {/* Navigation */} | |
| <Navbar /> | |
| {/* Main content */} | |
| <main className="flex-1 pt-16"> | |
| {children} | |
| </main> | |
| </InterviewProvider> | |
| </AuthProvider> | |
| </body> | |
| </html> | |
| ); | |
| } | |