Files
MineGeo/components/PageLoading.tsx
pavel444-byte 0330c4072f
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 8m58s
Improve responsive layouts and streamline page loading
2026-10-21 11:15:07 +05:00

23 lines
614 B
TypeScript

import { getI18n } from "@/lib/i18n";
export async function PageLoading() {
const { t } = await getI18n();
return (
<main
className="section page-content route-loading"
aria-busy="true"
aria-label={t("Loading page")}
>
<p role="status" className="muted">
{t("Loading page")}…
</p>
<div className="loading-title loading-surface" aria-hidden="true" />
<div className="cards-grid" aria-hidden="true">
{[0, 1, 2].map((index) => (
<div className="loading-card loading-surface" key={index} />
))}
</div>
</main>
);
}