diff --git a/src/components/ImpressBody.tsx b/src/components/ImpressBody.tsx new file mode 100644 index 0000000..bc40fe0 --- /dev/null +++ b/src/components/ImpressBody.tsx @@ -0,0 +1,46 @@ +import { createSignal } from "solid-js"; + +const [encryptedPhoneNumberSig, setEncryptedPhoneNumber] = createSignal(""); +const [encryptedPhoneNumberLinkSig, setEncryptedPhoneNumberLink] = createSignal(""); +const [encryptedMailSig, setEncryptedMail] = createSignal(""); +const [encryptedMailLinkSig, setEncryptedMailLink] = createSignal(""); + +export const ImpressBody = (props: { + encryptedPhoneNumber: string; + encryptedPhoneNumberLink: string; + encryptedMail: string; + encryptedMailLink: string; +}) => { + setEncryptedPhoneNumber(props.encryptedPhoneNumber); + setEncryptedPhoneNumberLink(props.encryptedPhoneNumberLink); + setEncryptedMail(props.encryptedMail); + setEncryptedMailLink(props.encryptedMailLink); + + setTimeout(() => { + setEncryptedPhoneNumber(atob(props.encryptedPhoneNumber)); + setEncryptedPhoneNumberLink(atob(props.encryptedPhoneNumberLink)); + setEncryptedMail(atob(props.encryptedMail)); + setEncryptedMailLink(atob(props.encryptedMailLink)); + }, 200); + return ( +
+

Impressum

+

Angaben gemäß § 5 TMG

+ +

+ Dominik Strangas
+ 80937 München +

+

+ Vertreten durch:
+ Dominik Strangas +
Kontakt: +
+ Telefon: {encryptedPhoneNumberSig()}
+ E-Mail: {encryptedMailSig()}
+ Umsatzsteuer-ID: Musterustid. (Umsatzsteuer-Identifikationsnummer gemäß §27a Umsatzsteuergesetz) +
Wirtschafts-ID: Musterwirtschaftsid +

+
+ ); +}; diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index 0371771..0967955 100644 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -30,7 +30,7 @@ export const Navigation = () => { Über Mich - Projekte + Skills @@ -56,10 +56,9 @@ export const Navigation = () => { Über Mich - Projekte + Skills ); }; -// Navigation component contains the NavigationBar component via import from partial and a screen height and screen width big absolute layer that is shown via signals diff --git a/src/components/partials/DecryptLink.tsx b/src/components/partials/DecryptLink.tsx index a5fd3d7..942e2af 100644 --- a/src/components/partials/DecryptLink.tsx +++ b/src/components/partials/DecryptLink.tsx @@ -1,4 +1,4 @@ -import { createSignal, onMount } from "solid-js" +import { For, createSignal, onMount } from "solid-js" const redirect = (link: string) => { window.location.href = (atob(link)) @@ -16,5 +16,5 @@ export const DecryptLink = (props: {linkTo: string, text:string}) => { setText(atob(props.text)) }, 100); }) - return

redirect(props.linkTo)}>{text()}

+ return {(i)=>

redirect(props.linkTo)}>{text()}

}
} \ No newline at end of file diff --git a/src/pages/impress.astro b/src/pages/impress.astro index cc78560..8bc4c3a 100644 --- a/src/pages/impress.astro +++ b/src/pages/impress.astro @@ -9,6 +9,7 @@ import Products from "../views/Products.astro"; import LandingHero from "../views/LandingHero.astro"; import Footer from "../views/Footer.astro"; import { DecryptLink } from "../components/partials/DecryptLink"; +import { ImpressBody } from "../components/ImpressBody"; const encryptedMailLink = btoa("mailto:dominik@oceanwave018.de"); const encryptedMail = btoa("dominik@oceanwave018.de"); @@ -26,29 +27,8 @@ const encryptedPhoneNumber = btoa("017664001756"); -
-

Impressum

-

Angaben gemäß § 5 TMG

- -

Dominik Strangas
80937 München

-

- Vertreten durch:
Dominik Strangas
Kontakt:
-

- Telefon:   -
-
-

-

- E-Mail:   -
-
Umsatzsteuer-ID: -

-

- Umsatzsteuer-Identifikationsnummer gemäß §27a Umsatzsteuergesetz: Musterustid. Wirtschafts-ID: - Musterwirtschaftsid -

-

+
+
diff --git a/src/pages/mystory.astro b/src/pages/mystory.astro index e69de29..e0d2a48 100644 --- a/src/pages/mystory.astro +++ b/src/pages/mystory.astro @@ -0,0 +1,23 @@ +--- +import { Navigation } from "../components/Navigation"; +import Footer from "../views/Footer.astro"; + +type StoryItem = { + title: string, + description: string, + image: string, +} + + +const StoryItems: StoryItem[] = [ + {title: "Pre-Work", description:"", image:""} +] + +--- + + + +
+

Meine Geschichte

+
+