Improve responsive layouts and streamline page loading
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 8m58s

This commit is contained in:
2026-10-21 11:15:07 +05:00
parent 690fe12c2c
commit 0330c4072f
16 changed files with 650 additions and 118 deletions

View File

@@ -0,0 +1,22 @@
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>
);
}