diff --git a/public/images/immowelt/gewerbegebaeude_immowelt.svg b/public/images/immowelt/gewerbegebaeude_immowelt.svg index 4f94fd37..6ac92ac8 100644 --- a/public/images/immowelt/gewerbegebaeude_immowelt.svg +++ b/public/images/immowelt/gewerbegebaeude_immowelt.svg @@ -1,5 +1,5 @@ - + - - + + - - + + - - - - - - + + + + + + - - - + + + \ No newline at end of file diff --git a/public/images/immowelt/wohngebaeude_immowelt.svg b/public/images/immowelt/wohngebaeude_immowelt.svg index 3d694ef7..8fb28cde 100644 --- a/public/images/immowelt/wohngebaeude_immowelt.svg +++ b/public/images/immowelt/wohngebaeude_immowelt.svg @@ -1,5 +1,5 @@ - + - - + + - - + + - - - - + + + + - - - - + + + + diff --git a/public/images/widget/gewerbegebaeude.svg b/public/images/widget/gewerbegebaeude.svg index b1187c37..80d893a6 100644 --- a/public/images/widget/gewerbegebaeude.svg +++ b/public/images/widget/gewerbegebaeude.svg @@ -1,5 +1,5 @@ - + - - + + - - + + - - - - - - + + + + + + - - - + + + \ No newline at end of file diff --git a/public/images/widget/wohngebaeude.svg b/public/images/widget/wohngebaeude.svg index 6fb83e9c..eda0a69f 100644 --- a/public/images/widget/wohngebaeude.svg +++ b/public/images/widget/wohngebaeude.svg @@ -1,65 +1,40 @@ - + - - + + - + - - + + - - - - + + + + - - - - + + + + - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/components/widgets/WelcherAusweisWidget_IBC.svelte b/src/components/widgets/WelcherAusweisWidget_IBC.svelte index a79cf9c0..68a4d940 100644 --- a/src/components/widgets/WelcherAusweisWidget_IBC.svelte +++ b/src/components/widgets/WelcherAusweisWidget_IBC.svelte @@ -62,7 +62,7 @@ ausnahme = ((leerStand === "mehr als 30") || (heizungsAlter === "< 3") || (bau : false; oneBOX = ((ausnahme === true) && (gebaeudetyp != "Gewerbegebäude")) && (gebaeudetyp != "Mischgebäude") || - ((!twoBoxReason.includes(anlass)) && (gebaeudetyp != "Mischgebäude")) || + ((!twoBoxReason.includes(anlass)) && (gebaeudetyp != "Mischgebäude") && (gebaeudetyp != "bitte auswählen")) || ((gebaeudetyp === "Gewerbegebäude") && (leerStand === "mehr als 30")) ? true : false; diff --git a/src/components/widgets/WidgetCardTemplate_IBC.svelte b/src/components/widgets/WidgetCardTemplate_IBC.svelte index 0758f3d4..d47b482c 100644 --- a/src/components/widgets/WidgetCardTemplate_IBC.svelte +++ b/src/components/widgets/WidgetCardTemplate_IBC.svelte @@ -66,8 +66,8 @@ .sumRows{@apply hidden sm:grid grid-rows-subgrid row-span-5 items-center} .forServices{@apply grid-rows-subgrid row-span-5 items-center col-span-2 justify-center px-6} -.image{@apply w-[75%] justify-self-center - md:w-[75%] md:pl-12} +.image{@apply w-[75%] mx-auto + md:w-[75%] md:pl-0} .buttoncols{@apply grid grid-cols-1 gap-x-4 w-full mb-4 md:grid-cols-2 md:w-[auto]} @@ -84,7 +84,7 @@ hover:bg-primary hover:text-white} .titel {@apply col-span-2 text-center [font-size:_clamp(20px,2.5vw,28px)]} .empfehlung{@apply -mt-4 absolute justify-self-end rounded-md bg-red-700 text-white w-fit h-fit px-2 py-1 rotate-1 text-[0.65rem] ring-4 ring-white mr-6} .variante { - @apply italic col-span-2 -mt-2 -mb-4 text-[1rem] text-[#222222] justify-self-start ring-2 ring-primary rounded-md pl-[4px] pr-[6px] py-[0px]; + @apply w-fit italic col-span-2 -mt-2 -mb-4 text-[1rem] text-[#222222] justify-self-start ring-2 ring-primary rounded-md pl-[4px] pr-[6px] py-[0px]; } .services { diff --git a/src/components/widgets/immowelt/WelcherAusweisWidget_immowelt.svelte b/src/components/widgets/immowelt/WelcherAusweisWidget_immowelt.svelte index a0b8aa2c..fea328a9 100644 --- a/src/components/widgets/immowelt/WelcherAusweisWidget_immowelt.svelte +++ b/src/components/widgets/immowelt/WelcherAusweisWidget_immowelt.svelte @@ -20,6 +20,7 @@ let oneBOX: boolean = false; let threeBOX: boolean = false; + function getBoxes(){ if(twoBoxReason.includes(anlass)){ @@ -55,14 +56,15 @@ else{ } - $: { + + ausnahme = ((leerStand === "mehr als 30") || (heizungsAlter === "< 3") || (baujahr === "vor 1978" && einheiten === "bis 4 Wohneinheiten" && sanierungsstatus === "unsaniert")) ? true : false; -oneBOX = ((ausnahme === true) && (gebaeudetyp != "Gewerbegebäude")) && (gebaeudetyp != "Mischgebäude") || - ((!twoBoxReason.includes(anlass)) && (gebaeudetyp != "Mischgebäude")) || +oneBOX = ((ausnahme === true) && (gebaeudetyp != "Gewerbegebäude") && (gebaeudetyp != "Mischgebäude")) || + ((!twoBoxReason.includes(anlass)) && (gebaeudetyp != "Mischgebäude") && (gebaeudetyp != "bitte auswählen")) || ((gebaeudetyp === "Gewerbegebäude") && (leerStand === "mehr als 30")) ? true : false; @@ -73,9 +75,6 @@ threeBOX = ((ausnahme === true) && (gebaeudetyp === "Mischgebäude") && (twoBo } - - - diff --git a/src/components/widgets/immowelt/WidgetCardTemplate_immowelt.svelte b/src/components/widgets/immowelt/WidgetCardTemplate_immowelt.svelte index 2ac3ad3b..5e57f010 100644 --- a/src/components/widgets/immowelt/WidgetCardTemplate_immowelt.svelte +++ b/src/components/widgets/immowelt/WidgetCardTemplate_immowelt.svelte @@ -25,7 +25,7 @@ {src} {alt} /> -
+

ab {price} €

@@ -66,8 +66,8 @@ .sumRows{@apply hidden sm:grid grid-rows-subgrid row-span-5 items-center} .forServices{@apply grid-rows-subgrid row-span-5 items-center col-span-2 justify-center px-6} -.image{@apply w-[75%] justify-self-center - md:w-[75%] md:pl-12} +.image{@apply w-[75%] mx-auto + md:w-[75%] md:pl-0} .buttoncols{@apply grid grid-cols-1 gap-x-4 w-full mb-4 md:grid-cols-2 md:w-[auto]} @@ -76,7 +76,7 @@ md:grid-cols-2 md:w-[auto]} hover:bg-[#222222] hover:text-white} - .price{@apply tracking-tighter text-[2rem] text-[#222222] pl-12 m-0 -mt-4 text-nowrap; + .price{@apply tracking-tighter text-[2rem] text-[#222222] pl-12 m-0 -mt-7 text-nowrap text-left; font-family: "Antique Olive Compact bold";} @@ -84,7 +84,7 @@ hover:bg-[#222222] hover:text-white} .titel {@apply col-span-2 text-center [font-size:_clamp(20px,2.5vw,28px)]} .empfehlung{@apply -mt-4 absolute justify-self-end rounded-md bg-red-700 text-white w-fit h-fit px-2 py-1 rotate-1 text-[0.65rem] ring-4 ring-white mr-6} .variante { - @apply italic col-span-2 -mt-2 -mb-4 text-[1rem] text-[#222222] justify-self-start ring-2 ring-[#ffcc00] rounded-md pl-[4px] pr-[6px] py-[0px]; + @apply w-fit italic col-span-2 -mt-2 -mb-4 text-[1rem] text-[#222222] justify-self-start ring-2 ring-[#ffcc00] rounded-md pl-[4px] pr-[6px] py-[0px]; } .services {