fix: eliminate map tile-seam lines, fix scroll, remove Expert Analysis
All checks were successful
Deploy Internet for Kids / Build & Push (push) Successful in 14s
Deploy Internet for Kids / Deploy (push) Successful in 7s
Deploy Internet for Kids / Health Check (push) Successful in 2s
Deploy Internet for Kids / Smoke Tests (push) Successful in 3s
Deploy Internet for Kids / IndexNow Ping (push) Successful in 8s
Deploy Internet for Kids / Promote to Latest (push) Successful in 1s
Deploy Internet for Kids / Rollback (push) Has been skipped
Deploy Internet for Kids / Audit (push) Successful in 2s

- fill-antialias: false + buffer: 512 on GeoJSON source to kill tile
  boundary artifacts
- cooperativeGestures replaces scrollZoom: false (page scrolls normally,
  Ctrl+scroll to zoom map)
- Remove "Expert Analysis" bullet from homepage in all 3 languages

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-04-04 08:04:13 +03:00
parent 955e4bef6f
commit 63495fd901
4 changed files with 9 additions and 15 deletions

View File

@@ -10,7 +10,6 @@ Der Schutz von Kindern im Internet ist eine der wichtigsten Herausforderungen un
- **Kinderschutzgesetze** — Länderweise Analyse der Vorschriften zum Schutz junger Nutzer im Internet - **Kinderschutzgesetze** — Länderweise Analyse der Vorschriften zum Schutz junger Nutzer im Internet
- **Online-Sicherheitstools** — Bewertungen und Anleitungen für Kindersicherungen, VPNs und Inhaltsfilter - **Online-Sicherheitstools** — Bewertungen und Anleitungen für Kindersicherungen, VPNs und Inhaltsfilter
- **Digitale Erziehung** — Praktische Ratschläge für die Kindererziehung in einer vernetzten Welt - **Digitale Erziehung** — Praktische Ratschläge für die Kindererziehung in einer vernetzten Welt
- **Expertenanalysen** — Ausführliche Berichte über neue Bedrohungen und Lösungen
{{< child-safety-map >}} {{< child-safety-map >}}

View File

@@ -10,7 +10,6 @@ Protecting children online is one of the most important challenges of our time.
- **Child Protection Laws** — Country-by-country analysis of regulations that protect young users online - **Child Protection Laws** — Country-by-country analysis of regulations that protect young users online
- **Online Safety Tools** — Reviews and guides for parental controls, VPNs, and content filters - **Online Safety Tools** — Reviews and guides for parental controls, VPNs, and content filters
- **Digital Parenting** — Practical advice for raising children in a connected world - **Digital Parenting** — Practical advice for raising children in a connected world
- **Expert Analysis** — In-depth reporting on emerging threats and solutions
{{< child-safety-map >}} {{< child-safety-map >}}

View File

@@ -10,7 +10,6 @@ Protéger les enfants en ligne est l'un des défis les plus importants de notre
- **Lois de protection de l'enfance** — Analyse pays par pays des réglementations qui protègent les jeunes utilisateurs en ligne - **Lois de protection de l'enfance** — Analyse pays par pays des réglementations qui protègent les jeunes utilisateurs en ligne
- **Outils de sécurité en ligne** — Tests et guides pour le contrôle parental, les VPN et les filtres de contenu - **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é - **Parentalité numérique** — Conseils pratiques pour élever des enfants dans un monde connecté
- **Analyses d'experts** — Reportages approfondis sur les menaces émergentes et les solutions
{{< child-safety-map >}} {{< child-safety-map >}}

View File

@@ -80,22 +80,13 @@ function ifkInitMap() {
zoom: 2, zoom: 2,
minZoom: 1, minZoom: 1,
maxZoom: 6, maxZoom: 6,
scrollZoom: false, cooperativeGestures: true,
attributionControl: false attributionControl: false
}); });
window._ifkMap.addControl(new maplibregl.NavigationControl({ showCompass: false }), 'top-right'); window._ifkMap.addControl(new maplibregl.NavigationControl({ showCompass: false }), 'top-right');
window._ifkMap.addControl(new maplibregl.FullscreenControl(), 'top-right'); window._ifkMap.addControl(new maplibregl.FullscreenControl(), 'top-right');
// Enable scroll zoom in fullscreen
document.addEventListener('fullscreenchange', function() {
if (document.fullscreenElement) {
window._ifkMap.scrollZoom.enable();
} else {
window._ifkMap.scrollZoom.disable();
}
});
window._ifkMap.on('load', function() { window._ifkMap.on('load', function() {
fetch('{{ "data/countries-50m.json" | relURL }}') fetch('{{ "data/countries-50m.json" | relURL }}')
.then(function(r) { return r.json(); }) .then(function(r) { return r.json(); })
@@ -109,7 +100,12 @@ function ifkInitMap() {
f.properties.isoNum = id; f.properties.isoNum = id;
}); });
window._ifkMap.addSource('countries-choropleth', { type: 'geojson', data: geo }); window._ifkMap.addSource('countries-choropleth', {
type: 'geojson',
data: geo,
buffer: 512,
tolerance: 0
});
window._ifkMap.addLayer({ window._ifkMap.addLayer({
id: 'choropleth-fill', id: 'choropleth-fill',
@@ -117,7 +113,8 @@ function ifkInitMap() {
source: 'countries-choropleth', source: 'countries-choropleth',
paint: { paint: {
'fill-color': ['get', 'fillColor'], 'fill-color': ['get', 'fillColor'],
'fill-opacity': 1 'fill-opacity': 1,
'fill-antialias': false
} }
}); });