From 334df113ae49732eb3eb563452017368e6bf049c Mon Sep 17 00:00:00 2001 From: qcigano Date: Sun, 2 Aug 2026 19:07:06 +0200 Subject: [PATCH] Blauen "Jetzt entdecken"-Button auf Unterkategorie-Seiten entfernt, Link-Wort wird jetzt selbst zum Button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Der große blaue "Jetzt entdecken"-Button neben dem featured Produkt (z.B. HasiDog) fällt weg. Der kleine Text-Link ("hier"/"here"/"da"/"ici" zur externen HasiDog-Universum-Seite) ist jetzt selbst ein richtiger, klickbarer Button statt eines unauffälligen Inline-Links. --- .../shop/[kategorie]/[unterkategorie].astro | 19 ++++++++----------- .../shop/[kategorie]/[unterkategorie].astro | 19 ++++++++----------- .../shop/[kategorie]/[unterkategorie].astro | 19 ++++++++----------- .../shop/[kategorie]/[unterkategorie].astro | 19 ++++++++----------- src/styles/global.css | 15 ++++++--------- 5 files changed, 38 insertions(+), 53 deletions(-) diff --git a/src/pages/ch/shop/[kategorie]/[unterkategorie].astro b/src/pages/ch/shop/[kategorie]/[unterkategorie].astro index 3149a0b..1335a41 100644 --- a/src/pages/ch/shop/[kategorie]/[unterkategorie].astro +++ b/src/pages/ch/shop/[kategorie]/[unterkategorie].astro @@ -49,14 +49,11 @@ const weitere = echtProdukte.slice(1); {sub.vorstellung && {sub.vorstellung[lang].split("\n")[0]}}

{featured.name[lang]}

{featured.beschreibung[lang]}

-
- {t.common.discoverNow} → -
{sub.mehrLink && ( -

- Wosch meh über {sub.name[lang]} wüsse? Klick da:{" "} - da → -

+
+

Wosch meh über {sub.name[lang]} wüsse?

+ da → +
)} @@ -68,10 +65,10 @@ const weitere = echtProdukte.slice(1);
{sub.vorstellung[lang].split("\n").map((line) =>

{line}

)} {sub.mehrLink && ( -

- Wosch meh über {sub.name[lang]} wüsse? Klick da:{" "} - da → -

+
+

Wosch meh über {sub.name[lang]} wüsse?

+ da → +
)}
)} diff --git a/src/pages/en/shop/[kategorie]/[unterkategorie].astro b/src/pages/en/shop/[kategorie]/[unterkategorie].astro index 8c13f1f..6e288b2 100644 --- a/src/pages/en/shop/[kategorie]/[unterkategorie].astro +++ b/src/pages/en/shop/[kategorie]/[unterkategorie].astro @@ -49,14 +49,11 @@ const weitere = echtProdukte.slice(1); {sub.vorstellung && {sub.vorstellung[lang].split("\n")[0]}}

{featured.name[lang]}

{featured.beschreibung[lang]}

-
- {t.common.discoverNow} → -
{sub.mehrLink && ( -

- Want to learn more about {sub.name[lang]}? Click here:{" "} - here → -

+
+

Want to learn more about {sub.name[lang]}?

+ here → +
)} @@ -68,10 +65,10 @@ const weitere = echtProdukte.slice(1);
{sub.vorstellung[lang].split("\n").map((line) =>

{line}

)} {sub.mehrLink && ( -

- Want to learn more about {sub.name[lang]}? Click here:{" "} - here → -

+
+

Want to learn more about {sub.name[lang]}?

+ here → +
)}
)} diff --git a/src/pages/fr/shop/[kategorie]/[unterkategorie].astro b/src/pages/fr/shop/[kategorie]/[unterkategorie].astro index f6f2bca..8cbcec6 100644 --- a/src/pages/fr/shop/[kategorie]/[unterkategorie].astro +++ b/src/pages/fr/shop/[kategorie]/[unterkategorie].astro @@ -49,14 +49,11 @@ const weitere = echtProdukte.slice(1); {sub.vorstellung && {sub.vorstellung[lang].split("\n")[0]}}

{featured.name[lang]}

{featured.beschreibung[lang]}

-
- {t.common.discoverNow} → -
{sub.mehrLink && ( -

- Tu veux en savoir plus sur {sub.name[lang]} ? Clique ici :{" "} - ici → -

+
+

Tu veux en savoir plus sur {sub.name[lang]} ?

+ ici → +
)} @@ -68,10 +65,10 @@ const weitere = echtProdukte.slice(1);
{sub.vorstellung[lang].split("\n").map((line) =>

{line}

)} {sub.mehrLink && ( -

- Tu veux en savoir plus sur {sub.name[lang]} ? Clique ici :{" "} - ici → -

+
+

Tu veux en savoir plus sur {sub.name[lang]} ?

+ ici → +
)}
)} diff --git a/src/pages/shop/[kategorie]/[unterkategorie].astro b/src/pages/shop/[kategorie]/[unterkategorie].astro index 7b4e53a..4d7c5a8 100644 --- a/src/pages/shop/[kategorie]/[unterkategorie].astro +++ b/src/pages/shop/[kategorie]/[unterkategorie].astro @@ -52,14 +52,11 @@ const weitere = echtProdukte.slice(1); {sub.vorstellung && {sub.vorstellung[lang].split("\n")[0]}}

{featured.name[lang]}

{featured.beschreibung[lang]}

-
- {t.common.discoverNow} → -
{sub.mehrLink && ( -

- Du willst mehr über {sub.name[lang]} erfahren, dann klicke hier:{" "} - hier → -

+
+

Du willst mehr über {sub.name[lang]} erfahren?

+ hier → +
)} @@ -71,10 +68,10 @@ const weitere = echtProdukte.slice(1);
{sub.vorstellung[lang].split("\n").map((line) =>

{line}

)} {sub.mehrLink && ( -

- Du willst mehr über {sub.name[lang]} erfahren, dann klicke hier:{" "} - hier → -

+
+

Du willst mehr über {sub.name[lang]} erfahren?

+ hier → +
)}
)} diff --git a/src/styles/global.css b/src/styles/global.css index a54351f..db51e88 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -681,15 +681,12 @@ a:focus-visible, button:focus-visible { } .character-intro p { margin: 0; white-space: pre-line; } .character-intro p:first-child { font-family: var(--font-head); font-weight: 600; color: var(--c-text); margin-bottom: 0.5em; } -.character-intro p.character-more { margin-top: 0.9em; color: var(--c-text-muted); } -.character-intro .character-more-link { - color: var(--c-accent); - font-weight: 600; - text-decoration: underline; - text-decoration-color: transparent; - transition: text-decoration-color 0.2s var(--ease); -} -.character-intro .character-more-link:hover { text-decoration-color: currentColor; } + +/* "Willst du mehr über X erfahren?" + Link-Button — sowohl innerhalb der character-intro-Box + (falls noch kein echtes Produkt zugeordnet ist) als auch frei im Intro-Layout (sobald ein + echtes Produkt featured wird). */ +.character-more { margin-top: 1rem; } +.character-more p { margin: 0 0 0.6em; color: var(--c-text-muted); } /* Seiten-Banner (Shop, Sale, ...): echtes Foto/Grafik als Kopfbild mit Verlauf-Überblendung unten, damit Titel/Text darauf lesbar bleiben — ersetzt die reine Text-Kopfzeile durch ein