Skip to content

Commit 81283d3

Browse files
committed
feat(landing): localized nav/footer links to /network; sitemap entry via generator
1 parent 4462edc commit 81283d3

53 files changed

Lines changed: 80 additions & 26 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

clients/landing/build.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ function sitemapXml(active) {
132132
urls.push(` <url>\n <loc>${pageUrl(l.code, page.slug)}</loc>\n${links}\n </url>`);
133133
}
134134
}
135+
urls.push(` <url>\n <loc>${ORIGIN}/network</loc>\n </url>`);
135136
return `<?xml version="1.0" encoding="UTF-8"?>\n<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">\n${urls.join('\n')}\n</urlset>\n`;
136137
}
137138

@@ -219,6 +220,7 @@ function check(allowMissing) {
219220
}
220221
// 7. Sitemap: <loc> set == generated page URL set; drift vs disk.
221222
const expectedLocs = new Set(PAGES.flatMap((p) => active.map((l) => pageUrl(l.code, p.slug))));
223+
expectedLocs.add(`${ORIGIN}/network`);
222224
const sm = sitemapXml(active);
223225
const locs = new Set([...sm.matchAll(/<loc>([^<]+)<\/loc>/g)].map((m) => m[1]));
224226
if (locs.size !== expectedLocs.size || [...locs].some((u) => !expectedLocs.has(u))) errors.push('sitemap: loc set mismatch');

clients/landing/public/ar/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
</a>
399399
<nav>
400400
<a href="#how">كيف يعمل</a><a href="#pricing">الأسعار</a>
401-
<a href="#apps">احصل على التطبيق</a><a href="#trust">الخصوصية</a>
401+
<a href="#apps">احصل على التطبيق</a><a href="#trust">الخصوصية</a><a href="/network">الشبكة</a>
402402
</nav>
403403
<div class="right">
404404
<a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — يفتح runonflux.com">
@@ -643,6 +643,7 @@ <h4>الموارد</h4>
643643
</div>
644644
<div class="col">
645645
<h4>الشبكة</h4>
646+
<a href="/network">حالة الشبكة المباشرة</a>
646647
<a href="https://runonflux.com">Powered by Flux</a>
647648
<a href="https://cloud.runonflux.com">لوحة Flux</a>
648649
</div>

clients/landing/public/da/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
</a>
399399
<nav>
400400
<a href="#how">Sådan fungerer det</a><a href="#pricing">Priser</a>
401-
<a href="#apps">Hent appen</a><a href="#trust">Privatliv</a>
401+
<a href="#apps">Hent appen</a><a href="#trust">Privatliv</a><a href="/network">Netværk</a>
402402
</nav>
403403
<div class="right">
404404
<a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — åbner runonflux.com">
@@ -659,6 +659,7 @@ <h4>Ressourcer</h4>
659659
</div>
660660
<div class="col">
661661
<h4>Netværk</h4>
662+
<a href="/network">Netværksstatus i realtid</a>
662663
<a href="https://runonflux.com">Powered by Flux</a>
663664
<a href="https://cloud.runonflux.com">Flux-dashboard</a>
664665
</div>

clients/landing/public/de/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
</a>
399399
<nav>
400400
<a href="#how">So funktioniert's</a><a href="#pricing">Preise</a>
401-
<a href="#apps">App holen</a><a href="#trust">Datenschutz</a>
401+
<a href="#apps">App holen</a><a href="#trust">Datenschutz</a><a href="/network">Netzwerk</a>
402402
</nav>
403403
<div class="right">
404404
<a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — öffnet runonflux.com">
@@ -659,6 +659,7 @@ <h4>Ressourcen</h4>
659659
</div>
660660
<div class="col">
661661
<h4>Netzwerk</h4>
662+
<a href="/network">Live-Netzwerkstatus</a>
662663
<a href="https://runonflux.com">Powered by Flux</a>
663664
<a href="https://cloud.runonflux.com">Flux-Dashboard</a>
664665
</div>

clients/landing/public/el/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
</a>
399399
<nav>
400400
<a href="#how">Πώς λειτουργεί</a><a href="#pricing">Τιμές</a>
401-
<a href="#apps">Απόκτησε την εφαρμογή</a><a href="#trust">Απόρρητο</a>
401+
<a href="#apps">Απόκτησε την εφαρμογή</a><a href="#trust">Απόρρητο</a><a href="/network">Δίκτυο</a>
402402
</nav>
403403
<div class="right">
404404
<a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — ανοίγει το runonflux.com">
@@ -662,6 +662,7 @@ <h4>Πόροι</h4>
662662
</div>
663663
<div class="col">
664664
<h4>Δίκτυο</h4>
665+
<a href="/network">Κατάσταση δικτύου σε πραγματικό χρόνο</a>
665666
<a href="https://runonflux.com">Powered by Flux</a>
666667
<a href="https://cloud.runonflux.com">Πίνακας ελέγχου Flux</a>
667668
</div>

