Merge remote-tracking branch 'origin/UMBE' into UMBE

This commit is contained in:
Moritz Utcke
2024-11-27 10:59:58 +11:00
20 changed files with 300 additions and 330 deletions

View File

@@ -31,7 +31,7 @@
<div class="saeule"> <div class="saeule">
<div class="blue-top"> <div class="blue-top">
<img class="" src="/images/right-sidebar/UMBE_wohngebaeude-weiss.svg" alt="Wohnhaus Bedarfsausweis"/> <img class="" src="/images/right-sidebar/UMBE_gewerbegebaeude-weiss.svg" alt="Wohnhaus Bedarfsausweis"/>
<div class="name">Verbrauchsausweis<br>Gewerbe</div> <div class="name">Verbrauchsausweis<br>Gewerbe</div>
</div> </div>
<div class="orange"> <div class="orange">
@@ -56,7 +56,7 @@
<div class="saeule"> <div class="saeule">
<div class="blue-top"> <div class="blue-top">
<img class="" src="/images/right-sidebar/UMBE_gewerbegebaeude-weiss.svg" alt="Gewerbe Verbrauchsausweis"/> <img class="" src="/images/right-sidebar/UMBE_wohngebaeude-weiss.svg" alt="Gewerbe Verbrauchsausweis"/>
<div class="name">Bedarfsausweis<br>Wohngebäude</div> <div class="name">Bedarfsausweis<br>Wohngebäude</div>
</div> </div>
<div class="orange"> <div class="orange">
@@ -108,9 +108,11 @@
<style lang="scss"> <style lang="scss">
#saeulen{@apply grid grid-cols-[1fr,1fr,1fr,1fr] gap-4; #saeulen{@apply grid grid-cols-[1fr] gap-4
lg:grid-cols-[1fr,1fr,1fr]
xl:grid-cols-[1fr,1fr,1fr,1fr];
.saeule{@apply grid; .saeule{@apply grid;
img{@apply w-full justify-self-center mb-1} img{@apply w-full justify-self-center mb-1 min-h-[50px] }
.blue-top{@apply bg-secondary text-white text-center font-bold rounded-md mb-1 p-4} .blue-top{@apply bg-secondary text-white text-center font-bold rounded-md mb-1 p-4}
.name{@apply w-full} .name{@apply w-full}
.name{font-size: clamp(15px, 2vh, 18px)} .name{font-size: clamp(15px, 2vh, 18px)}
@@ -122,7 +124,7 @@ img{@apply w-full justify-self-center mb-1}
.white{@apply border-x-[1px] border-gray-500 text-center text-black p-4} .white{@apply border-x-[1px] border-gray-500 text-center text-black p-4}
.services{@apply py-2} .services{@apply py-2}
.services:first-child{@apply font-bold} .services:first-child{@apply font-bold}
.services:nth-child(even){@apply bg-secondary/10} .services:nth-child(even){@apply bg-white}
.services:not(:last-child){@apply border-b-[1px] border-gray-300} .services:not(:last-child){@apply border-b-[1px] border-gray-300}
.blue-bottom{@apply bg-secondary text-white text-center font-bold rounded-b-md p-4} .blue-bottom{@apply bg-secondary text-white text-center font-bold rounded-b-md p-4}
} }

View File

@@ -1,5 +1,6 @@
<header class="max-w-[1920px] w-full relative bg-white <header class="max-w-[1920px] w-full relative bg-white
md:bg-[url('/images/header/header-bg.jpg')] md:bg-cover md:grid md:grid-cols-2 md:bg-[url('/images/header/header-bg.jpg')]
md:bg-cover md:grid md:grid-cols-2
lg:grid lg:grid-cols-3"> lg:grid lg:grid-cols-3">

View File

