feat(#3): frontend scaffold (Next.js 14 App Router, TS, Tailwind, галерея)
Deploy / deploy (push) Failing after 5s
Deploy / deploy (push) Failing after 5s
Каркас витрины дизайнера Ники: главная (hero + сетка галереи), страница работы (детали + место под аукцион), список аукционов, подписка-заглушка. Клиент к backend /api с graceful-фолбэком на демо-работы при недоступном API. Standalone-сборка + Dockerfile. Сборка npm run build и tsc --noEmit проходят. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
be29d02cc0
commit
ad35d4e992
@@ -0,0 +1,42 @@
|
||||
import Link from 'next/link';
|
||||
|
||||
const links = [
|
||||
{ href: '/', label: 'Галерея' },
|
||||
{ href: '/auctions', label: 'Аукционы' },
|
||||
];
|
||||
|
||||
export default function Nav() {
|
||||
return (
|
||||
<header className="sticky top-0 z-40 border-b border-line/70 bg-paper/80 backdrop-blur-md dark:border-white/10 dark:bg-ink/70">
|
||||
<nav className="mx-auto flex h-16 max-w-content items-center justify-between px-6 md:px-10">
|
||||
<Link
|
||||
href="/"
|
||||
className="font-serif text-2xl font-medium tracking-tightest text-ink dark:text-paper"
|
||||
>
|
||||
Ника
|
||||
</Link>
|
||||
|
||||
<ul className="flex items-center gap-8 text-sm text-muted">
|
||||
{links.map((l) => (
|
||||
<li key={l.href}>
|
||||
<Link
|
||||
href={l.href}
|
||||
className="transition-colors hover:text-ink dark:hover:text-paper"
|
||||
>
|
||||
{l.label}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
<li>
|
||||
<Link
|
||||
href="/subscribe"
|
||||
className="rounded-full border border-ink/20 px-4 py-1.5 text-ink transition-colors hover:border-ink hover:bg-ink hover:text-paper dark:border-white/25 dark:text-paper dark:hover:bg-paper dark:hover:text-ink"
|
||||
>
|
||||
Подписаться
|
||||
</Link>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user