diff --git a/src/components/partials/DecryptLink.tsx b/src/components/partials/DecryptLink.tsx new file mode 100644 index 0000000..a5fd3d7 --- /dev/null +++ b/src/components/partials/DecryptLink.tsx @@ -0,0 +1,20 @@ +import { createSignal, onMount } from "solid-js" + +const redirect = (link: string) => { + window.location.href = (atob(link)) +} + +const [text, setText] = createSignal("") + + + + +export const DecryptLink = (props: {linkTo: string, text:string}) => { + console.log(props.text) + onMount(async ()=> { + setTimeout(() => { + setText(atob(props.text)) + }, 100); + }) + return
redirect(props.linkTo)}>{text()}
+} \ No newline at end of file diff --git a/src/pages/impress.astro b/src/pages/impress.astro index e69de29..cc78560 100644 --- a/src/pages/impress.astro +++ b/src/pages/impress.astro @@ -0,0 +1,55 @@ +--- +import "../styles/global.css"; +import { Navigation } from "../components/Navigation"; +import { ClientLink } from "../components/partials/ClientLink"; +import { Button } from "../components/partials/Button"; +import Projects from "../views/Projects.astro"; +import AboutMe from "../views/AboutMe.astro"; +import Products from "../views/Products.astro"; +import LandingHero from "../views/LandingHero.astro"; +import Footer from "../views/Footer.astro"; +import { DecryptLink } from "../components/partials/DecryptLink"; + +const encryptedMailLink = btoa("mailto:dominik@oceanwave018.de"); +const encryptedMail = btoa("dominik@oceanwave018.de"); +const encryptedPhoneNumberLink = btoa("tel:017664001756"); +const encryptedPhoneNumber = btoa("017664001756"); +--- + + + + + + + +Impressum
+Angaben gemäß § 5 TMG
+ +Dominik Strangas
80937 München
+ Vertreten durch:
Dominik Strangas
Kontakt:
+
+
+ Umsatzsteuer-Identifikationsnummer gemäß §27a Umsatzsteuergesetz: Musterustid. Wirtschafts-ID: + Musterwirtschaftsid +
+ + +