Improve accessibility and polish page styling
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 11m31s

This commit is contained in:
2026-10-24 14:11:17 +05:00
parent 060e8f27ef
commit 927923dc95
34 changed files with 99 additions and 48 deletions

View File

@@ -14,8 +14,8 @@ export default async function Downloads() {
return (
<>
<Header />
<main className="section page-content">
<article className="tool-card" style={{ marginBottom: 40 }}>
<main className="section page-content" id="main-content" tabIndex={-1}>
<article className="tool-card desktop-download-card">
<span className="eyebrow">{t("MINEGEO DESKTOP")}</span>
<h2>{t("Your next expedition, on your desktop.")}</h2>
<p className="muted">
@@ -26,7 +26,7 @@ export default async function Downloads() {
<a className="button primary" href={desktopRelease.file} download>
<Download size={16} /> {t("Download for Windows")}
</a>
<p className="muted" style={{ marginTop: 16 }}>
<p className="muted desktop-download-version">
{t(
"Windows 10/11 · 64-bit · Version {version} · Internet required",
{ version: desktopRelease.version },
@@ -87,10 +87,9 @@ export default async function Downloads() {
) ? (
<a
key={version}
className="button primary"
className="button primary download-build-link"
href={`/tools/mod/minegeo-fabric-${version}-${release}.jar`}
download
style={{ marginRight: 8, marginBottom: 8 }}
>
<Download size={16} /> {t("Download Fabric mod")} · {version}
</a>
@@ -100,7 +99,7 @@ export default async function Downloads() {
</p>
),
)}
<p className="muted" style={{ fontSize: 11, marginTop: 20 }}>
<p className="muted tool-card-note tool-card-note-spaced">
{t(
"Install the JAR in your Minecraft mods folder alongside Fabric API.",
)}
@@ -156,7 +155,7 @@ export default async function Downloads() {
". The manifest appears when export finishes. Upload sends the latest completed export; it does not capture the world.",
)}
</p>
<p className="muted" style={{ fontSize: 11 }}>
<p className="muted tool-card-note">
{t(
"Put the JAR in plugins/ and restart. Set server-name and server-address in plugins/MineGeo/config.yml, then run /minegeo reload. Permission: minegeo.admin. The same plugin JAR supports all three versions.",
)}