From 072d578c881aeb213586a9ba8f8805cdc77fa1cb Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Mon, 18 May 2026 14:37:04 +0200 Subject: [PATCH] feat: Update home page notices and privacy information in English, Spanish, and French; add public guides and routing for guides - Changed beta notice to service notice on home page translations for English, Spanish, and French. - Updated privacy information to reflect transparency and continuous maintenance. - Added new public guides content with detailed sections for various topics. - Implemented routing for guide list and individual guide articles. - Created new components for displaying guides and articles. --- docs/ADSENSE_READINESS.md | 7 +- frontend/index.html | 10 +- frontend/public/sitemap.xml | 60 ++++ frontend/src/components/AppHeader.vue | 69 ++-- frontend/src/content/publicGuides.js | 336 ++++++++++++++++++ frontend/src/i18n/locales/ceb/home.json | 12 +- frontend/src/i18n/locales/de/home.json | 12 +- frontend/src/i18n/locales/en/home.json | 14 +- frontend/src/i18n/locales/es/home.json | 12 +- frontend/src/i18n/locales/fr/home.json | 12 +- frontend/src/router/marketingRoutes.js | 25 ++ frontend/src/views/home/NoLoginView.vue | 19 +- .../src/views/public/GuideArticleView.vue | 219 ++++++++++++ frontend/src/views/public/GuideListView.vue | 107 ++++++ 14 files changed, 833 insertions(+), 81 deletions(-) create mode 100644 frontend/src/content/publicGuides.js create mode 100644 frontend/src/views/public/GuideArticleView.vue create mode 100644 frontend/src/views/public/GuideListView.vue diff --git a/docs/ADSENSE_READINESS.md b/docs/ADSENSE_READINESS.md index 7fd907a..867efc9 100644 --- a/docs/ADSENSE_READINESS.md +++ b/docs/ADSENSE_READINESS.md @@ -28,7 +28,7 @@ Diese Checkliste hilft, YourPart vor und nach der AdSense-Anmeldung policy-siche ## 4) Technische Anforderungen -- [x] AdSense Script einmalig im `head` eingebunden (`frontend/public/index.html`). +- [x] AdSense Script wird nur auf freigegebenen Content-Routen dynamisch in den `head` geladen. - [ ] `ads.txt` unter `https://www.your-part.de/ads.txt` erreichbar. - [x] AdSlot-ID ist gesetzt (`VITE_ADSENSE_HEADER_SLOT`). - [x] In Produktion wird nur mit echter Slot-ID ausgeliefert. @@ -69,16 +69,17 @@ Diese Checkliste hilft, YourPart vor und nach der AdSense-Anmeldung policy-siche ## Projekt-Hinweise fuer aktuellen Stand - Header-Slot ist bereits eingebaut in `frontend/src/components/AppHeader.vue`. -- Script ist in `frontend/public/index.html` eingebunden. +- Script wird in `frontend/src/components/AppHeader.vue` nur auf freigegebenen Content-Routen geladen. - `ads.txt` liegt unter `frontend/public/ads.txt`. - Der Header-Slot wird aktuell nur auf inhaltlich staerkeren Routen angezeigt und benoetigt `VITE_ADSENSE_HEADER_SLOT`. +- Oeffentliche Ratgeberseiten liegen unter `/ratgeber/...` und sind in `frontend/public/sitemap.xml` eingetragen. ## Ergebnis dieser Pruefung (heute) ### Erfuellt - Footer verlinkt `Impressum`, `Datenschutz`, `Kontakt` global (`frontend/src/components/AppFooter.vue`). -- AdSense Script ist im Head eingebunden (`frontend/public/index.html`). +- AdSense Script wird kontrolliert im Head eingebunden (`frontend/src/components/AppHeader.vue`). - `ads.txt` ist im Repo vorhanden (`frontend/public/ads.txt`). - Header-Ad ist zwischen Logo und Sprachwahl und route-gebunden eingebaut (`frontend/src/components/AppHeader.vue`). - Slot-Init ist gegen mehrfaches Push abgesichert (`adInitialized`-Guard). diff --git a/frontend/index.html b/frontend/index.html index 7428540..93a5525 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,7 +5,7 @@ YourPart – Community, Chat, Forum, Vokabeltrainer, Falukant & Minispiele - + @@ -14,14 +14,14 @@ - + - + @@ -32,10 +32,6 @@ - - - diff --git a/frontend/public/sitemap.xml b/frontend/public/sitemap.xml index 7c0dcea..4ba415d 100644 --- a/frontend/public/sitemap.xml +++ b/frontend/public/sitemap.xml @@ -10,6 +10,11 @@ daily 0.9 + + https://www.your-part.de/ratgeber + weekly + 0.9 + https://www.your-part.de/vokabeltrainer weekly @@ -35,4 +40,59 @@ weekly 0.7 + + https://www.your-part.de/ratgeber/falukant-wirtschaft + monthly + 0.8 + + + https://www.your-part.de/ratgeber/falukant-politik-und-gesellschaft + monthly + 0.8 + + + https://www.your-part.de/ratgeber/vokabeltrainer-alltag + monthly + 0.8 + + + https://www.your-part.de/ratgeber/bisaya-grundlagen + monthly + 0.8 + + + https://www.your-part.de/ratgeber/deutsch-fuer-bisaya-a1 + monthly + 0.8 + + + https://www.your-part.de/ratgeber/browsergames-ohne-download + monthly + 0.7 + + + https://www.your-part.de/ratgeber/online-community-sicherheit + monthly + 0.7 + + + https://www.your-part.de/ratgeber/community-blogs + monthly + 0.7 + + + https://www.your-part.de/ratgeber/falukant-familie-charakter + monthly + 0.7 + + + https://www.your-part.de/ratgeber/vokabeln-mit-community + monthly + 0.7 + + + https://www.your-part.de/ratgeber/yourpart-oeffentliche-inhalte + monthly + 0.7 + diff --git a/frontend/src/components/AppHeader.vue b/frontend/src/components/AppHeader.vue index 6b61227..d784305 100644 --- a/frontend/src/components/AppHeader.vue +++ b/frontend/src/components/AppHeader.vue @@ -28,7 +28,6 @@
- {{ $t('appShell.header.beta') }}