From a194e8a17e05a6448e00155552cc0d4625a67d69 Mon Sep 17 00:00:00 2001 From: Robert Jagtiani Date: Thu, 3 Apr 2025 21:09:22 +0200 Subject: [PATCH] . --- .../gewerbegebaeude_immowelt.svg | 0 .../hero-desktop.png | Bin .../hero-desktop.webp | Bin .../{immowelt => immowelt-old}/immonet.svg | 0 .../{immowelt => immowelt-old}/immowelt.svg | 0 .../wohngebaeude_immowelt.svg | 0 .../partner/ibcornelsen/gewerbegebaeude.svg | 35 ++ .../partner/ibcornelsen/wohngebaeude.svg | 65 +++ .../partner/immonet/gewerbegebaeude.svg | 35 ++ .../images/partner/immonet/wohngebaeude.svg | 36 ++ ...aeude_immowelt.svg => gewerbegebaeude.svg} | 0 ...gebaeude_immowelt.svg => wohngebaeude.svg} | 0 .../design/header/AusweisHeader_partner.astro | 8 +- .../WelcherAusweisWidget_ibcornelsen.svelte | 391 ++++++++++++++++++ .../ibcornelsen/WidgetCardTemplate.svelte | 115 ++++++ .../WelcherAusweisWidget_immonet.svelte | 391 ++++++++++++++++++ .../widgets/immonet/WidgetCardTemplate.svelte | 115 ++++++ .../WelcherAusweisWidget_immowelt.svelte | 49 ++- ...owelt.svelte => WidgetCardTemplate.svelte} | 4 +- src/layouts/AusweisLayoutDaten_partner.astro | 1 - .../bedarfsausweis-wohngebaeude/index.astro | 32 +- src/pages/index.astro | 2 +- src/pages/welcher-energieausweis/index.astro | 2 +- src/pages/widgets/immonet.astro | 22 + .../{[vermittler].astro => immowelt.astro} | 3 +- src/pages/widgets/vermittler.astro | 22 + 26 files changed, 1282 insertions(+), 46 deletions(-) rename public/images/{immowelt => immowelt-old}/gewerbegebaeude_immowelt.svg (100%) rename public/images/{immowelt => immowelt-old}/hero-desktop.png (100%) rename public/images/{immowelt => immowelt-old}/hero-desktop.webp (100%) rename public/images/{immowelt => immowelt-old}/immonet.svg (100%) rename public/images/{immowelt => immowelt-old}/immowelt.svg (100%) rename public/images/{immowelt => immowelt-old}/wohngebaeude_immowelt.svg (100%) create mode 100644 public/images/partner/ibcornelsen/gewerbegebaeude.svg create mode 100644 public/images/partner/ibcornelsen/wohngebaeude.svg create mode 100644 public/images/partner/immonet/gewerbegebaeude.svg create mode 100644 public/images/partner/immonet/wohngebaeude.svg rename public/images/partner/immowelt/{gewerbegebaeude_immowelt.svg => gewerbegebaeude.svg} (100%) rename public/images/partner/immowelt/{wohngebaeude_immowelt.svg => wohngebaeude.svg} (100%) create mode 100644 src/components/widgets/ibcornelsen/WelcherAusweisWidget_ibcornelsen.svelte create mode 100644 src/components/widgets/ibcornelsen/WidgetCardTemplate.svelte create mode 100644 src/components/widgets/immonet/WelcherAusweisWidget_immonet.svelte create mode 100644 src/components/widgets/immonet/WidgetCardTemplate.svelte rename src/components/widgets/immowelt/{WidgetCardTemplate_immowelt.svelte => WidgetCardTemplate.svelte} (95%) create mode 100644 src/pages/widgets/immonet.astro rename src/pages/widgets/{[vermittler].astro => immowelt.astro} (99%) create mode 100644 src/pages/widgets/vermittler.astro 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"); + ---