forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits

page-spinner.tsx11 lines, 423 bytesHistoryRawDownload
1import { useT } from "@/stores/preferences-context";
2
3export function PageSpinner() {
4 const t = useT();
5 return (
6 <div class="flex min-h-[min(60vh,28rem)] w-full flex-col items-center justify-center gap-3 py-10" role="status">
7 <div class="h-9 w-9 animate-spin rounded-sm border-2 border-primary/20 border-t-primary" />
8 <p class="text-sm text-muted-foreground">{t("common.loading")}</p>
9 </div>
10 );
11}