ai-hackaton-frontend/app/layout.tsx
2025-08-31 00:27:33 +05:00

43 lines
1.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { Metadata } from 'next'
import './globals.css'
import QueryProvider from '@/components/QueryProvider'
export const metadata: Metadata = {
title: 'HR AI - Поиск работы',
description: 'Платформа для поиска вакансий с искусственным интеллектом',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="ru">
<head>
<meta charSet="utf-8" />
</head>
<body className="min-h-screen bg-gray-50">
<QueryProvider>
<header className="bg-white shadow-sm border-b">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex justify-between items-center h-16">
<div className="flex items-center">
<h1 className="text-xl font-bold text-primary-600">HR AI</h1>
</div>
<nav className="flex space-x-4">
<a href="/" className="text-gray-600 hover:text-primary-600 px-3 py-2 rounded-md text-sm font-medium">
Вакансии
</a>
</nav>
</div>
</div>
</header>
<main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
{children}
</main>
</QueryProvider>
</body>
</html>
)
}