import type { Metadata } from "next";
import Link from "next/link";
import { Activity } from "lucide-react";

export const metadata: Metadata = {
  title: "Diabetix",
};

export default function AuthLayout({ children }: { children: React.ReactNode }) {
  return (
    <div className="flex min-h-screen flex-col items-center justify-center bg-gradient-to-br from-teal-50 via-white to-slate-50 px-4 py-12">
      <Link href="/" className="mb-8 flex items-center gap-2 text-teal-700">
        <Activity className="h-6 w-6" />
        <span className="text-xl font-bold tracking-tight">Diabetix</span>
      </Link>
      {children}
    </div>
  );
}