@@ -25,7 +25,7 @@
<div <div
id="card-login" id="card-login"
class="box card hidden bg-white px-6 py-4 mb-5 class="box card hidden bg-white px-6 py-4 mb-5
lg:block" lg:block lg:ring-2 lg:ring-secondary/50"
> >
<div class="grid"> <div class="grid">
<div class="grid grid-cols-[2rem,1fr,1fr]"> <div class="grid grid-cols-[2rem,1fr,1fr]">
@@ -38,12 +38,12 @@
<div class="justify-self-end text-secondary"> <div class="justify-self-end text-secondary">
<a <a
class="text-lg font-bold text-box-heading leading-6 no-underline hover:text-primary" class="text-lg font-bold text-box-heading leading-6 no-underline hover:text-primary"
href="">Kontakt</a href="./kontakt">Kontakt</a
> >
/ /
<a <a
class="text-lg font-bold text-box-heading leading-6 no-underline hover:text-primary" class="text-lg font-bold text-box-heading leading-6 no-underline hover:text-primary"
href="">AGB</a href="./agb">AGB</a
> >
</div> </div>
</div> </div>

View File

@@ -12,7 +12,7 @@ class=" box card hidden bg-white px-6 py-4 mb-5
<hr class="mb-4"> <hr class="mb-4">
<img class="w-[80%] justify-self-center !min-w-[100px] mb-[1rem]" src="/images/right-sidebar/UMBE_gewerbegebaeude.svg" alt="Wohnhaus Verbrauchsausweis"/> <img class="w-[80%] justify-self-center !min-w-[100px] mb-[1rem]" src="/images/right-sidebar/UMBE_gewerbegebaeude.svg" alt="Wohnhaus Verbrauchsausweis"/>
<a href="#" id="link-BA-promo" <a href="./energieausweis-erstellen/bedarfsausweis-gewerbe/" id="link-BA-promo"
class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem] class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem]
hover:bg-primary hover:bg-primary
" >jetzt Bedarfssausweis erstellen</a> " >jetzt Bedarfssausweis erstellen</a>

View File

@@ -12,7 +12,7 @@ class=" box card hidden bg-white px-6 py-4 mb-5
<hr class="mb-4"> <hr class="mb-4">
<img class="w-[80%] justify-self-center !min-w-[100px] mb-[1rem]" src="/images/right-sidebar/UMBE_wohngebaeude.svg" alt="Wohnhaus Verbrauchsausweis"/> <img class="w-[80%] justify-self-center !min-w-[100px] mb-[1rem]" src="/images/right-sidebar/UMBE_wohngebaeude.svg" alt="Wohnhaus Verbrauchsausweis"/>
<a href="index" id="link-BA-promo" <a href="./energieausweis-erstellen/bedarfsausweis-wohngebaeude/" id="link-BA-promo"
class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem] class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem]
hover:bg-primary hover:bg-primary
" >jetzt Bedarfssausweis erstellen</a> " >jetzt Bedarfssausweis erstellen</a>

View File

@@ -12,7 +12,7 @@
<hr class="mb-4"> <hr class="mb-4">
<img class="w-[80%] justify-self-center !min-w-[100px] mb-[1rem]" src="/images/right-sidebar/UMBE_gewerbegebaeude.svg" alt="Gewerbe Verbrauchsausweis"/> <img class="w-[80%] justify-self-center !min-w-[100px] mb-[1rem]" src="/images/right-sidebar/UMBE_gewerbegebaeude.svg" alt="Gewerbe Verbrauchsausweis"/>
<a href="index" id="link-VA-promo" <a href="./energieausweis-erstellen/verbrauchsausweis-gewerbe/" id="link-VA-promo"
class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem] class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem]
hover:bg-primary hover:bg-primary
" >jetzt Verbrauchsausweis erstellen</a> " >jetzt Verbrauchsausweis erstellen</a>

View File

@@ -12,7 +12,7 @@
<hr class="mb-4"> <hr class="mb-4">
<img class="w-[80%] justify-self-center !min-w-[100px] mb-[1rem]" src="/images/right-sidebar/UMBE_wohngebaeude.svg" alt="Wohnhaus Verbrauchsausweis"/> <img class="w-[80%] justify-self-center !min-w-[100px] mb-[1rem]" src="/images/right-sidebar/UMBE_wohngebaeude.svg" alt="Wohnhaus Verbrauchsausweis"/>
<a href="" id="link-VA-promo" <a href="./energieausweis-erstellen/verbrauchsausweis-wohngebaeude/" id="link-VA-promo"
class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem] class=" w-[90%] justify-self-center text-center text-white font-[700] bg-secondary rounded-md px-3 py-1 mt-2 no-underline text-[1rem]
hover:bg-primary hover:bg-primary
" >jetzt Verbrauchsausweis erstellen</a> " >jetzt Verbrauchsausweis erstellen</a>

