Improve MineGeo interface and functionality
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
export default function LoadingLeaderboard() {
|
||||
import { getI18n } from "@/lib/i18n";
|
||||
export default async function LoadingLeaderboard() {
|
||||
const { t } = await getI18n();
|
||||
return (
|
||||
<main
|
||||
className="section page-content leaderboard-page"
|
||||
aria-busy="true"
|
||||
aria-label="Loading leaderboard"
|
||||
aria-label={t("Loading leaderboard")}
|
||||
>
|
||||
<span className="eyebrow">THE EXPLORERS’ BOARD</span>
|
||||
<h1>Every block counts.</h1>
|
||||
<span className="eyebrow">{t("THE EXPLORERS’ BOARD")}</span>
|
||||
<h1>{t("Every block counts.")}</h1>
|
||||
<p className="lead" role="status">
|
||||
Fetching the explorers’ scores…
|
||||
{t("Fetching the explorers’ scores…")}
|
||||
</p>
|
||||
<div className="leaderboard-skeleton" aria-hidden="true">
|
||||
{Array.from({ length: 6 }, (_, index) => (
|
||||
|
||||
Reference in New Issue
Block a user