diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..46086a3a --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +# build output +dist/ + +# generated types +.astro/ + +# vscode +.vscode + +# dependencies +node_modules/ + +# logs +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# lockfile +pnpm-lock.yaml + +# environment variables +.env +.env.production + +# macOS-specific files +.DS_Store diff --git a/astro.config.mjs b/astro.config.mjs new file mode 100644 index 00000000..7f03590e --- /dev/null +++ b/astro.config.mjs @@ -0,0 +1,13 @@ +import { defineConfig } from "astro/config"; + +// https://astro.build/config +import svelte from "@astrojs/svelte"; + +// https://astro.build/config +import tailwind from "@astrojs/tailwind"; + +// https://astro.build/config +export default defineConfig({ + integrations: [svelte(), tailwind()], + outDir: "./dist" +}); diff --git a/package.json b/package.json new file mode 100644 index 00000000..6e669050 --- /dev/null +++ b/package.json @@ -0,0 +1,35 @@ +{ + "name": "online-energieausweis", + "version": "0.0.1", + "license": "GPL V3.0", + "type": "module", + "scripts": { + "dev": "astro dev", + "build": "astro build", + "preview": "astro preview", + "astro": "astro", + "test:e2e": "cypress run", + "test:unit": "vitest", + "format": "prettier --write ." + }, + "private": true, + "dependencies": { + "@astrojs/svelte": "^2.0.2", + "@astrojs/tailwind": "^3.1.0", + "astro": "^2.0.16", + "svelte": "^3.54.0", + "tailwindcss": "^3.0.24", + "vitest": "^0.29.2" + }, + "devDependencies": { + "@typescript-eslint/eslint-plugin": "^5.36.1", + "@typescript-eslint/parser": "^5.36.1", + "astro": "^2.1.2", + "eslint": "~8.15.0", + "eslint-config-prettier": "8.1.0", + "prettier": "^2.8.4", + "sass": "^1.58.3", + "svelte-preprocess": "^5.0.1", + "typescript": "^4.9.5" + } +} diff --git a/public/favicon.jpg b/public/favicon.jpg new file mode 100644 index 00000000..410a1522 Binary files /dev/null and b/public/favicon.jpg differ diff --git a/public/images/1.jpeg b/public/images/1.jpeg new file mode 100644 index 00000000..b9328968 Binary files /dev/null and b/public/images/1.jpeg differ diff --git a/public/images/2.jpg b/public/images/2.jpg new file mode 100644 index 00000000..bc609420 Binary files /dev/null and b/public/images/2.jpg differ diff --git a/public/images/3.jpg b/public/images/3.jpg new file mode 100644 index 00000000..d2268021 Binary files /dev/null and b/public/images/3.jpg differ diff --git a/public/images/4.jpeg b/public/images/4.jpeg new file mode 100644 index 00000000..740bbdc9 Binary files /dev/null and b/public/images/4.jpeg differ diff --git a/public/images/Bedarfsausweis-Gewerbe-Farbskala.png b/public/images/Bedarfsausweis-Gewerbe-Farbskala.png new file mode 100644 index 00000000..26a7d6d6 Binary files /dev/null and b/public/images/Bedarfsausweis-Gewerbe-Farbskala.png differ diff --git a/public/images/Bedarfsausweis-Wohngebaeude-Beispiel.jpg b/public/images/Bedarfsausweis-Wohngebaeude-Beispiel.jpg new file mode 100644 index 00000000..8df7dad3 Binary files /dev/null and b/public/images/Bedarfsausweis-Wohngebaeude-Beispiel.jpg differ diff --git a/public/images/Bedarfsausweis-Wohngebaeude-Einsparpotentiale.gif b/public/images/Bedarfsausweis-Wohngebaeude-Einsparpotentiale.gif new file mode 100644 index 00000000..7fc6e234 Binary files /dev/null and b/public/images/Bedarfsausweis-Wohngebaeude-Einsparpotentiale.gif differ diff --git a/public/images/Bedarfsausweis-Wohngebäude-Energieverluste.jpg b/public/images/Bedarfsausweis-Wohngebäude-Energieverluste.jpg new file mode 100644 index 00000000..2ab31535 Binary files /dev/null and b/public/images/Bedarfsausweis-Wohngebäude-Energieverluste.jpg differ diff --git a/public/images/DIA_BA_Wohn.png b/public/images/DIA_BA_Wohn.png new file mode 100644 index 00000000..e5983ca1 Binary files /dev/null and b/public/images/DIA_BA_Wohn.png differ diff --git a/public/images/DIA_VA_Gewerbe.png b/public/images/DIA_VA_Gewerbe.png new file mode 100644 index 00000000..7f6751ba Binary files /dev/null and b/public/images/DIA_VA_Gewerbe.png differ diff --git a/public/images/DIA_VA_Wohn.png b/public/images/DIA_VA_Wohn.png new file mode 100644 index 00000000..11f78372 Binary files /dev/null and b/public/images/DIA_VA_Wohn.png differ diff --git a/public/images/Endenergiebedaf-Primaerenergiebedarf-Farbskala.png b/public/images/Endenergiebedaf-Primaerenergiebedarf-Farbskala.png new file mode 100644 index 00000000..bc301a90 Binary files /dev/null and b/public/images/Endenergiebedaf-Primaerenergiebedarf-Farbskala.png differ diff --git a/public/images/Endenergieverbrauch-Primaerenergieverbrauch-Farbskala.png b/public/images/Endenergieverbrauch-Primaerenergieverbrauch-Farbskala.png new file mode 100644 index 00000000..95311ebe Binary files /dev/null and b/public/images/Endenergieverbrauch-Primaerenergieverbrauch-Farbskala.png differ diff --git a/public/images/Endenergieverbrauch-Waerme-Endenergieverbrauch-Strom-Farbskala.png b/public/images/Endenergieverbrauch-Waerme-Endenergieverbrauch-Strom-Farbskala.png new file mode 100644 index 00000000..43a5fdb3 Binary files /dev/null and b/public/images/Endenergieverbrauch-Waerme-Endenergieverbrauch-Strom-Farbskala.png differ diff --git a/public/images/IB-Cornelsen.png b/public/images/IB-Cornelsen.png new file mode 100644 index 00000000..ba082f9e Binary files /dev/null and b/public/images/IB-Cornelsen.png differ diff --git a/public/images/IBC-Icon.jpg b/public/images/IBC-Icon.jpg new file mode 100644 index 00000000..e49790ff Binary files /dev/null and b/public/images/IBC-Icon.jpg differ diff --git a/public/images/KL_engel-voelkers.png b/public/images/KL_engel-voelkers.png new file mode 100644 index 00000000..412bf05d Binary files /dev/null and b/public/images/KL_engel-voelkers.png differ diff --git a/public/images/KL_grossmann_und_berger.png b/public/images/KL_grossmann_und_berger.png new file mode 100644 index 00000000..44f62d4e Binary files /dev/null and b/public/images/KL_grossmann_und_berger.png differ diff --git a/public/images/KL_hafenmakler-zelle.png b/public/images/KL_hafenmakler-zelle.png new file mode 100644 index 00000000..6c414448 Binary files /dev/null and b/public/images/KL_hafenmakler-zelle.png differ diff --git a/public/images/KL_redos.png b/public/images/KL_redos.png new file mode 100644 index 00000000..7aa4908e Binary files /dev/null and b/public/images/KL_redos.png differ diff --git a/public/images/KL_wentzel_dr.png b/public/images/KL_wentzel_dr.png new file mode 100644 index 00000000..69596a09 Binary files /dev/null and b/public/images/KL_wentzel_dr.png differ diff --git a/public/images/SKALA-910-v2.png b/public/images/SKALA-910-v2.png new file mode 100644 index 00000000..c5a11cc9 Binary files /dev/null and b/public/images/SKALA-910-v2.png differ diff --git a/public/images/SKALA-910-v3.png b/public/images/SKALA-910-v3.png new file mode 100644 index 00000000..686e54f8 Binary files /dev/null and b/public/images/SKALA-910-v3.png differ diff --git a/public/images/SKALA-910.png b/public/images/SKALA-910.png new file mode 100644 index 00000000..28cd50da Binary files /dev/null and b/public/images/SKALA-910.png differ diff --git a/public/images/SKALA.png b/public/images/SKALA.png new file mode 100644 index 00000000..37a70508 Binary files /dev/null and b/public/images/SKALA.png differ diff --git a/public/images/STAT_VA-G_01.png b/public/images/STAT_VA-G_01.png new file mode 100644 index 00000000..88e88916 Binary files /dev/null and b/public/images/STAT_VA-G_01.png differ diff --git a/public/images/STAT_VA-G_02a.png b/public/images/STAT_VA-G_02a.png new file mode 100644 index 00000000..a661cf27 Binary files /dev/null and b/public/images/STAT_VA-G_02a.png differ diff --git a/public/images/VA-01.jpg b/public/images/VA-01.jpg new file mode 100644 index 00000000..6412fa4e Binary files /dev/null and b/public/images/VA-01.jpg differ diff --git a/public/images/VA-02.jpg b/public/images/VA-02.jpg new file mode 100644 index 00000000..1de60618 Binary files /dev/null and b/public/images/VA-02.jpg differ diff --git a/public/images/Verbrauchsausweis-Wohngebaeude-Beispiel.jpg b/public/images/Verbrauchsausweis-Wohngebaeude-Beispiel.jpg new file mode 100644 index 00000000..5da6d9a9 Binary files /dev/null and b/public/images/Verbrauchsausweis-Wohngebaeude-Beispiel.jpg differ diff --git a/public/images/Verbrauchsausweis-Wohngebaeude-Datenblatt.jpg b/public/images/Verbrauchsausweis-Wohngebaeude-Datenblatt.jpg new file mode 100644 index 00000000..8335efe0 Binary files /dev/null and b/public/images/Verbrauchsausweis-Wohngebaeude-Datenblatt.jpg differ diff --git a/public/images/bedarfsausweis-endenergiebedarf.jpg b/public/images/bedarfsausweis-endenergiebedarf.jpg new file mode 100644 index 00000000..5ca54cc2 Binary files /dev/null and b/public/images/bedarfsausweis-endenergiebedarf.jpg differ diff --git a/public/images/beispiel-waermedaemmung-gebaeudehuelle.jpg b/public/images/beispiel-waermedaemmung-gebaeudehuelle.jpg new file mode 100644 index 00000000..20e51e88 Binary files /dev/null and b/public/images/beispiel-waermedaemmung-gebaeudehuelle.jpg differ diff --git a/public/images/beispiel-waermedaemmung-hinterlueftet-gebaeudehuelle.jpg b/public/images/beispiel-waermedaemmung-hinterlueftet-gebaeudehuelle.jpg new file mode 100644 index 00000000..8844e27d Binary files /dev/null and b/public/images/beispiel-waermedaemmung-hinterlueftet-gebaeudehuelle.jpg differ diff --git a/public/images/building.png b/public/images/building.png new file mode 100644 index 00000000..cf227883 Binary files /dev/null and b/public/images/building.png differ diff --git a/public/images/crop.png b/public/images/crop.png new file mode 100644 index 00000000..d9adb2e1 Binary files /dev/null and b/public/images/crop.png differ diff --git a/public/images/cropped-IBC-Icon-1-180x180.jpg b/public/images/cropped-IBC-Icon-1-180x180.jpg new file mode 100644 index 00000000..629517d8 Binary files /dev/null and b/public/images/cropped-IBC-Icon-1-180x180.jpg differ diff --git a/public/images/cropped-IBC-Icon-1-192x192.jpg b/public/images/cropped-IBC-Icon-1-192x192.jpg new file mode 100644 index 00000000..410a1522 Binary files /dev/null and b/public/images/cropped-IBC-Icon-1-192x192.jpg differ diff --git a/public/images/cropped-IBC-Icon-1-270x270.jpg b/public/images/cropped-IBC-Icon-1-270x270.jpg new file mode 100644 index 00000000..0df05efd Binary files /dev/null and b/public/images/cropped-IBC-Icon-1-270x270.jpg differ diff --git a/public/images/cropped-IBC-Icon-1-32x32.jpg b/public/images/cropped-IBC-Icon-1-32x32.jpg new file mode 100644 index 00000000..4ccec8f6 Binary files /dev/null and b/public/images/cropped-IBC-Icon-1-32x32.jpg differ diff --git a/public/images/delete.png b/public/images/delete.png new file mode 100644 index 00000000..06a1766a Binary files /dev/null and b/public/images/delete.png differ diff --git a/public/images/diplom-ingenieur-jens-cornelsen.jpg b/public/images/diplom-ingenieur-jens-cornelsen.jpg new file mode 100644 index 00000000..f6f030c5 Binary files /dev/null and b/public/images/diplom-ingenieur-jens-cornelsen.jpg differ diff --git a/public/images/energieausweis-online-erstellen-verbrauchsausweis-gewerbe.png b/public/images/energieausweis-online-erstellen-verbrauchsausweis-gewerbe.png new file mode 100644 index 00000000..d74a5ea2 Binary files /dev/null and b/public/images/energieausweis-online-erstellen-verbrauchsausweis-gewerbe.png differ diff --git a/public/images/energieausweis-online-erstellen-verbrauchsausweis.png b/public/images/energieausweis-online-erstellen-verbrauchsausweis.png new file mode 100644 index 00000000..ebad59bd Binary files /dev/null and b/public/images/energieausweis-online-erstellen-verbrauchsausweis.png differ diff --git a/public/images/hamburger.png b/public/images/hamburger.png new file mode 100644 index 00000000..32346e62 Binary files /dev/null and b/public/images/hamburger.png differ diff --git a/public/images/header/header-bg.jpg b/public/images/header/header-bg.jpg new file mode 100644 index 00000000..6f339531 Binary files /dev/null and b/public/images/header/header-bg.jpg differ diff --git a/public/images/header/logo-big.png b/public/images/header/logo-big.png new file mode 100644 index 00000000..ab3777e7 Binary files /dev/null and b/public/images/header/logo-big.png differ diff --git a/public/images/icon_gewerbe_plan_01.png b/public/images/icon_gewerbe_plan_01.png new file mode 100644 index 00000000..b94a9c2f Binary files /dev/null and b/public/images/icon_gewerbe_plan_01.png differ diff --git a/public/images/icon_wohnhaus_plan_01.png b/public/images/icon_wohnhaus_plan_01.png new file mode 100644 index 00000000..a6f73227 Binary files /dev/null and b/public/images/icon_wohnhaus_plan_01.png differ diff --git a/public/images/left-sidebar/payment.gif b/public/images/left-sidebar/payment.gif new file mode 100644 index 00000000..179ff08b Binary files /dev/null and b/public/images/left-sidebar/payment.gif differ diff --git a/public/images/left-sidebar/payment.jpg b/public/images/left-sidebar/payment.jpg new file mode 100644 index 00000000..5d0e94a2 Binary files /dev/null and b/public/images/left-sidebar/payment.jpg differ diff --git a/public/images/left-sidebar/payment.png b/public/images/left-sidebar/payment.png new file mode 100644 index 00000000..a00ee104 Binary files /dev/null and b/public/images/left-sidebar/payment.png differ diff --git a/public/images/marker.png b/public/images/marker.png new file mode 100644 index 00000000..8328455f Binary files /dev/null and b/public/images/marker.png differ diff --git a/public/images/mastercard.png b/public/images/mastercard.png new file mode 100644 index 00000000..b2442b5a Binary files /dev/null and b/public/images/mastercard.png differ diff --git a/public/images/no.png b/public/images/no.png new file mode 100644 index 00000000..b80a9632 Binary files /dev/null and b/public/images/no.png differ diff --git a/public/images/objects/broker-1.png b/public/images/objects/broker-1.png new file mode 100644 index 00000000..8a40925d Binary files /dev/null and b/public/images/objects/broker-1.png differ diff --git a/public/images/objects/energy-1.png b/public/images/objects/energy-1.png new file mode 100644 index 00000000..81563818 Binary files /dev/null and b/public/images/objects/energy-1.png differ diff --git a/public/images/objects/marker-1.png b/public/images/objects/marker-1.png new file mode 100644 index 00000000..98aab598 Binary files /dev/null and b/public/images/objects/marker-1.png differ diff --git a/public/images/ok.png b/public/images/ok.png new file mode 100644 index 00000000..57094533 Binary files /dev/null and b/public/images/ok.png differ diff --git a/public/images/pattern.png b/public/images/pattern.png new file mode 100644 index 00000000..91a2f88a Binary files /dev/null and b/public/images/pattern.png differ diff --git a/public/images/payment.jpg b/public/images/payment.jpg new file mode 100644 index 00000000..5d0e94a2 Binary files /dev/null and b/public/images/payment.jpg differ diff --git a/public/images/paypal.png b/public/images/paypal.png new file mode 100644 index 00000000..e34a4d5c Binary files /dev/null and b/public/images/paypal.png differ diff --git a/public/images/pdf-icon.png b/public/images/pdf-icon.png new file mode 100644 index 00000000..d310ba79 Binary files /dev/null and b/public/images/pdf-icon.png differ diff --git a/public/images/pfeil.png b/public/images/pfeil.png new file mode 100644 index 00000000..c0c86f87 Binary files /dev/null and b/public/images/pfeil.png differ diff --git a/public/images/pfeil2.png b/public/images/pfeil2.png new file mode 100644 index 00000000..869918cb Binary files /dev/null and b/public/images/pfeil2.png differ diff --git a/public/images/question-mark.png b/public/images/question-mark.png new file mode 100644 index 00000000..3b1b2d77 Binary files /dev/null and b/public/images/question-mark.png differ diff --git a/public/images/rechnung.png b/public/images/rechnung.png new file mode 100644 index 00000000..8deb0448 Binary files /dev/null and b/public/images/rechnung.png differ diff --git a/public/images/right-sidebar/gewerbe-1.png b/public/images/right-sidebar/gewerbe-1.png new file mode 100644 index 00000000..d4a868bb Binary files /dev/null and b/public/images/right-sidebar/gewerbe-1.png differ diff --git a/public/images/right-sidebar/ing-niedersachsen.png b/public/images/right-sidebar/ing-niedersachsen.png new file mode 100644 index 00000000..fe46170d Binary files /dev/null and b/public/images/right-sidebar/ing-niedersachsen.png differ diff --git a/public/images/right-sidebar/mitglied-haendlerbund.png b/public/images/right-sidebar/mitglied-haendlerbund.png new file mode 100644 index 00000000..a5067c30 Binary files /dev/null and b/public/images/right-sidebar/mitglied-haendlerbund.png differ diff --git a/public/images/right-sidebar/palme-1.png b/public/images/right-sidebar/palme-1.png new file mode 100644 index 00000000..7b11be7d Binary files /dev/null and b/public/images/right-sidebar/palme-1.png differ diff --git a/public/images/right-sidebar/telefon-1.png b/public/images/right-sidebar/telefon-1.png new file mode 100644 index 00000000..9635ee21 Binary files /dev/null and b/public/images/right-sidebar/telefon-1.png differ diff --git a/public/images/right-sidebar/wohnhaus-1.png b/public/images/right-sidebar/wohnhaus-1.png new file mode 100644 index 00000000..f67d5f3f Binary files /dev/null and b/public/images/right-sidebar/wohnhaus-1.png differ diff --git a/public/images/right-sidebar/wohnhaus-ba-1.png b/public/images/right-sidebar/wohnhaus-ba-1.png new file mode 100644 index 00000000..19caef4d Binary files /dev/null and b/public/images/right-sidebar/wohnhaus-ba-1.png differ diff --git a/public/images/rotate-left.png b/public/images/rotate-left.png new file mode 100644 index 00000000..a73ce76d Binary files /dev/null and b/public/images/rotate-left.png differ diff --git a/public/images/rotate-right.png b/public/images/rotate-right.png new file mode 100644 index 00000000..14048a02 Binary files /dev/null and b/public/images/rotate-right.png differ diff --git a/public/images/sepa.png b/public/images/sepa.png new file mode 100644 index 00000000..c7faae3a Binary files /dev/null and b/public/images/sepa.png differ diff --git a/public/images/slidejs/arrow.svg b/public/images/slidejs/arrow.svg new file mode 100644 index 00000000..dc4c5706 --- /dev/null +++ b/public/images/slidejs/arrow.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/public/images/sofort.png b/public/images/sofort.png new file mode 100644 index 00000000..d8411848 Binary files /dev/null and b/public/images/sofort.png differ diff --git a/public/images/test1.jpg b/public/images/test1.jpg new file mode 100644 index 00000000..64d063e0 Binary files /dev/null and b/public/images/test1.jpg differ diff --git a/public/images/verbrauchsausweis-endenergiebedarf.jpg b/public/images/verbrauchsausweis-endenergiebedarf.jpg new file mode 100644 index 00000000..5ca54cc2 Binary files /dev/null and b/public/images/verbrauchsausweis-endenergiebedarf.jpg differ diff --git a/public/images/zoom-in.png b/public/images/zoom-in.png new file mode 100644 index 00000000..b7b856c4 Binary files /dev/null and b/public/images/zoom-in.png differ diff --git a/public/images/zoom-out.png b/public/images/zoom-out.png new file mode 100644 index 00000000..d5b48756 Binary files /dev/null and b/public/images/zoom-out.png differ diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 00000000..91a92e9b --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,8 @@ +--- +const currentYear = new Date().getFullYear(); +--- + +
+ Impressum und Datenschutz + © {currentYear} IB Cornelsen Hamburg. +
\ No newline at end of file diff --git a/src/components/Header.astro b/src/components/Header.astro new file mode 100644 index 00000000..eb3e631a --- /dev/null +++ b/src/components/Header.astro @@ -0,0 +1,36 @@ +--- +--- + +
+
+ Hintergrund - Rollen Architektenpapier +
+ +

