diff --git a/public/images/widget/gewerbegebaeude.svg b/public/images/widget/gewerbegebaeude.svg new file mode 100644 index 00000000..b1187c37 --- /dev/null +++ b/public/images/widget/gewerbegebaeude.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/widget/wohngebaeude.svg b/public/images/widget/wohngebaeude.svg new file mode 100644 index 00000000..6fb83e9c --- /dev/null +++ b/public/images/widget/wohngebaeude.svg @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/design/content/WidgetCardTemplate_ORG.svelte b/src/components/design/content/WidgetCardTemplate_ORG.svelte deleted file mode 100644 index 988ba6e0..00000000 --- a/src/components/design/content/WidgetCardTemplate_ORG.svelte +++ /dev/null @@ -1,99 +0,0 @@ - - - -

{name}

- {#if empfehlung=="ja"} - - {/if} - - -
- -
- -
- -
-

- - ab {price} € - -

-
- -
- - -
{variant}
- - -
- {#each services as [service, check]} -
- {@html service} -
{check ? "✔" : "✘"}
-
- {/each} -
- - - - -
- jetzt online erstellen - - zur Produktübersicht -
- - - - - - - - - diff --git a/src/components/widgets/WelcherAusweisWidget.svelte b/src/components/widgets/WelcherAusweisWidget.svelte deleted file mode 100644 index 7d3d6fcc..00000000 --- a/src/components/widgets/WelcherAusweisWidget.svelte +++ /dev/null @@ -1,347 +0,0 @@ - - - - -
- - -
-
- -
-
Anlass
- -
- -
-
Gebäudetyp
- -
- - {#if allowedReason.includes(anlass)} -
-
Sanierungsstand
- -
- {/if} - -
- - {#if allowedReason.includes(anlass)} -
-
-
Baujahr
- -
- -
-
Heizungsalter
- -
- -
-
Wohneinheiten
- -
- -
-
Leerstand
- -
-
- {/if} - -
- {#if showVerbrauchsausweis} -
- -
- {/if} - - {#if allowedReason.includes(anlass) && allowedTypes.includes(gebaeudetyp)} -
- -
- {/if} - - {#if allowedReason.includes(anlass) && allowedTypesGewerbe.includes(gebaeudetyp)} -
- - -
- {/if} - - {#if allowedReason.includes(anlass) == false && allowedTypesGewerbe.includes(gebaeudetyp)} -
- - -
- {/if} - - {#if allowedReason.includes(anlass) && allowedTypesGewerbe.includes(gebaeudetyp)} -
- -
- {/if} -
-
-
- - diff --git a/src/components/widgets/WelcherAusweisWidget_IBC.svelte b/src/components/widgets/WelcherAusweisWidget_IBC.svelte new file mode 100644 index 00000000..196b6edd --- /dev/null +++ b/src/components/widgets/WelcherAusweisWidget_IBC.svelte @@ -0,0 +1,425 @@ + + +
+ + +
+ + +
+ +
+
Anlass
+ +
+ +
+
Gebäudetyp
+ +
+ + {#if twoBoxReason.includes(anlass)} +
+
Sanierungsstand
+ +
+ {/if} + +
+ + {#if twoBoxReason.includes(anlass)} +
+
+
Baujahr
+ +
+ +
+
Heizungsalter
+ +
+ +
+
Wohneinheiten
+ +
+ +
+
Leerstand
+ +
+
+ {/if} + +
+ {#if twoBoxReason.includes(anlass) && (gebaeudetyp != "Gewerbegebäude") && (ausnahme === false)} + +
+ +
+ {/if} + + {#if twoBoxReason.includes(anlass) && (gebaeudetyp != "Gewerbegebäude")} +
+ +
+ {/if} + + {#if twoBoxReason.includes(anlass) && gewerbeHouse.includes(gebaeudetyp) && (leerStand != "mehr als 30")} +
+ + +
+ {/if} + + {#if twoBoxReason.includes(anlass) && gewerbeHouse.includes(gebaeudetyp)} +
+ +
+ {/if} + + {#if (anlass != "bitte auswählen") && !twoBoxReason.includes(anlass) && (gebaeudetyp != "Gewerbegebäude")} +
+ + +
+ {/if} + + {#if (anlass != "bitte auswählen") && !twoBoxReason.includes(anlass) && gewerbeHouse.includes(gebaeudetyp)} +
+ + +
+ {/if} + +
+
+
+ + diff --git a/src/components/widgets/WidgetCardTemplate_IBC.svelte b/src/components/widgets/WidgetCardTemplate_IBC.svelte new file mode 100644 index 00000000..0758f3d4 --- /dev/null +++ b/src/components/widgets/WidgetCardTemplate_IBC.svelte @@ -0,0 +1,103 @@ + + + +{#if empfehlung=="ja"} +
Empfehlung
+{/if} +

{name}

+ + +
+
{variant}
+ +
+

+ ab {price} € +

+
+ +
+ +
+ {cta} + + Produkt-Übersicht + +
+ +
+ + {#each services as [service, check]} +
+ {@html service} +
{check ? "✔" : "✘"}
+
+ {/each} + +
+ + + diff --git a/src/components/widgets/WelcherAusweisWidget_1.svelte b/src/components/widgets/immowelt/WelcherAusweisWidget_immowelt.svelte similarity index 99% rename from src/components/widgets/WelcherAusweisWidget_1.svelte rename to src/components/widgets/immowelt/WelcherAusweisWidget_immowelt.svelte index 67b3c65f..e91ee688 100644 --- a/src/components/widgets/WelcherAusweisWidget_1.svelte +++ b/src/components/widgets/immowelt/WelcherAusweisWidget_immowelt.svelte @@ -1,6 +1,6 @@