R3.2: Kontakt-/Ueber-uns-Routen zurueckgebaut, Spoke-Footer bereinigt

- GET kontakt/ueber-uns -> 301 auf die Ausgaben-Startseite;
  kontakt.store-POST bleibt fuer das Hub-Kontakt-Modal
- Legacy-Aliases (contact/kontakt/ueber-uns) buendeln auf die Startseite
- Spoke-Footer: Kontakt als mailto (Betreiber-Fallback bis R2.1),
  Ueber-uns-Link raus, Selfservice-Kuendigungslink ergaenzt
- Sitemap-Konstanten bereinigt, Tests angepasst

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-07-03 15:36:13 +00:00
parent ca777f23de
commit 136ecc8f43
6 changed files with 55 additions and 25 deletions

View file

@ -9,9 +9,7 @@ dataset('static pages', [
'cookies' => ['de/cookies', 'Cookie-Richtlinien'],
'faq' => ['de/faq', 'Häufig gestellte Fragen'],
'hilfe' => ['de/hilfe', 'Hilfe-Center'],
'kontakt' => ['de/kontakt', 'Kontakt'],
'ueber-uns' => ['de/ueber-uns', 'Über uns'],
'api' => ['de/api', 'API & Integrationen'],
'api' => ['de/api', 'API-Dokumentation'],
]);
test('static pages render in the editorial design', function (string $path, string $heading) {
@ -32,9 +30,19 @@ test('the faq page lists questions and links to support', function () {
->assertSuccessful()
->assertSeeText('Wie veröffentliche ich meine erste Pressemitteilung?')
->assertSeeText('Frage nicht gefunden?')
->assertSee(route('kontakt'), false);
// Kontakt läuft nach dem Rückbau der Kontakt-Seite über das
// Support-Postfach und die Kündigung über die eigene Seite.
->assertSee('mailto:', false)
->assertSee(route('kuendigung', ['edition' => 'de']), false);
});
test('the retired contact and about pages redirect to the edition home', function (string $path) {
/** @var TestCase $this */
$this->get('https://businessportal24.test/de/'.$path)
->assertStatus(301)
->assertRedirect('https://businessportal24.test/de');
})->with(['kontakt', 'ueber-uns']);
test('the help center shows quick links and topics', function () {
/** @var TestCase $this */
$this->get('https://businessportal24.test/de/hilfe')