| 1 | import { CONTACT, POLICIES_DRAFT } from "../lib/legal"; |
| 2 | import { Alert, AlertDescription, AlertTitle } from "./ui/alert"; |
| 3 | |
| 4 | /** The note at the top of the policies while they are drafts (`POLICIES_DRAFT`). */ |
| 5 | export function PoliciesDraft() { |
| 6 | if (!POLICIES_DRAFT) return null; |
| 7 | return ( |
| 8 | <Alert tone="warn" className="mb-8 max-w-3xl"> |
| 9 | <AlertTitle>Draft</AlertTitle> |
| 10 | <AlertDescription> |
| 11 | These policies are still being written and may change before g1t's general launch. Questions:{" "} |
| 12 | <a className="text-accent hover:underline" href={`mailto:${CONTACT.legal}`}> |
| 13 | {CONTACT.legal} |
| 14 | </a> |
| 15 | . |
| 16 | </AlertDescription> |
| 17 | </Alert> |
| 18 | ); |
| 19 | } |