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

@@ -54,7 +54,7 @@ export function CatalogBrowser({
))}
</div>
</div>
<p className="muted">
<p className="muted catalog-count" role="status">
{t("Worlds to explore: {count}", { count: shown.length })}
</p>
<div className="cards-grid">
@@ -63,7 +63,20 @@ export function CatalogBrowser({
))}
</div>
{!shown.length && (
<p className="empty-state">{t("No worlds match that search.")}</p>
<div className="empty-state catalog-empty">
<Search size={28} aria-hidden="true" />
<p>{t("No worlds match that search.")}</p>
<button
type="button"
className="button secondary"
onClick={() => {
setQuery("");
setSource("all");
}}
>
{t("Clear filters")}
</button>
</div>
)}
</>
);