import Link from "next/link"

export default function AuthLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <div className="flex min-h-screen flex-col">
      <header className="flex items-center justify-between border-b border-border px-6 py-3">
        <Link href="/" className="text-text-primary">
          asa.news
        </Link>
        <Link
          href="/"
          className="text-text-secondary transition-colors hover:text-text-primary"
        >
          home
        </Link>
      </header>
      <div className="flex flex-1 items-center justify-center px-4">
        <div className="w-full max-w-sm space-y-6">{children}</div>
      </div>
    </div>
  )
}
