diff --git a/public/images/immowelt/gewerbegebaeude_immowelt.svg b/public/images/immowelt-old/gewerbegebaeude_immowelt.svg similarity index 100% rename from public/images/immowelt/gewerbegebaeude_immowelt.svg rename to public/images/immowelt-old/gewerbegebaeude_immowelt.svg diff --git a/public/images/immowelt/hero-desktop.png b/public/images/immowelt-old/hero-desktop.png similarity index 100% rename from public/images/immowelt/hero-desktop.png rename to public/images/immowelt-old/hero-desktop.png diff --git a/public/images/immowelt/hero-desktop.webp b/public/images/immowelt-old/hero-desktop.webp similarity index 100% rename from public/images/immowelt/hero-desktop.webp rename to public/images/immowelt-old/hero-desktop.webp diff --git a/public/images/immowelt/immonet.svg b/public/images/immowelt-old/immonet.svg similarity index 100% rename from public/images/immowelt/immonet.svg rename to public/images/immowelt-old/immonet.svg diff --git a/public/images/immowelt/immowelt.svg b/public/images/immowelt-old/immowelt.svg similarity index 100% rename from public/images/immowelt/immowelt.svg rename to public/images/immowelt-old/immowelt.svg diff --git a/public/images/immowelt/wohngebaeude_immowelt.svg b/public/images/immowelt-old/wohngebaeude_immowelt.svg similarity index 100% rename from public/images/immowelt/wohngebaeude_immowelt.svg rename to public/images/immowelt-old/wohngebaeude_immowelt.svg diff --git a/public/images/partner/ibcornelsen/gewerbegebaeude.svg b/public/images/partner/ibcornelsen/gewerbegebaeude.svg new file mode 100644 index 00000000..b1187c37 --- /dev/null +++ b/public/images/partner/ibcornelsen/gewerbegebaeude.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/partner/ibcornelsen/wohngebaeude.svg b/public/images/partner/ibcornelsen/wohngebaeude.svg new file mode 100644 index 00000000..6fb83e9c --- /dev/null +++ b/public/images/partner/ibcornelsen/wohngebaeude.svg @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/partner/immonet/gewerbegebaeude.svg b/public/images/partner/immonet/gewerbegebaeude.svg new file mode 100644 index 00000000..6d8f132c --- /dev/null +++ b/public/images/partner/immonet/gewerbegebaeude.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/partner/immonet/wohngebaeude.svg b/public/images/partner/immonet/wohngebaeude.svg new file mode 100644 index 00000000..2bf9887b --- /dev/null +++ b/public/images/partner/immonet/wohngebaeude.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/partner/immowelt/gewerbegebaeude_immowelt.svg b/public/images/partner/immowelt/gewerbegebaeude.svg similarity index 100% rename from public/images/partner/immowelt/gewerbegebaeude_immowelt.svg rename to public/images/partner/immowelt/gewerbegebaeude.svg diff --git a/public/images/partner/immowelt/wohngebaeude_immowelt.svg b/public/images/partner/immowelt/wohngebaeude.svg similarity index 100% rename from public/images/partner/immowelt/wohngebaeude_immowelt.svg rename to public/images/partner/immowelt/wohngebaeude.svg diff --git a/src/components/design/header/AusweisHeader_partner.astro b/src/components/design/header/AusweisHeader_partner.astro index 21a1389b..97503b5e 100644 --- a/src/components/design/header/AusweisHeader_partner.astro +++ b/src/components/design/header/AusweisHeader_partner.astro @@ -14,8 +14,7 @@ const partner = params.partner; const url1 = new URL(Astro.request.url); -// Beispiel: prüfen, ob "immowelt" im Pfad vorkommt -const urlPath = url1.pathname; // z. B. "/immowelt/angebot-anfragen/..." +const urlPath = url1.pathname; const isVA = urlPath.includes("verbrauchsausweis-wohngebaeude"); const isVAG = urlPath.includes("verbrauchsausweis-gewerbe"); const isBA = urlPath.includes("bedarfsausweis-wohngebaeude"); @@ -24,6 +23,9 @@ const isGGW = urlPath.includes("geg-nachweis-wohnen-anfragen"); const isGGG = urlPath.includes("geg-nachweis-gewerbe-anfragen"); const isWEA = urlPath.includes("welcher-ausweis"); +const isWelt = urlPath.includes("immowelt"); +const isNET = urlPath.includes("immonet"); + ---