From b897ae834fe22b76cac42c69213202dd7c52152c Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Oct 2026 10:40:17 +0000 Subject: [PATCH] =?UTF-8?q?Eine=20Telefonnummer=20=C3=BCberall:=200176=202?= =?UTF-8?q?3726355?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Footer, Kontaktabschnitt der Startseite und Kontaktseite zeigten noch 0170 4969375, Impressum und Abo-Seiten schon 0176 23726355. Jetzt überall 0176 23726355 mit tel:+4917623726355. Co-Authored-By: Claude Sonnet 5.5 --- src/components/Contact.tsx | 4 ++-- src/components/Footer.tsx | 2 +- src/pages/Contact.tsx | 4 ++-- src/test/sofort-paket.test.tsx | 23 +++++++++++++++++++++++ 4 files changed, 28 insertions(+), 5 deletions(-) diff --git a/src/components/Contact.tsx b/src/components/Contact.tsx index 7d3d638..abb8f3a 100644 --- a/src/components/Contact.tsx +++ b/src/components/Contact.tsx @@ -54,9 +54,9 @@ const Contact = () => { support@webklar.com - + - 0170 4969375 + 0176 23726355 diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index ff05ebc..b011c5b 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -32,7 +32,7 @@ const footerLinks: { title: string; links: FooterLink[] }[] = [ title: "Kontakt", links: [ { id: 5, title: "support@webklar.com", href: "mailto:support@webklar.com" }, - { id: 6, title: "0170 4969375", href: "tel:+491704969375" }, + { id: 6, title: "0176 23726355", href: "tel:+4917623726355" }, ], }, { diff --git a/src/pages/Contact.tsx b/src/pages/Contact.tsx index f0512dc..8c0d9d3 100644 --- a/src/pages/Contact.tsx +++ b/src/pages/Contact.tsx @@ -196,10 +196,10 @@ const Contact = () => {
Telefon
- 0170 4969375 + 0176 23726355
diff --git a/src/test/sofort-paket.test.tsx b/src/test/sofort-paket.test.tsx index 6f0c5f3..08bf13a 100644 --- a/src/test/sofort-paket.test.tsx +++ b/src/test/sofort-paket.test.tsx @@ -136,3 +136,26 @@ describe("B2 Projekte-Bereich ausgeblendet", () => { } }); }); + +describe("B3 Eine Telefonnummer überall", () => { + it("die alte Nummer 0170 4969375 kommt in keiner Quelldatei mehr vor", () => { + expect(vorkommen(/0170\s?4969375|491704969375/)).toEqual([]); + }); + + it("Kontaktseite zeigt 0176 23726355 mit passendem tel:-Link", () => { + seite("/kontakt"); + const links = screen.getAllByRole("link", { name: TELEFON }); + expect(links.length).toBeGreaterThan(0); + for (const link of links) expect(link).toHaveAttribute("href", TELEFON_HREF); + }); + + it("der Footer zeigt dieselbe Nummer", () => { + zeige(