Merge remote-tracking branch 'origin/main'
This commit is contained in:
1
public/images/partner/ohne-makler/ohne-makler.svg
Normal file
1
public/images/partner/ohne-makler/ohne-makler.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 6.2 KiB |
@@ -25,11 +25,10 @@
|
|||||||
{#if showPopup}
|
{#if showPopup}
|
||||||
<div class="fixed w-full h-full inset-0 bg-black bg-opacity-50 flex justify-center items-center">
|
<div class="fixed w-full h-full inset-0 bg-black bg-opacity-50 flex justify-center items-center">
|
||||||
<div
|
<div
|
||||||
class="w-3/4 bg-white p-4 rounded-lg shadow-lg relative"
|
class="m:w-full m:m-4 lg:w-3/4 bg-white p-4 rounded-lg shadow-lg relative overflow-y-auto max-h-[80vh]"
|
||||||
on:keydown|stopPropagation
|
on:keydown|stopPropagation
|
||||||
on:keyup|stopPropagation
|
on:keyup|stopPropagation
|
||||||
on:keypress|stopPropagation
|
on:keypress|stopPropagation>
|
||||||
>
|
|
||||||
<button class="absolute top-3 right-3 bg-secondary text-white rounded-full p-2 cursor-pointer" on:click={closePopup}>X</button>
|
<button class="absolute top-3 right-3 bg-secondary text-white rounded-full p-2 cursor-pointer" on:click={closePopup}>X</button>
|
||||||
<div class="top-6 left-8 text-3xl font-bold mb-2">Wichtige Info zur Neuentwicklung</div>
|
<div class="top-6 left-8 text-3xl font-bold mb-2">Wichtige Info zur Neuentwicklung</div>
|
||||||
<div class="popup-body">
|
<div class="popup-body">
|
||||||
|
|||||||
@@ -0,0 +1,65 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
import Cookies from "js-cookie";
|
||||||
|
import moment from "moment";
|
||||||
|
|
||||||
|
let showPopup = Cookies.get("seen-bw-info-popup") !== "1";
|
||||||
|
|
||||||
|
function closePopup() {
|
||||||
|
showPopup = false;
|
||||||
|
Cookies.set("seen-bw-info-popup", "1", {
|
||||||
|
domain: `.${window.location.hostname}`,
|
||||||
|
path: "/",
|
||||||
|
expires: moment().add(3, "days").toDate()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
$: {
|
||||||
|
if (showPopup) {
|
||||||
|
document.body.style.overflow = "hidden"
|
||||||
|
} else {
|
||||||
|
document.body.style.overflow = "auto"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{#if showPopup}
|
||||||
|
<div class="fixed w-full z-50 h-full inset-0 bg-black bg-opacity-50 flex justify-center items-center">
|
||||||
|
<div
|
||||||
|
class="w-3/4 bg-white p-4 rounded-lg shadow-lg relative"
|
||||||
|
on:keydown|stopPropagation
|
||||||
|
on:keyup|stopPropagation
|
||||||
|
on:keypress|stopPropagation
|
||||||
|
>
|
||||||
|
<button class="absolute top-3 right-3 bg-secondary text-white rounded-full p-2 cursor-pointer" on:click={closePopup}>X</button>
|
||||||
|
<div class="top-6 left-8 text-3xl font-bold mb-2">Bedarfsausweis Wohnen 145€ - nur für kurze Zeit</div>
|
||||||
|
<div class="popup-body">
|
||||||
|
<p>
|
||||||
|
Wir überarbeiten momentan die Berechnungsmethodik für den Bedarfsausweis. Bis die neue Berechnung implementiert ist,
|
||||||
|
bieten wir Ihnen den Bedarfsausweis für 145€ (Standardgebäude) an. Der Preis gilt nur für kurze Zeit und wird danach wieder angehoben
|
||||||
|
bzw. die <b>günstige online Variante steht dann wieder für 95 € zur Verfügung.</b>
|
||||||
|
|
||||||
|
Bei komplexen Grundrissen oder größeren Objekten kann es sein, dass wir den Preis anpassen müssen.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.popup-body {
|
||||||
|
font-size: 1rem;
|
||||||
|
line-height: 1.5;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.popup-list {
|
||||||
|
list-style-type: disc;
|
||||||
|
margin-left: 1.5rem;
|
||||||
|
padding-left: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.popup-list li {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -31,11 +31,11 @@ export const PRICES: Record<Enums.Ausweisart, Record<Enums.AusweisTyp, number>>
|
|||||||
// per E-Mail , inkl.Beratung, offline
|
// per E-Mail , inkl.Beratung, offline
|
||||||
|
|
||||||
BedarfsausweisWohnen: {
|
BedarfsausweisWohnen: {
|
||||||
[Enums.AusweisTyp.Standard]: 95,
|
[Enums.AusweisTyp.Standard]: 145,
|
||||||
[Enums.AusweisTyp.Beratung]: 125,
|
[Enums.AusweisTyp.Beratung]: 175,
|
||||||
[Enums.AusweisTyp.Offline]: 295,
|
[Enums.AusweisTyp.Offline]: 295,
|
||||||
[Enums.AusweisTyp.standardXL]: 120,
|
[Enums.AusweisTyp.standardXL]: 170,
|
||||||
[Enums.AusweisTyp.BeratungXL]: 150,
|
[Enums.AusweisTyp.BeratungXL]: 200,
|
||||||
[Enums.AusweisTyp.OfflineXL]: 320,
|
[Enums.AusweisTyp.OfflineXL]: 320,
|
||||||
},
|
},
|
||||||
VerbrauchsausweisWohnen: {
|
VerbrauchsausweisWohnen: {
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
import SanierungszustandFensterTueren from "#components/Ausweis/SanierungszustandFensterTueren.svelte";
|
import SanierungszustandFensterTueren from "#components/Ausweis/SanierungszustandFensterTueren.svelte";
|
||||||
import SanierungszustandWaermedammung from "#components/Ausweis/SanierungszustandWaermedammung.svelte";
|
import SanierungszustandWaermedammung from "#components/Ausweis/SanierungszustandWaermedammung.svelte";
|
||||||
import AusweisPreviewContainer from "#components/Ausweis/AusweisPreviewContainer.svelte";
|
import AusweisPreviewContainer from "#components/Ausweis/AusweisPreviewContainer.svelte";
|
||||||
|
import InfoPopupBedarfsausweisWohnen from "#components/design/content/InfoPopupBedarfsausweisWohnen.svelte";
|
||||||
|
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import { Benutzer, Enums, Unterlage } from "#lib/client/prisma.js";
|
import { Benutzer, Enums, Unterlage } from "#lib/client/prisma.js";
|
||||||
@@ -281,3 +282,5 @@
|
|||||||
{skala}
|
{skala}
|
||||||
></ButtonWeiterHilfe>
|
></ButtonWeiterHilfe>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<InfoPopupBedarfsausweisWohnen/>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
import AusweisLayout from "#layouts/AusweisLayoutDaten_partner.astro";
|
||||||
|
import WelcherAusweisWidget from "#components/widgets/ohnemakler/WelcherAusweisWidget_ohnemakler.svelte";
|
||||||
|
---
|
||||||
|
|
||||||
|
<AusweisLayout title="Welcher Ausweis | IBCornelsen" tabHover7="glow">
|
||||||
|
<WelcherAusweisWidget client:load></WelcherAusweisWidget>
|
||||||
|
</AusweisLayout>
|
||||||
Reference in New Issue
Block a user