hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { useT } from "@/stores/preferences-context"; |
| 2 | |
| 3 | export 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 | } |