Energieausweis online erstellen

+

Energieausweise nach aktueller GEG

+
+
+ + +
diff --git a/src/components/SidebarLeft.astro b/src/components/SidebarLeft.astro new file mode 100644 index 00000000..f1d3caca --- /dev/null +++ b/src/components/SidebarLeft.astro @@ -0,0 +1,91 @@ + \ No newline at end of file diff --git a/src/components/SidebarRight.astro b/src/components/SidebarRight.astro new file mode 100644 index 00000000..790d4cbb --- /dev/null +++ b/src/components/SidebarRight.astro @@ -0,0 +1,126 @@ + diff --git a/src/components/Widget.astro b/src/components/Widget.astro new file mode 100644 index 00000000..223473d4 --- /dev/null +++ b/src/components/Widget.astro @@ -0,0 +1,75 @@ +
+ + +
+
+
+
+
Gebäudetyp
+
+
+
Anlass
+
+ + + +
+
+ +
+
+
+

powered by

+ + IB Cornelsen + +
+
+
+
+ + + +
\ No newline at end of file diff --git a/src/env.d.ts b/src/env.d.ts new file mode 100644 index 00000000..f964fe0c --- /dev/null +++ b/src/env.d.ts @@ -0,0 +1 @@ +/// diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro new file mode 100644 index 00000000..fbcf8a1e --- /dev/null +++ b/src/layouts/Layout.astro @@ -0,0 +1,104 @@ +--- +import "../style/global.scss" +import Footer from '../components/Footer.astro'; +import Header from '../components/Header.astro'; +import SidebarLeft from '../components/SidebarLeft.astro'; +import SidebarRight from '../components/SidebarRight.astro'; + +export interface Props { + title: string; +} + +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', + }, +}); +--- + + + + + + + + + + + + + + + + + + + + + + + + + + + {title || 'Energieausweis online erstellen - Online Energieausweis'} + + + + +
+
+ +
+ +
+ +
+