View File

@@ -1,12 +1,12 @@
<script> <script>
import ThemeController from "#components/ThemeController.svelte"; let innerWidth
let innerWidth;
function dropdown(){ function dropdown(){
const innerWidth = window.innerWidth; const innerWidth = window.innerWidth;
console.log(innerWidth); console.log(innerWidth);
if(innerWidth<1024){ if(innerWidth<1024){
const check_element = this.lastChild; const check_element = this.lastChild;
const rotate_list = document.querySelectorAll(".dd-symbol-clone"); const rotate_list = document.querySelectorAll(".dd-symbol-clone");
@@ -14,18 +14,18 @@
console.log(rotate_element); console.log(rotate_element);
var first_check = check_element.classList.contains( var first_check = check_element.classList.contains("show-dropdown-content");
"show-dropdown-content"
);
const nodeList = document.querySelectorAll(".dropdown-content"); const nodeList = document.querySelectorAll(".dropdown-content");
if(first_check == true){ if(first_check == true){
check_element.classList.remove("show-dropdown-content"); check_element.classList.remove("show-dropdown-content");
rotate_element.classList.toggle("rotate-symbol"); rotate_element.classList.toggle("rotate-symbol");
}else{ }else{
for (let i = 0; i < nodeList.length; i++) { for (let i = 0; i < nodeList.length; i++) {
const element = nodeList[i]; const element = nodeList[i];
element.classList.remove("show-dropdown-content"); element.classList.remove("show-dropdown-content");
} }
for (let i = 0; i < rotate_list.length; i++) { for (let i = 0; i < rotate_list.length; i++) {
const element = rotate_list[i]; const element = rotate_list[i];
@@ -36,6 +36,7 @@
rotate_element.classList.add("rotate-symbol"); rotate_element.classList.add("rotate-symbol");
} }
} }
} }
function hover(){ function hover(){
@@ -61,8 +62,7 @@
function hamburger(){ function hamburger(){
const nodeList = document.querySelectorAll(".dropdown-content"); const nodeList = document.querySelectorAll(".dropdown-content");
for (let i = 0; i < nodeList.length; i++) { for (let i = 0; i < nodeList.length; i++) {
nodeList[i].classList.remove("show-dropdown-content"); nodeList[i].classList.remove("show-dropdown-content");}
}
var element = document.getElementById("card-navigation"); var element = document.getElementById("card-navigation");
element.classList.toggle("hidden"); element.classList.toggle("hidden");
@@ -70,176 +70,127 @@
var first_check = spans[0].classList.contains("hamburger-swing-0"); var first_check = spans[0].classList.contains("hamburger-swing-0");
if(first_check == true){ if(first_check == true){
for (let i = 0; i < spans.length; i++) { for (let i = 0; i < spans.length; i++)
spans[i].classList.remove("hamburger-swing-" + i); {spans[i].classList.remove("hamburger-swing-"+i);}
}
const rotate_list = document.querySelectorAll(".dd-symbol"); const rotate_list = document.querySelectorAll(".dd-symbol");
for (let i = 0; i < rotate_list.length; i++) { for (let i = 0; i < rotate_list.length; i++)
rotate_list[i].classList.remove("rotate-symbol"); {rotate_list[i].classList.remove("rotate-symbol");}
}
}else{ }else{
for (let i = 0; i < spans.length; i++) { for (let i = 0; i < spans.length; i++)
spans[i].classList.add("hamburger-swing-" + i); {spans[i].classList.add("hamburger-swing-"+i);} }
}
}
} }
</script> </script>
<svelte:window bind:innerWidth /> <svelte:window bind:innerWidth />
<div
class="hamburger_menu py-1 px-2 bg-secondary <div class="hamburger_menu py-1 px-2 bg-secondary
xs:px-6 xs:px-6
lg:hidden" lg:hidden">
>
<div <div id="hamburger" on:click={hamburger} on:keydown={hamburger} class="cursor-pointer">
id="hamburger"
on:click={hamburger}
on:keydown={hamburger}
class="cursor-pointer"
>
<span></span> <span></span>
<span></span> <span></span>
<span></span> <span></span>
</div> </div>
</div> </div>
<nav id="card-navigation" class="card-navigation hidden box lg:block">
<div
class="nav-element dropdown lg:dropdown-right" <nav id="card-navigation" class="card-navigation hidden box ring-2 ring-primary/50 lg:block">
on:click={dropdown}
on:keydown={dropdown} <div class="nav-element dropdown lg:dropdown-right" on:click={dropdown} on:keydown={dropdown} on:mouseover={hover} on:mouseleave={hoverout}>
on:mouseover={hover}
on:mouseleave={hoverout}
>
{#if innerWidth > 1023} {#if innerWidth > 1023}
<a href="/energieausweis-erstellen/verbrauchsausweis-wohnen" class="nav-element-child xl:rounded-t-[.75rem]" <a href="" class="nav-element-child xl:rounded-t-[.75rem] lg:rounded-t-lg xl:rounded-t-xl " >Energieausweis erstellen<span class="dd-symbol-clone"></span><span class="dd-symbol"></span></a>
>Energieausweis erstellen<span class="dd-symbol-clone"></span
><span class="dd-symbol"></span></a
>
{:else} {:else}
<a href="/energieausweis-erstellen/verbrauchsausweis-wohnen" class="nav-element-child xl:rounded-t-[.75rem]" <a href="javascript:void(0)" class="nav-element-child xl:rounded-t-[.75rem]">Energieausweis erstellen<span class="dd-symbol-clone"></span><span class="dd-symbol"></span></a>
>Energieausweis erstellen<span class="dd-symbol-clone"></span
><span class="dd-symbol"></span></a
>
{/if} {/if}
<ul class="dropdown-content energieasusweis-erstellen"> <ul class="dropdown-content energieasusweis-erstellen">
{#if innerWidth < 1023} {#if innerWidth < 1023}
<li><a href="/energieausweis-erstellen/verbrauchsausweis-wohnen">Energieausweis erstellen</a></li> <li><a href="">Energieausweis erstellen</a></li>
{/if} {/if}
<li><a href="/energieausweis-erstellen/verbrauchsausweis-wohnen">Verbrauchsausweis erstellen</a></li> <li><a href="/energieausweis-erstellen/verbrauchsausweis-wohngebaeude/">Verbrauchsausweis erstellen</a></li>
<li><a href="">Bedarfsausweis erstellen</a></li> <li><a href="/energieausweis-erstellen/bedarfsausweis-wohngebaeude/">Bedarfsausweis erstellen</a></li>
<li><a href="">Verbrauchsausweis Gewerbe erstellen</a></li> <li><a href="/energieausweis-erstellen/verbrauchsausweis-gewerbe/">Verbrauchsausweis Gewerbe erstellen</a></li>
<li><a href="">Bedarfsausweis Gewerbe erstellen</a></li> <li><a href="/energieausweis-erstellen/bedarfsausweis-gewerbe/">Bedarfsausweis Gewerbe erstellen</a></li>
</ul> </ul>
</div> </div>
<div class="nav-element dropdown"> <div class="nav-element">
<div class="nav-element-child">Welcher Energieausweis?</div> <a class="no-dropdown nav-element-child" href="/welcher-energieausweis">Welcher Energieausweis?</a>
</div> </div>
<div <div class="nav-element dropdown lg:dropdown-right" on:click={dropdown} on:keydown={dropdown} on:mouseover={hover} on:mouseleave={hoverout}>
class="nav-element dropdown lg:dropdown-right" <a href="javascript:void(0)" class="nav-element-child">Verbrauchsausweis<span class="dd-symbol-clone"></span><span class="dd-symbol"></span></a>
on:click={dropdown}
on:keydown={dropdown}
on:mouseover={hover}
on:mouseleave={hoverout}
>
<a href="#" class="nav-element-child"
>Verbrauchsausweis<span class="dd-symbol-clone"></span><span
class="dd-symbol"></span
></a
>
<ul class="dropdown-content verbrauchsausweis"> <ul class="dropdown-content verbrauchsausweis">
{#if innerWidth < 1023} {#if innerWidth < 1023}
<li><a href="">Verbrauchsausweis</a></li> <li><a href="index">Verbrauchsausweis</a></li>
{/if} {/if}
<li><a href="">Verbrauchsausweis Wohngebäude</a></li> <li><a href="index">Verbrauchsausweis Wohngebäude</a></li>
<li><a href="">Verbrauchsausweis online erstellen</a></li> <li><a href="index">Verbrauchsausweis online erstellen</a></li>
<li><a href="">Häufige Fragen zum Verbrauchsausweis</a></li> <li><a href="index">Häufige Fragen zum Verbrauchsausweis</a></li>
<li> <li><a href="index">Statistiken zum Verbrauchsausweis Wohngebäude</a></li>
<a href="">Statistiken zum Verbrauchsausweis Wohngebäude</a> <li><a href="index">Verbrauchsausweis Gewerbe</a></li>
</li> <li><a href="index">Verbrauchsausweis Gewerbe online erstellen</a></li>
<li><a href="">Verbrauchsausweis Gewerbe</a></li> <li><a href="index">Häufige Fragen zum Verbrauchsausweis Gewerbe</a></li>
<li><a href="">Verbrauchsausweis Gewerbe online erstellen</a></li> <li><a href="index">Statistiken zum Verbrauchsausweis Gewerbe</a></li>
<li><a href="">Häufige Fragen zum Verbrauchsausweis Gewerbe</a></li>
<li><a href="">Statistiken zum Verbrauchsausweis Gewerbe</a></li>
</ul>
</div> </div>
<div <div class="nav-element dropdown lg:dropdown-right" on:click={dropdown} on:keydown={dropdown} on:mouseover={hover} on:mouseleave={hoverout}>
class="nav-element dropdown lg:dropdown-right" <a href="javascript:void(0)" class="nav-element-child">Bedarfsausweis<span class="dd-symbol-clone"></span><span class="dd-symbol"></span></a>
on:click={dropdown}
on:keydown={dropdown}
on:mouseover={hover}
on:mouseleave={hoverout}
>
<a href="#" class="nav-element-child"
>Bedarfsausweis<span class="dd-symbol-clone"></span><span
class="dd-symbol"></span
></a
>
<ul class="dropdown-content bedarfsausweis"> <ul class="dropdown-content bedarfsausweis">
{#if innerWidth < 1023} {#if innerWidth < 1023}
<li><a href="">Bedarfsausweis</a></li> <li><a href="index">Bedarfsausweis</a></li>
{/if} {/if}
<li><a href="">Bedarfsausweis Wohngebäude</a></li> <li><a href="index">Bedarfsausweis Wohngebäude</a></li>
<li><a href="">Bedarfsausweis online erstellen</a></li> <li><a href="index">Bedarfsausweis online erstellen</a></li>
<li><a href="">Häufige Fragen zum Bedarfsausweis</a></li> <li><a href="index">Häufige Fragen zum Bedarfsausweis</a></li>
<li><a href="">Statistiken zum Bedarfsausweis Wohngebäude</a></li> <li><a href="index">Statistiken zum Bedarfsausweis Wohngebäude</a></li>
<li><a href="">Bedarfsausweis Gewerbe</a></li> <li><a href="index">Bedarfsausweis Gewerbe</a></li>
<li><a href="">Bedarfsausweis Gewerbe online erstellen</a></li> <li><a href="index">Bedarfsausweis Gewerbe online erstellen</a></li>
<li><a href="">Häufige Fragen zum Bedarfsausweis Gewerbe</a></li> <li><a href="index">Häufige Fragen zum Bedarfsausweis Gewerbe</a></li>
<li><a href="">Statistiken zum Bedarfsausweis Gewerbe</a></li> <li><a href="index">Statistiken zum Bedarfsausweis Gewerbe</a></li>
</ul> </ul>
</div> </div>
<div
class="nav-element dropdown lg:dropdown-right" <div class="nav-element dropdown lg:dropdown-right" on:click={dropdown} on:keydown={dropdown} on:mouseover={hover} on:mouseleave={hoverout}>
on:click={dropdown} <a href="javascript:void(0)" class="nav-element-child">Energieausweis<span class="dd-symbol-clone"></span><span class="dd-symbol"></span></a>
on:keydown={dropdown}
on:mouseover={hover}
on:mouseleave={hoverout}
>
<a href="#" class="nav-element-child"
>Energieausweis<span class="dd-symbol-clone"></span><span
class="dd-symbol"></span
></a
>
<ul class="dropdown-content energieausweis"> <ul class="dropdown-content energieausweis">
{#if innerWidth < 1023} {#if innerWidth < 1023}
<li><a href="">Energieausweis</a></li> <li><a href="index">Energieausweis</a></li>
{/if} {/if}
<li class=""><a href="">Energieausweis Pflicht</a></li> <li class=""><a href="index">Energieausweis Pflicht</a></li>
<li class=""><a href="">Energieausweis Kosten</a></li> <li class=""><a href="index">Energieausweis Kosten</a></li>
<li class=""><a href="">Energieausweis Haus</a></li> <li class=""><a href="index">Energieausweis Haus</a></li>
</ul> </ul>
</div> </div>
<div class="nav-element dropdown"> <div class="nav-element">
<div class="nav-element-child">EnEV Zusammenfassung - Archiv</div> <a class="no-dropdown nav-element-child" href="/enev-zusammenfassung">EnEV Zusammenfassung - Archiv</a>
</div> </div>
<div class="nav-element dropdown"> <div class="nav-element">
<div class="nav-element-child">Energieausweis Aussteller</div> <a class="no-dropdown nav-element-child" href="/energieausweis-aussteller">Energieausweis Aussteller</a>
</div> </div>
<div class="nav-element dropdown"> <div class="nav-element">
<div class="nav-element-child">Kundenbewertungen</div> <a class="no-dropdown nav-element-child" href="/kundenbewertungen">Kundenbewertungen</a>
</div> </div>
<div class="nav-element dropdown"> <div class="nav-element">
<div class="nav-element-child">FAQ</div> <a class="no-dropdown nav-element-child" href="/faq">FAQ</a>
</div> </div>
<div class="nav-element dropdown"> <div class="nav-element">
<div class="nav-element-child xl:!rounded-b-xl">Für Entwickler</div> <a class="no-dropdown nav-element-child lg:!rounded-b-lg xl:!rounded-b-xl"href="/fuer-entwickler">Für Entwickler</a>
</div>
<div class="nav-element dropdown">
<ThemeController></ThemeController>
</div> </div>
</nav> </nav>
<style> <style>
.dd-symbol::before{ .dd-symbol::before{
content: ""; content:'';
font-size:0.95rem; font-size:0.95rem;
position:absolute; position:absolute;
top:0px; top:0px;
@@ -249,12 +200,10 @@
animation-iteration-count: infinite; animation-iteration-count: infinite;
} }
.dd-symbol { .dd-symbol{visibility: hidden;}
visibility: hidden;
}
.dd-symbol::after{ .dd-symbol::after{
content: ""; content:'';
font-size:0.95rem; font-size:0.95rem;
position:absolute; position:absolute;
top:0px; top:0px;
@@ -266,26 +215,15 @@
} }
@keyframes flim{ @keyframes flim{
0% { 0% {opacity: 0;}
opacity: 0; 16.66% {opacity: 0.25;}
} 33.32% {opacity: 0.5;}
16.66% { 49.98% {opacity: 0.75;}
opacity: 0.25; 66.64% {opacity: 0.5;}
} 83.33% {opacity: 0.25;}
33.32% { 100% {opacity: 0;}
opacity: 0.5;
}
49.98% {
opacity: 0.75;
}
66.64% {
opacity: 0.5;
}
83.33% {
opacity: 0.25;
}
100% {
opacity: 0;
}
} }
</style> </style>

View File

@@ -5,6 +5,8 @@ import Preistabelle from "#sidebarCards/card-price-info.svelte";
--- ---
<div class="flex flex-col grow"> <div class="flex flex-col grow">
<Navigation client:load /> <Navigation client:load />
<Preistabelle client:load /> <Preistabelle client:load />
</div> </div>

View File

@@ -11,7 +11,6 @@ import BAGpromo from "#sidebarCards/card-BA-G-promo.svelte";
<div class="hidden <div class="hidden
xl:flex xl:flex-col xl:grow xl:flex xl:flex-col xl:grow
"> ">
<Login client:load /> <Login client:load />
<Contact client:load /> <Contact client:load />
<Review client:load /> <Review client:load />

View File

@@ -1,9 +1,10 @@
--- ---
import "#style/global.css" import "../style/global.css";
import "../../svelte-dialogs.config" import "../../svelte-dialogs.config"
import Footer from '#components/design/footer/Footer.astro'; import Header from "#header/Header.astro";
import Header from '#components/design/header/Header.astro'; import Footer from "#footer/Footer.astro";
import SidebarLeft from '#components/design/sidebars/left/SidebarLeft.astro'; import SidebarLeft from "#sidebarLeft/SidebarLeft.astro";
import { NotificationWrapper } from "@ibcornelsen/ui";
export interface Props { export interface Props {
title: string; title: string;
@@ -11,38 +12,14 @@ export interface Props {
const { title } = Astro.props; const { title } = Astro.props;
const schema = JSON.stringify({
'@context': 'http://schema.org',
'@type': 'Corporation',
name: 'IB Cornelsen',
alternateName: 'online-energieausweis.org',
url: 'https://online-energieausweis.org',
logo: 'https://online-energieausweis.org/ib-cornelsen.png',
address: {
'@type': 'PostalAddress',
streetAddress: 'Katendeich 5A',
addressLocality: 'Hamburg',
postalCode: '21035',
addressCountry: 'Deutschland',
email: 'info@online-energieausweis.org',
},
contactPoint: {
'@type': 'ContactPoint',
telephone: '+49-040-209339850',
faxNumber: '+49-040-209339859',
contactType: 'customer service',
areaServed: 'DE',
availableLanguage: 'German',
},
});
--- ---
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="de">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<script type="application/ld+json" set:html={schema}></script>
<link rel="icon" type="image/svg+xml" href="/favicon.jpg" /> <link rel="icon" type="image/svg+xml" href="/favicon.jpg" />
<meta <meta
@@ -83,14 +60,30 @@ const schema = JSON.stringify({
</head> </head>
<body> <body>
<container class="w-full max-w-[1920px]">
<Header /> <Header />
<main class="grid gap-6 p-6 grid-cols-[2fr,8fr] max-w-[1920px] w-full bg-base-100">
<SidebarLeft></SidebarLeft> <main
<article class="bg-base-200 rounded-lg border border-base-300 h-min"> class="w-full p-0 grid
sm:grid-cols-[minmax(1fr,1fr)] sm:gap-1 sm:p-1
md:grid-cols-[minmax(1fr,1fr)] md:gap-2 md:p-2
lg:grid-cols-[minmax(250px,250px)1fr] lg:gap-3 lg:p-3
xl:grid-cols-[minmax(350px,350px)1fr] xl:gap-4 xl:p-4
2xl:grid-cols-[minmax(350px,350px)1fr] 2xl:gap-5 2xl:p-5
">
<SidebarLeft />
<article class="box grow">
<slot /> <slot />
</article> </article>
</main> </main>
<Footer /> <Footer />
<NotificationWrapper client:load />
</container>
</body> </body>
</html> </html>
@@ -186,15 +179,6 @@ article {
); */ ); */
} }
.box {
@apply border-2 border-[#ffcc03] p-4 rounded-lg bg-base-200;
/* background: linear-gradient(
135deg,
rgba(252, 234, 187, 1) 0%,
rgba(253, 235, 189, 1) 52%,
rgba(251, 223, 147, 1) 100%
); */
}
.headline { .headline {
@apply text-lg; @apply text-lg;

View File

@@ -33,13 +33,16 @@ const { title } = Astro.props;
<body> <body>
<container class="w-full max-w-[1920px]"> <container class="w-full max-w-[1920px]">
<Header />
<main
class="w-full p-0
lg:grid grid-cols-[max-content,6fr] lg:gap-3 lg:p-3
xl:grid-cols-[2fr,6fr,2fr] xl:py-4 xl:px-3
2xl:grid-cols-[2fr,6fr,2fr] 2xl:gap-5 2xl:py-4 2xl:px-9
<Header />
<main
class="w-full p-0 grid
sm:grid-cols-[minmax(1fr,1fr)] sm:gap-1 sm:p-1
md:grid-cols-[minmax(1fr,1fr)] md:gap-2 md:p-2
lg:grid-cols-[minmax(250px,250px)1fr] lg:gap-3 lg:p-3
xl:grid-cols-[minmax(350px,350px)1fr] xl:gap-4 xl:p-4
2xl:grid-cols-[minmax(350px,350px)1fr_minmax(350px,350px)] 2xl:gap-5 2xl:p-5
"> ">
<SidebarLeft /> <SidebarLeft />

View File

@@ -1,6 +1,6 @@
--- ---
layout; ../layouts/Layout.astro layout: ../layouts/Layout.astro
title: AGB - online-energieausweis.org title: "Allgemeine Geschäftsbedingungen"
--- ---
# Allgemeine Geschäftsbedingungen # Allgemeine Geschäftsbedingungen

View File

@@ -0,0 +1,14 @@
---
import Layout from "#layouts/Layout.astro";
---
<Layout title="Ingeneurbüro Cornelsen Kontakt - Online Energieausweis">
<h1>Kontakt - Online Energieausweis</h1>
</Layout>

View File

@@ -72,7 +72,9 @@ article {
/*BOXES*/ /*BOXES*/
.box{ .box{
@apply rounded-none @apply rounded-none
xl:rounded-xl lg:shadow-box lg:ring-1 lg:ring-gray-300 lg:rounded-lg lg:shadow-box lg:ring-1 lg:ring-gray-300
xl:rounded-xl
} }
.card{ .card{
@@ -91,10 +93,16 @@ article {
.nav-element:not(:first-child){@apply border-gray-200 border-t-[1px]} .nav-element:not(:first-child){@apply border-gray-200 border-t-[1px]}
.no-dropdown, .no-dropdown:hover{@apply text-black no-underline}
.nav-element:hover > .nav-element-child{ .nav-element:hover > .nav-element-child{
@apply !bg-primary !text-white cursor-pointer @apply !bg-primary !text-white cursor-pointer
} }
.nav-element:hover > .nav-element-child .no-dropdown{
@apply !bg-primary !text-white cursor-pointer
}
.nav-element:hover > .dropdown-content{ .nav-element:hover > .dropdown-content{
@apply lg:visible lg:opacity-100 lg:block @apply lg:visible lg:opacity-100 lg:block
} }

View File

@@ -2,7 +2,9 @@
module.exports = { module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}", "./node_modules/@ibcornelsen/ui/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"], content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}", "./node_modules/@ibcornelsen/ui/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
darkMode: "class", darkMode: "class",
plugins: [require("daisyui"), require("@tailwindcss/typography")], plugins:
[require("daisyui"),
require("@tailwindcss/typography")],
important: true, important: true,
theme: { theme: {
extend: { extend: {
@@ -17,6 +19,21 @@ module.exports = {
}, },
boxShadow: { boxShadow: {
'box': '3px 3px 6px rgba(0, 0, 0, 0.1)', 'box': '3px 3px 6px rgba(0, 0, 0, 0.1)',
},
gridTemplateColumns: {
// Simple 16 column grid
//'standard-sm': 'minmax(350px, 2fr) 6fr minmax(350px, 2fr)',
//'standard-md': 'minmax(350px, 2fr) 6fr minmax(350px, 2fr)',
//'standard-lg': 'minmax(350px, 2fr) 6fr minmax(350px, 2fr)',
//'standard-xl': 'minmax(350px, 2fr) 6fr minmax(350px, 2fr)',
//'standard-2xl': 'minmax(300px, 300px) 6fr minmax(300px, 300px)',
//'formular-sm': 'minmax(350px, max-content) 8fr',
//'formular-md': 'minmax(350px, max-content) 8fr',
//'formular-lg': 'minmax(350px, max-content) 8fr',
//'formular-xl': 'minmax(350px, max-content) 8fr',
//'formular-2xl': 'minmax(350px, max-content) 8fr',
} }
}, },
}, },

View File

@@ -35,6 +35,8 @@
"#sidebarCards/*": ["./src/components/design/sidebars/cards/*"], "#sidebarCards/*": ["./src/components/design/sidebars/cards/*"],
"#sidebarLeft/*": ["./src/components/design/sidebars/left/*"], "#sidebarLeft/*": ["./src/components/design/sidebars/left/*"],
"#sidebarRight/*": ["./src/components/design/sidebars/right/*"], "#sidebarRight/*": ["./src/components/design/sidebars/right/*"],
"#ausweise/*": ["./src/pages/energieausweis-erstellen/*"],
}, },
"types": ["cypress", "cypress-file-upload", "bun-types", "svelte"] "types": ["cypress", "cypress-file-upload", "bun-types", "svelte"]
} }