From 9531219eeebad9f308d93803d42ea4b6ae5e1d3c Mon Sep 17 00:00:00 2001 From: qcigano Date: Sun, 2 Aug 2026 16:26:07 +0200 Subject: [PATCH] =?UTF-8?q?HasiDog:=20kleiner=20Inline-Link=20statt=20gro?= =?UTF-8?q?=C3=9Fem=20Button=20auf=20der=20Unterkategorie-Seite,=20verlink?= =?UTF-8?q?t=20jetzt=20zur=20Dogfather-Universum-Seite=20von=20HasiDog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/content/categories/diy-plushies.json | 2 +- src/pages/ch/shop/[kategorie]/[unterkategorie].astro | 7 ++++++- src/pages/en/shop/[kategorie]/[unterkategorie].astro | 7 ++++++- src/pages/fr/shop/[kategorie]/[unterkategorie].astro | 7 ++++++- src/pages/shop/[kategorie]/[unterkategorie].astro | 7 ++++++- src/styles/global.css | 9 +++++++++ 6 files changed, 34 insertions(+), 5 deletions(-) diff --git a/src/content/categories/diy-plushies.json b/src/content/categories/diy-plushies.json index fb8e685..e2020e7 100644 --- a/src/content/categories/diy-plushies.json +++ b/src/content/categories/diy-plushies.json @@ -44,7 +44,7 @@ "ch": "Hoi, ig bi dr HasiDog.\nIg bi chli, härzig, wuschelig und verspielt, aber o en grosse, freche Abentürer.", "fr": "Bonjour, je suis HasiDog.\nJe suis petit, tout doux, ébouriffé et joueur — mais aussi un grand aventurier un brin coquin." }, - "mehrLink": "/hasidog/" + "mehrLink": "https://dogfather-universe.dogfather1608.workers.dev/hasidog.html" }, { "slug": "wal-sam", diff --git a/src/pages/ch/shop/[kategorie]/[unterkategorie].astro b/src/pages/ch/shop/[kategorie]/[unterkategorie].astro index 6f0b6b0..08694fc 100644 --- a/src/pages/ch/shop/[kategorie]/[unterkategorie].astro +++ b/src/pages/ch/shop/[kategorie]/[unterkategorie].astro @@ -34,11 +34,16 @@ const sub = getSubcategory(kategorie!, unterkategorie!)!; {sub.vorstellung && (
{sub.vorstellung[lang].split("\n").map((line) =>

{line}

)} + {sub.mehrLink && ( +

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

+ )}
)}

{t.shop.subcategoryEmpty}

- {sub.mehrLink && {t.shop.moreAbout} {sub.name[lang]} →} ← {category.name[lang]} {t.common.toShop}
diff --git a/src/pages/en/shop/[kategorie]/[unterkategorie].astro b/src/pages/en/shop/[kategorie]/[unterkategorie].astro index 21356ad..611010a 100644 --- a/src/pages/en/shop/[kategorie]/[unterkategorie].astro +++ b/src/pages/en/shop/[kategorie]/[unterkategorie].astro @@ -34,11 +34,16 @@ const sub = getSubcategory(kategorie!, unterkategorie!)!; {sub.vorstellung && (
{sub.vorstellung[lang].split("\n").map((line) =>

{line}

)} + {sub.mehrLink && ( +

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

+ )}
)}

{t.shop.subcategoryEmpty}

- {sub.mehrLink && {t.shop.moreAbout} {sub.name[lang]} →} ← {category.name[lang]} {t.common.toShop}
diff --git a/src/pages/fr/shop/[kategorie]/[unterkategorie].astro b/src/pages/fr/shop/[kategorie]/[unterkategorie].astro index dfaf881..652eb27 100644 --- a/src/pages/fr/shop/[kategorie]/[unterkategorie].astro +++ b/src/pages/fr/shop/[kategorie]/[unterkategorie].astro @@ -34,11 +34,16 @@ const sub = getSubcategory(kategorie!, unterkategorie!)!; {sub.vorstellung && (
{sub.vorstellung[lang].split("\n").map((line) =>

{line}

)} + {sub.mehrLink && ( +

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

+ )}
)}

{t.shop.subcategoryEmpty}

- {sub.mehrLink && {t.shop.moreAbout} {sub.name[lang]} →} ← {category.name[lang]} {t.common.toShop}
diff --git a/src/pages/shop/[kategorie]/[unterkategorie].astro b/src/pages/shop/[kategorie]/[unterkategorie].astro index 2b75d33..7469018 100644 --- a/src/pages/shop/[kategorie]/[unterkategorie].astro +++ b/src/pages/shop/[kategorie]/[unterkategorie].astro @@ -34,11 +34,16 @@ const sub = getSubcategory(kategorie!, unterkategorie!)!; {sub.vorstellung && (
{sub.vorstellung[lang].split("\n").map((line) =>

{line}

)} + {sub.mehrLink && ( +

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

+ )}
)}

{t.shop.subcategoryEmpty}

- {sub.mehrLink && {t.shop.moreAbout} {sub.name[lang]} →} ← {category.name[lang]} {t.common.toShop}
diff --git a/src/styles/global.css b/src/styles/global.css index fee0365..7237e6b 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -674,6 +674,15 @@ 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; } /* 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