Schreibweise: WEBklar statt Webklar im sichtbaren Markennamen
Header (Desktop und Mobil) und die Kopfzeilen der Unterseiten (Kontakt, Über uns, AGB, Impressum, Wartungs-Abo, Hosting-Abo) schrieben die Marke "Webklar". Rechtstexte bleiben unverändert, nur der Marken-Schriftzug in der Kopfzeile ändert sich. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8d3424967c
commit
80099cbdb4
8 files changed
+24
-8
No files matched your search
@@ -33,7 +33,7 @@ const Header = () => {
|
||||
<NavbarLogo href="#">
|
||||
<Logo width={30} height={30} />
|
||||
<span className="font-display text-lg font-medium tracking-tight">
|
||||
Webklar
|
||||
WEBklar
|
||||
</span>
|
||||
</NavbarLogo>
|
||||
<NavItems items={navItems} />
|
||||
@@ -60,7 +60,7 @@ const Header = () => {
|
||||
<NavbarLogo href="#">
|
||||
<Logo width={30} height={30} />
|
||||
<span className="font-display text-lg font-medium tracking-tight">
|
||||
Webklar
|
||||
WEBklar
|
||||
</span>
|
||||
</NavbarLogo>
|
||||
<div className="flex items-center gap-2">
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ const AGB = () => {
|
||||
<div className="flex items-center justify-between">
|
||||
<Link to="/" className="flex items-center gap-2 group">
|
||||
<span className="text-xl font-display font-medium text-foreground tracking-tight">
|
||||
Webklar
|
||||
WEBklar
|
||||
</span>
|
||||
</Link>
|
||||
<Link to="/">
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ const About = () => {
|
||||
<div className="flex items-center justify-between">
|
||||
<Link to="/" className="flex items-center gap-2 group">
|
||||
<span className="text-xl font-display font-medium text-foreground tracking-tight">
|
||||
Webklar
|
||||
WEBklar
|
||||
</span>
|
||||
</Link>
|
||||
<Link to="/">
|
||||
|
||||
@@ -65,7 +65,7 @@ const Contact = () => {
|
||||
<div className="flex items-center justify-between">
|
||||
<Link to="/" className="flex items-center gap-2 group">
|
||||
<span className="text-xl font-display font-medium text-foreground tracking-tight">
|
||||
Webklar
|
||||
WEBklar
|
||||
</span>
|
||||
</Link>
|
||||
<Link to="/">
|
||||
|
||||
@@ -34,7 +34,7 @@ const HostingAbo = () => {
|
||||
<div className="container mx-auto px-6">
|
||||
<div className="flex items-center justify-between">
|
||||
<Link to="/" className="flex items-center gap-2 group">
|
||||
<span className="text-xl font-display font-medium text-foreground tracking-tight">Webklar</span>
|
||||
<span className="text-xl font-display font-medium text-foreground tracking-tight">WEBklar</span>
|
||||
</Link>
|
||||
<Button asChild variant="ghost" className="text-muted-foreground hover:text-foreground">
|
||||
<Link to="/">
|
||||
|
||||
@@ -15,7 +15,7 @@ const Impressum = () => {
|
||||
<div className="flex items-center justify-between">
|
||||
<Link to="/" className="flex items-center gap-2 group">
|
||||
<span className="text-xl font-display font-medium text-foreground tracking-tight">
|
||||
Webklar
|
||||
WEBklar
|
||||
</span>
|
||||
</Link>
|
||||
<Link to="/">
|
||||
|
||||
@@ -34,7 +34,7 @@ const WartungsAbo = () => {
|
||||
<div className="container mx-auto px-6">
|
||||
<div className="flex items-center justify-between">
|
||||
<Link to="/" className="flex items-center gap-2 group">
|
||||
<span className="text-xl font-display font-medium text-foreground tracking-tight">Webklar</span>
|
||||
<span className="text-xl font-display font-medium text-foreground tracking-tight">WEBklar</span>
|
||||
</Link>
|
||||
<Button asChild variant="ghost" className="text-muted-foreground hover:text-foreground">
|
||||
<Link to="/">
|
||||
|
||||
@@ -350,3 +350,19 @@ describe("C5 404-Seite", () => {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
describe("C4 Schreibweise WEBklar", () => {
|
||||
it("kein sichtbares »Webklar« mehr im Quelltext (URLs, Mailadressen und Kleinschreibung ausgenommen)", () => {
|
||||
expect(vorkommen(/(?<![\w./@:-])Webklar(?![\w@.-])/)).toEqual([]);
|
||||
});
|
||||
|
||||
it.each(["/", "/kontakt", "/ueber-uns", "/agb", "/impressum", "/wartungs-abo", "/hosting-abo", "/gibt-es-nicht"])(
|
||||
"%s: die Marke steht als WEBklar da",
|
||||
(pfad) => {
|
||||
vi.spyOn(console, "error").mockImplementation(() => {});
|
||||
seite(pfad);
|
||||
expect(screen.queryAllByText(/Webklar/)).toHaveLength(0);
|
||||
expect(screen.getAllByText("WEBklar").length).toBeGreaterThan(0);
|
||||
},
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user