From a0b862acf4fa813390a02eb535f751712072cc8e Mon Sep 17 00:00:00 2001 From: Christian Gick Date: Sat, 4 Apr 2026 08:37:10 +0300 Subject: [PATCH] fix: switch map from MapLibre GL to Leaflet SVG, eliminates tile seams MapLibre GL WebGL renderer tiles all sources internally, causing visible seam lines on retina displays. Leaflet renders GeoJSON as SVG paths in a single layer - zero tiling, zero seams. Also replaces child-safety-map with world-map on all homepages. Co-Authored-By: Claude Opus 4.6 (1M context) --- content/de/_index.md | 2 +- content/en/_index.md | 2 +- content/fr/_index.md | 2 +- layouts/shortcodes/world-map.html | 227 ++++++++++++++---------------- 4 files changed, 106 insertions(+), 127 deletions(-) diff --git a/content/de/_index.md b/content/de/_index.md index 0b03dd1..579f40d 100644 --- a/content/de/_index.md +++ b/content/de/_index.md @@ -11,6 +11,6 @@ Der Schutz von Kindern im Internet ist eine der wichtigsten Herausforderungen un - **Online-Sicherheitstools** — Bewertungen und Anleitungen für Kindersicherungen, VPNs und Inhaltsfilter - **Digitale Erziehung** — Praktische Ratschläge für die Kindererziehung in einer vernetzten Welt -{{< child-safety-map >}} +{{< world-map >}} *Herausgegeben von [Agiliton](https://www.agiliton.eu), einem europäischen Technologieunternehmen für Datenschutz, Sicherheit und Familienschutz.* diff --git a/content/en/_index.md b/content/en/_index.md index bb22a89..0de4dc7 100644 --- a/content/en/_index.md +++ b/content/en/_index.md @@ -11,6 +11,6 @@ Protecting children online is one of the most important challenges of our time. - **Online Safety Tools** — Reviews and guides for parental controls, VPNs, and content filters - **Digital Parenting** — Practical advice for raising children in a connected world -{{< child-safety-map >}} +{{< world-map >}} *Published by [Agiliton](https://www.agiliton.eu), a European technology company focused on privacy, security, and family protection.* diff --git a/content/fr/_index.md b/content/fr/_index.md index 011c383..114f55b 100644 --- a/content/fr/_index.md +++ b/content/fr/_index.md @@ -11,6 +11,6 @@ Protéger les enfants en ligne est l'un des défis les plus importants de notre - **Outils de sécurité en ligne** — Tests et guides pour le contrôle parental, les VPN et les filtres de contenu - **Parentalité numérique** — Conseils pratiques pour élever des enfants dans un monde connecté -{{< child-safety-map >}} +{{< world-map >}} *Publié par [Agiliton](https://www.agiliton.eu), une entreprise technologique européenne spécialisée dans la confidentialité, la sécurité et la protection des familles.* diff --git a/layouts/shortcodes/world-map.html b/layouts/shortcodes/world-map.html index 004199a..27472a5 100644 --- a/layouts/shortcodes/world-map.html +++ b/layouts/shortcodes/world-map.html @@ -1,20 +1,18 @@ {{ $lang := .Page.Language.Lang }} {{ $countries := hugo.Data.countries }} - +