ai-hackaton-frontend/components/AppLayout.tsx
2026-01-15 14:23:41 +05:00

38 lines
1.0 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.

'use client'
import { ReactNode } from 'react'
import Link from 'next/link'
interface AppLayoutProps {
children: ReactNode
}
export default function AppLayout({ children }: AppLayoutProps) {
return (
<>
<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">
<Link href="/" className="text-xl font-bold text-primary-600">
HR AI
</Link>
</div>
<nav className="flex space-x-4">
<Link
href="/"
className="text-gray-600 hover:text-primary-600 px-3 py-2 rounded-md text-sm font-medium"
>
Вакансии
</Link>
</nav>
</div>
</div>
</header>
<main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
{children}
</main>
</>
)
}