| 1 | import { AuthView } from 'better-auth-ui' |
| 2 | import { authViewPaths } |
| 3 | import type { Metadata |
| 4 | import Link from 'next/link |
| 5 | import { createMetadata } |
| 6 | |
| 7 | export const dynamicParams = |
| 8 | |
| 9 | export const metadata: |
| 10 | title: 'Sign in', |
| 11 | description: 'Sign in to your Saturn workspace.', |
| 12 | openGraph: { |
| 13 | images: ['/api/og?page=Sign%20in'], |
| 14 | }, |
| 15 | twitter: { |
| 16 | images: ['/api/og?page=Sign%20in'], |
| 17 | }, |
| 18 | }) |
| 19 | |
| 20 | export function generateStaticParams() |
| 21 | return Object.values |
| 22 | } |
| 23 | |
| 24 | export default async function |
| 25 | const { path |
| 26 | |
| 27 | return ( |
| 28 | <main className='container flex grow flex-col items-center justify-center self-center p-4 md:p-6 |
| 29 | <AuthView |
| 30 | cardFooter={ |
| 31 | <p className='text-center text-muted-foreground text-xs |
| 32 | By continuing, you agree to our{' '} |
| 33 | <Link |
| 34 | className='underline underline-offset-4 hover:text-foreground' |
| 35 | href='/terms' |
| 36 | > |
| 37 | Terms of Service |
| 38 | </Link>{' ' |
| 39 | and{' '} |
| 40 | <Link |
| 41 | className='underline underline-offset-4 hover:text-foreground' |
| 42 | href='/privacy' |
| 43 | > |
| 44 | Privacy Policy |
| 45 | </Link> |
| 46 | . |
| 47 | </p> |
| 48 | } |
| 49 | pathname={path} |
| 50 | /> |
| 51 | </main> |
| 52 | ) |
| 53 | } |