clients/landing/public/es/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
</a>
399399
<nav>
400400
<a href="#how">Cómo funciona</a><a href="#pricing">Precios</a>
401-
<a href="#apps">Obtén la app</a><a href="#trust">Privacidad</a>
401+
<a href="#apps">Obtén la app</a><a href="#trust">Privacidad</a><a href="/network">Red</a>
402402
</nav>
403403
<div class="right">
404404
<a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — abre runonflux.com">
@@ -662,6 +662,7 @@ <h4>Aprender</h4>
662662
</div>
663663
<div class="col">
664664
<h4>Red</h4>
665+
<a href="/network">Estado de la red en vivo</a>
665666
<a href="https://runonflux.com">Powered by Flux</a>
666667
<a href="https://cloud.runonflux.com">Panel de Flux</a>
667668
</div>

clients/landing/public/fa/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
</a>
399399
<nav>
400400
<a href="#how">روش کار</a><a href="#pricing">قیمت‌گذاری</a>
401-
<a href="#apps">دریافت برنامه</a><a href="#trust">حریم خصوصی</a>
401+
<a href="#apps">دریافت برنامه</a><a href="#trust">حریم خصوصی</a><a href="/network">شبکه</a>
402402
</nav>
403403
<div class="right">
404404
<a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — runonflux.com را باز می‌کند">
@@ -643,6 +643,7 @@ <h4>منابع</h4>
643643
</div>
644644
<div class="col">
645645
<h4>شبکه</h4>
646+
<a href="/network">وضعیت زنده شبکه</a>
646647
<a href="https://runonflux.com">Powered by Flux</a>
647648
<a href="https://cloud.runonflux.com">داشبورد Flux</a>
648649
</div>

clients/landing/public/fi/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
</a>
399399
<nav>
400400
<a href="#how">Näin se toimii</a><a href="#pricing">Hinnoittelu</a>
401-
<a href="#apps">Hanki sovellus</a><a href="#trust">Tietosuoja</a>
401+
<a href="#apps">Hanki sovellus</a><a href="#trust">Tietosuoja</a><a href="/network">Verkko</a>
402402
</nav>
403403
<div class="right">
404404
<a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — avaa runonflux.com-sivuston">
@@ -643,6 +643,7 @@ <h4>Tietoa</h4>
643643
</div>
644644
<div class="col">
645645
<h4>Verkko</h4>
646+
<a href="/network">Verkon reaaliaikainen tila</a>
646647
<a href="https://runonflux.com">Powered by Flux</a>
647648
<a href="https://cloud.runonflux.com">Flux-kojelauta</a>
648649
</div>

clients/landing/public/fr/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
</a>
399399
<nav>
400400
<a href="#how">Fonctionnement</a><a href="#pricing">Tarifs</a>
401-
<a href="#apps">Télécharger l'app</a><a href="#trust">Confidentialité</a>
401+
<a href="#apps">Télécharger l'app</a><a href="#trust">Confidentialité</a><a href="/network">Réseau</a>
402402
</nav>
403403
<div class="right">
404404
<a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — ouvre runonflux.com">
@@ -662,6 +662,7 @@ <h4>Ressources</h4>
662662
</div>
663663
<div class="col">
664664
<h4>Réseau</h4>
665+
<a href="/network">État du réseau en direct</a>
665666
<a href="https://runonflux.com">Powered by Flux</a>
666667
<a href="https://cloud.runonflux.com">Tableau de bord Flux</a>
667668
</div>

clients/landing/public/hi/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
</a>
399399
<nav>
400400
<a href="#how">यह कैसे काम करता है</a><a href="#pricing">कीमत</a>
401-
<a href="#apps">ऐप पाएँ</a><a href="#trust">प्राइवेसी</a>
401+
<a href="#apps">ऐप पाएँ</a><a href="#trust">प्राइवेसी</a><a href="/network">नेटवर्क</a>
402402
</nav>
403403
<div class="right">
404404
<a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — runonflux.com खोलता है">
@@ -643,6 +643,7 @@ <h4>जानकारी</h4>
643643
</div>
644644
<div class="col">
645645
<h4>नेटवर्क</h4>
646+
<a href="/network">लाइव नेटवर्क स्थिति</a>
646647
<a href="https://runonflux.com">Powered by Flux</a>
647648
<a href="https://cloud.runonflux.com">Flux डैशबोर्ड</a>
648649
</div>

0 commit comments

Comments
 (0)