import type { Metadata } from "next";
import { Plus_Jakarta_Sans } from "next/font/google";
import { Toaster } from "sonner";
import { JustineAuthShell } from "@/marketing/components/justine/JustineAuthShell";
import "../styles/justine/02-signup.css";

const justineJakarta = Plus_Jakarta_Sans({
  subsets: ["latin"],
  weight: ["400", "500", "600", "700", "800"],
  variable: "--font-justine-jakarta",
  display: "swap",
});

export const metadata: Metadata = {
  title: "Sign in · vibn",
  description: "Sign in to your vibn workspace with Google.",
};

export default function AuthLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <div
      data-justine-auth
      className={`${justineJakarta.variable} justine-auth-root flex min-h-screen flex-col`}
    >
      <JustineAuthShell>{children}</JustineAuthShell>
      <Toaster position="top-center" />
    </div>
  );
}
