import { redirect } from "next/navigation"; import { currentUser, safeNext } from "@/lib/auth"; import { Brand } from "@/components/Brand"; import { Flash } from "@/components/common"; import { Footer } from "@/components/Footer"; import { Button } from "@/components/ui/button"; export const dynamic = "force-dynamic"; export default async function Login({ searchParams }: { searchParams: Promise<{ error?: string; next?: string }> }) { const { error, next } = await searchParams; if (await currentUser()) redirect(safeNext(next)); return (

Софтвейр-фабрика: проекты в Gitea, задачи по OpenSpec, агенты Claude Code и Codex.

); }