diff --git a/.prettierrc b/.prettierrc index 392604e..755c406 100644 --- a/.prettierrc +++ b/.prettierrc @@ -3,5 +3,5 @@ "tabWidth": 2, "semi": true, "singleQuote": false, - "printWidth": 80 + "printWidth": 120 } \ No newline at end of file diff --git a/public/img/arrowDownDark.svg b/public/img/arrowDownDark.svg new file mode 100644 index 0000000..d3832a3 --- /dev/null +++ b/public/img/arrowDownDark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/x.svg b/public/img/x.svg new file mode 100644 index 0000000..1fdb6e9 --- /dev/null +++ b/public/img/x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index 507f8c8..62e3d63 100644 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -1,13 +1,57 @@ +import { Show, createSignal } from "solid-js"; + +const [mobileNav, showMobileNav] = createSignal(false); + +const setShowMobileNav = (val: boolean) => showMobileNav(val); + export const Navigation = () => { return ( <> + +
+
+ +
+ +
+
- + ); }; -// 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 \ No newline at end of file +// 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/ClientLink.tsx b/src/components/partials/ClientLink.tsx new file mode 100644 index 0000000..0de4ef3 --- /dev/null +++ b/src/components/partials/ClientLink.tsx @@ -0,0 +1,12 @@ +export const ClientLink = (props: { mail: string; text: string }) => { + const mailTo = () => { + console.log(props.mail); + location.href = `mailto:${atob(props.mail)}`; + }; + + return ( +
mailTo()} class="cursor-pointer hover:bg-emerald-500 transition-all w-52 h-16 rounded-lg flex items-center justify-center text-zinc-900 text-xl bg-emerald-400"> +

{props.text}

+
+ ); +}; diff --git a/src/components/partials/NavigationBar.tsx b/src/components/partials/NavigationBar.tsx deleted file mode 100644 index ba18924..0000000 --- a/src/components/partials/NavigationBar.tsx +++ /dev/null @@ -1,12 +0,0 @@ -export const NavigationBar = () => { - return ( - <> - - - - ) -} \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index dbf1377..38690b4 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,19 +1,77 @@ --- import "../styles/global.css"; import { Navigation } from "../components/Navigation.tsx"; +import { ClientLink } from "../components/partials/ClientLink"; -export type Project = {title: string, icon: string, text: string} +export type Project = { title: string; icon: string; text: string }; const projects: Project[] = [ - {icon: '/img/layers.svg', title: "ColrJS", text:"Farbpaletten aus Bildern extrahieren."}, - {icon: '/img/layers.svg', title: "ColrJS", text:"Farbpaletten aus Bildern extrahieren."}, - {icon: '/img/layers.svg', title: "ColrJS", text:"Farbpaletten aus Bildern extrahieren."}, - {icon: '/img/layers.svg', title: "ColrJS", text:"Farbpaletten aus Bildern extrahieren."}, - {icon: '/img/layers.svg', title: "ColrJS", text:"Farbpaletten aus Bildern extrahieren."}, - {icon: '/img/layers.svg', title: "ColrJS", text:"Farbpaletten aus Bildern extrahieren."} -] + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + }, + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + }, + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + }, + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + }, + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + }, + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + } +]; +const products: Project[] = [ + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + }, + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + }, + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + }, + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + }, + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + }, + { + icon: "/img/layers.svg", + title: "ColrJS", + text: "Farbpaletten aus Bildern extrahieren." + } +]; +const encryptedMail = btoa('dominik@oceanwave018.de') --- @@ -23,65 +81,162 @@ const projects: Project[] = [ Dominik - FullStackDev + -
-
+
+
- +

Das bin ich!

Hi, ich bin Dominik

- Ein Full-Stack Web-Developer aus - München + Ein Full-Stack Web-Developer aus München

- Toll das du da bist, endecke gerne - meinen Kosmos! 🚀 + Toll das du da bist, endecke gerne meinen Kosmos! 🚀

-
+

Meine Projekte

-
- {projects.slice(0, 4).map((project, i)=>{ - return ( -
-
- {`img
-
-

{project.title}

-

{project.text}

+
+ { + projects.slice(0, 4).map((project, i) => { + return ( +
+
+ {`img +
+
+

{project.title}

+

{project.text}

+
-
- ) - })} - + ); + }) + } + +
+
+
+

Mehr zu mir

+
+
+

Meine Skills

+
    +
  • - Fullstack Web-entwicklung

  • +
  • - SEO

  • +
  • - Web-App Deployment

  • +
+ Siehe alle +
+
+
+

Mein Werdegang

+
+

+ Ausbildung bei adabay und der BSInfo. 2020-2023 +

+

+ Übernahme bei adabay. 2023 +

+

+ Angestellt als Technical Consultant bei adabay + seit 07/2023. +

+
+ Meine vollständige Geschichte +
+
+
+
+
+

Services und Produkte

+ +
+
+
+

Willkommen an der Bar! 🍸

+

Was darfs denn heute sein?

+
+ { + products.slice(0, 4).map((product, i) => { + return ( +
+ +
+

{product.title}

+

{product.text}

+
+
+ ); + }) + } +
+ + Mehr + +
+
+
+

Interesse geweckt?

+

Lass mir doch eine Nachricht da!

+ +