import { AuthPageShell } from "@/components/auth/auth-page-shell"; import { LocaleSelectForm } from "@/components/i18n/locale-select-form"; import { getPublicBranding } from "@/server/branding/runtime"; import { getSqliteConnection } from "@/server/db/client"; import { ContentTranslationService } from "@/server/i18n/content"; import { resolveRequestLocale } from "@/server/i18n/resolver"; import { createTranslator } from "@/server/i18n/translator"; import Link from "next/link"; import { Alert, AlertDescription } from "poyraz-ui/molecules"; export const dynamic = "force-dynamic"; export default async function ForgotPasswordPage() { const branding = getPublicBranding(); const locale = await resolveRequestLocale(); const t = createTranslator(locale.locale, ["auth"]).t; const localization = new ContentTranslationService(getSqliteConnection().db).getPublicLocalizationContext(); return ( {t("auth.forgot.helper")} } secondaryAction={null} footer={ {t("auth.forgot.back")} } /> ); }