hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { IconSparkles } from "@/components/ui/icons"; |
| 2 | |
| 3 | /** |
| 4 | * The landing screen, which is really just the brand mark above the composer. |
| 5 | * The old version was a bordered illustration block that pushed the composer to |
| 6 | * the bottom edge; here the mark introduces the composer and nothing else |
| 7 | * competes with it — the page's whole job is "start typing". |
| 8 | */ |
| 9 | export function RagStudyWelcome(props: { title: string; hint: string }) { |
| 10 | return ( |
| 11 | <div class="flex flex-col items-center gap-3 pb-6 text-center"> |
| 12 | <span class="flex h-11 w-11 items-center justify-center rounded-2xl bg-primary/10 text-primary-text"> |
| 13 | <IconSparkles class="h-5 w-5" /> |
| 14 | </span> |
| 15 | <h2 class="text-2xl font-semibold tracking-tight text-text-strong">{props.title}</h2> |
| 16 | <p class="max-w-md text-sm leading-6 text-muted-foreground">{props.hint}</p> |
| 17 | </div> |
| 18 | ); |
| 19 | } |