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 |
@@ -5,6 +5,7 @@ export const createCaller = createCallerFactory({
|
||||
"klimafaktoren": await import("../src/pages/api/klimafaktoren.ts"),
|
||||
"postleitzahlen": await import("../src/pages/api/postleitzahlen.ts"),
|
||||
"unterlage": await import("../src/pages/api/unterlage.ts"),
|
||||
"aufnahme": await import("../src/pages/api/aufnahme/index.ts"),
|
||||
"admin/ausstellen": await import("../src/pages/api/admin/ausstellen.ts"),
|
||||
"admin/bestellbestaetigung": await import("../src/pages/api/admin/bestellbestaetigung.ts"),
|
||||
"admin/erinnern": await import("../src/pages/api/admin/erinnern.ts"),
|
||||
@@ -38,6 +39,8 @@ export const createCaller = createCallerFactory({
|
||||
"verbrauchsausweis-wohnen/[id]": await import("../src/pages/api/verbrauchsausweis-wohnen/[id].ts"),
|
||||
"verbrauchsausweis-wohnen": await import("../src/pages/api/verbrauchsausweis-wohnen/index.ts"),
|
||||
"webhooks/mollie": await import("../src/pages/api/webhooks/mollie.ts"),
|
||||
"verbrauchsausweis-wohnen/[id]": await import("../src/pages/api/verbrauchsausweis-wohnen/[id].ts"),
|
||||
"verbrauchsausweis-wohnen": await import("../src/pages/api/verbrauchsausweis-wohnen/index.ts"),
|
||||
"aufnahme/[id]/bilder": await import("../src/pages/api/aufnahme/[id]/bilder.ts"),
|
||||
"aufnahme/[id]": await import("../src/pages/api/aufnahme/[id]/index.ts"),
|
||||
"aufnahme/[id]/unterlagen": await import("../src/pages/api/aufnahme/[id]/unterlagen.ts"),
|
||||
|
||||
@@ -25,11 +25,10 @@
|
||||
{#if showPopup}
|
||||
<div class="fixed w-full 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
|
||||
>
|
||||
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: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">Wichtige Info zur Neuentwicklung</div>
|
||||
<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
|
||||
|
||||
BedarfsausweisWohnen: {
|
||||
[Enums.AusweisTyp.Standard]: 95,
|
||||
[Enums.AusweisTyp.Beratung]: 125,
|
||||
[Enums.AusweisTyp.Standard]: 145,
|
||||
[Enums.AusweisTyp.Beratung]: 175,
|
||||
[Enums.AusweisTyp.Offline]: 295,
|
||||
[Enums.AusweisTyp.standardXL]: 120,
|
||||
[Enums.AusweisTyp.BeratungXL]: 150,
|
||||
[Enums.AusweisTyp.standardXL]: 170,
|
||||
[Enums.AusweisTyp.BeratungXL]: 200,
|
||||
[Enums.AusweisTyp.OfflineXL]: 320,
|
||||
},
|
||||
VerbrauchsausweisWohnen: {
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
import SanierungszustandFensterTueren from "#components/Ausweis/SanierungszustandFensterTueren.svelte";
|
||||
import SanierungszustandWaermedammung from "#components/Ausweis/SanierungszustandWaermedammung.svelte";
|
||||
import AusweisPreviewContainer from "#components/Ausweis/AusweisPreviewContainer.svelte";
|
||||
import InfoPopupBedarfsausweisWohnen from "#components/design/content/InfoPopupBedarfsausweisWohnen.svelte";
|
||||
|
||||
import moment from "moment";
|
||||
import { Benutzer, Enums, Unterlage } from "#lib/client/prisma.js";
|
||||
@@ -281,3 +282,5 @@
|
||||
{skala}
|
||||
></ButtonWeiterHilfe>
|
||||
</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