Eine Telefonnummer überall: 0176 23726355

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 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Sonnet 5.5 committed 2026-10-01 10:40:17 +00:00
1 parent c246b9811f
commit b897ae834f
4 files changed
+28 -5

No files matched your search

+2 -2
View File
@@ -54,9 +54,9 @@ const Contact = () => {
<Mail className="w-5 h-5" /> <Mail className="w-5 h-5" />
<span>support@webklar.com</span> <span>support@webklar.com</span>
</a> </a>
<a href="tel:+491704969375" className="flex items-center gap-3 hover:text-foreground transition-colors group"> <a href="tel:+4917623726355" className="flex items-center gap-3 hover:text-foreground transition-colors group">
<Phone className="w-5 h-5" /> <Phone className="w-5 h-5" />
<span>0170 4969375</span> <span>0176 23726355</span>
</a> </a>
</div> </div>
</div> </div>
+1 -1
View File
@@ -32,7 +32,7 @@ const footerLinks: { title: string; links: FooterLink[] }[] = [
title: "Kontakt", title: "Kontakt",
links: [ links: [
{ id: 5, title: "support@webklar.com", href: "mailto:support@webklar.com" }, { 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" },
], ],
}, },
{ {
+2 -2
View File
@@ -196,10 +196,10 @@ const Contact = () => {
<div> <div>
<div className="label-tag mb-2">Telefon</div> <div className="label-tag mb-2">Telefon</div>
<a <a
href="tel:+491704969375" href="tel:+4917623726355"
className="text-foreground hover:text-muted-foreground transition-colors" className="text-foreground hover:text-muted-foreground transition-colors"
> >
0170 4969375 0176 23726355
</a> </a>
</div> </div>
</div> </div>
+23
View File
@@ -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(<Footer />);
expect(screen.getByRole("link", { name: TELEFON })).toHaveAttribute("href", TELEFON_HREF);
});
it("der Kontaktabschnitt der Startseite zeigt dieselbe Nummer", () => {
zeige(<KontaktAbschnitt />);
expect(screen.getByRole("link", { name: TELEFON })).toHaveAttribute("href", TELEFON_HREF);
});
});