diff --git a/locales/de/translation.json b/locales/de/translation.json
index 2f7e627..181eca8 100644
--- a/locales/de/translation.json
+++ b/locales/de/translation.json
@@ -1,36 +1,45 @@
{
- "siteDescription": "Hallo, ich bin Kevin Kandlbinder, ein Entwickler und Hobby-Fotograf aus Norddeutschland.",
- "imprint": "Impressum",
- "datasec": "Datenschutz",
- "disclaimer": "Disclaimer",
- "projects": "Projekte",
- "project": "Projekt",
- "social": "Soziales",
- "homeHello": "Hallo, ich bin",
- "homeMe": "Ich bin",
- "homeWebDeveloper": "Web Developer",
- "homeMyLocation": "Quickborn, Schleswig-Holstein, Deutschland",
- "donationCatchphrase": "Gefällt dir was du siehst? Spende doch etwas.",
- "homeImageCredit": "Portrait aufgenommen von Jannik Kiel",
- "de": "Deutsch",
- "en": "Englisch",
- "projectAboutHeader": "Über {{projectName}}",
- "projectViewGitHub": "Auf GitHub anschauen",
- "projectViewWebsite": "Projekt-Website anschauen",
- "projectsDescription": "Das ist woran ich grade arbeite oder woran ich gearbeitet habe.",
- "projectView": "Anschauen",
- "socialDescriptionWithLink": "Finde mich auf anderen Plattformen oder <1>besuche meine Freunde1>!",
- "socialDescription": "Finde mich auf anderen Plattformen!",
- "friends": "Freunde",
- "friendsDescription": "In dieser Liste stehen Freunde von mir und meiner Seite. Schau doch bei ihnen mal rein, wenn du mehr interessante Projekte sehen willst.",
- "donateThanksText": "Ich finde es schön, dass du meine Arbeit schön findest und das zeigst! Sende mir gerne eine E-Mail an <1>{{contactEmail}}1> wenn du mit mir über irgendwas reden möchtest!",
- "donateThanks": "Danke für die Spende!",
- "donateDescription": "Hey! Es sieht so aus als würdest du über eine Spende nachdenken. Das ist nett! Wenn du ein bestimmtes Projekt unterstützen willst, schreibe deine Wünsche gerne in den Spendenkommentar.",
- "donate": "Spenden",
- "featuredProjects": "Vorgestellte Projekte",
- "seeMore": "Mehr Projekte erkunden",
- "donateGitHub": "Du kannst mich mit dem folgenden Button ganz einfach über GitHub Sponsors unterstützen!",
- "donatePayPal": "Wenn du mich lieber über PayPal unterstützen willst ist hier der Button für dich:",
- "sponsorGitHub": "Über GitHub unterstützen",
- "mySkills": "Meine Fähigkeiten"
+ "siteDescription": "Hallo, ich bin Kevin Kandlbinder, ein Entwickler und Hobby-Fotograf aus Norddeutschland.",
+ "imprint": "Impressum",
+ "datasec": "Datenschutz",
+ "disclaimer": "Disclaimer",
+ "projects": "Projekte",
+ "project": "Projekt",
+ "social": "Soziales",
+ "homeHello": "Hallo, ich bin",
+ "homeMe": "Ich bin",
+ "homeWebDeveloper": "Web Developer",
+ "homeMyLocation": "Quickborn, Schleswig-Holstein, Deutschland",
+ "donationCatchphrase": "Gefällt dir was du siehst? Spende doch etwas.",
+ "homeImageCredit": "Portrait aufgenommen von Jannik Kiel",
+ "de": "Deutsch",
+ "en": "Englisch",
+ "projectAboutHeader": "Über {{projectName}}",
+ "projectViewGitHub": "Auf GitHub anschauen",
+ "projectViewWebsite": "Projekt-Website anschauen",
+ "projectsDescription": "Das ist woran ich grade arbeite oder woran ich gearbeitet habe.",
+ "projectView": "Anschauen",
+ "socialDescriptionWithLink": "Finde mich auf anderen Plattformen oder <1>besuche meine Freunde1>!",
+ "socialDescription": "Finde mich auf anderen Plattformen!",
+ "friends": "Freunde",
+ "friendsDescription": "In dieser Liste stehen Freunde von mir und meiner Seite. Schau doch bei ihnen mal rein, wenn du mehr interessante Projekte sehen willst.",
+ "donateThanksText": "Ich finde es schön, dass du meine Arbeit schön findest und das zeigst! Sende mir gerne eine E-Mail an <1>{{contactEmail}}1> wenn du mit mir über irgendwas reden möchtest!",
+ "donateThanks": "Danke für die Spende!",
+ "donateDescription": "Hey! Es sieht so aus als würdest du über eine Spende nachdenken. Das ist nett! Wenn du ein bestimmtes Projekt unterstützen willst, schreibe deine Wünsche gerne in den Spendenkommentar.",
+ "donate": "Spenden",
+ "featuredProjects": "Vorgestellte Projekte",
+ "seeMore": "Mehr Projekte erkunden",
+ "donateGitHub": "Du kannst mich mit dem folgenden Button ganz einfach über GitHub Sponsors unterstützen!",
+ "donatePayPal": "Wenn du mich lieber über PayPal unterstützen willst ist hier der Button für dich:",
+ "sponsorGitHub": "Über GitHub unterstützen",
+ "mySkills": "Meine Fähigkeiten",
+ "about": "Über",
+ "explore": "Erkunde",
+ "myProjects": "meine Projekte",
+ "discover": "Entdecke",
+ "mySocials": "meine Accounts",
+ "learn": "Erfahre",
+ "moreAboutMe": "mehr über mich",
+ "home": "Home",
+ "menu": "Menü"
}
diff --git a/locales/en/translation.json b/locales/en/translation.json
index 2f34cda..892ec13 100644
--- a/locales/en/translation.json
+++ b/locales/en/translation.json
@@ -1,36 +1,45 @@
{
- "siteDescription": "Hello, I am Kevin Kandlbinder, a developer and hobby photographer from northern Germany.",
- "imprint": "Imprint",
- "datasec": "Data Protection",
- "disclaimer": "Disclaimer",
- "projects": "Projects",
- "project": "Project",
- "social": "Social",
- "homeHello": "Hello, I am",
- "homeMe": "I am",
- "homeWebDeveloper": "a web developer",
- "homeMyLocation": "Quickborn, Schleswig-Holstein, Germany",
- "donationCatchphrase": "Like what you're seeing? Consider donating.",
- "homeImageCredit": "Portrait taken by Jannik Kiel",
- "de": "German",
- "en": "English",
- "projectAboutHeader": "About {{projectName}}",
- "projectViewGitHub": "View on GitHub",
- "projectViewWebsite": "View Project-Website",
- "projectsDescription": "This is what I am working on or have worked on.",
- "projectView": "View",
- "socialDescriptionWithLink": "Find me on other platforms or <1>visit my friends1>!",
- "socialDescription": "Find me on other platforms!",
- "friends": "Friends",
- "friendsDescription": "In this list you can find friends of mine and this site. Feel free to check them out for more interesting projects.",
- "donate": "Donate",
- "donateDescription": "Hey! It looks like you're thinking about donating to me. That's nice of you! If you want your donation to go towards a specific project, feel free to write your wishes into the donation comment.",
- "donateThanks": "Thanks for donating!",
- "donateThanksText": "I really appreciate you appreciating my work and showing it! Feel free to mail me at <1>{{contactEmail}}1> if you have anything you want to talk about!",
- "featuredProjects": "Featured Projects",
- "seeMore": "Explore more Projects",
- "donateGitHub": "You can very easily support me via GitHub Sponsors using the following button!",
- "donatePayPal": "If you'd rather support me via PayPal the following button is for you:",
- "sponsorGitHub": "Sponsor using GitHub",
- "mySkills": "My Skills"
+ "siteDescription": "Hello, I am Kevin Kandlbinder, a developer and hobby photographer from northern Germany.",
+ "imprint": "Imprint",
+ "datasec": "Data Protection",
+ "disclaimer": "Disclaimer",
+ "projects": "Projects",
+ "project": "Project",
+ "social": "Social",
+ "homeHello": "Hello, I am",
+ "homeMe": "I am",
+ "homeWebDeveloper": "a web developer",
+ "homeMyLocation": "Quickborn, Schleswig-Holstein, Germany",
+ "donationCatchphrase": "Like what you're seeing? Consider donating.",
+ "homeImageCredit": "Portrait taken by Jannik Kiel",
+ "de": "German",
+ "en": "English",
+ "projectAboutHeader": "About {{projectName}}",
+ "projectViewGitHub": "View on GitHub",
+ "projectViewWebsite": "View Project-Website",
+ "projectsDescription": "This is what I am working on or have worked on.",
+ "projectView": "View",
+ "socialDescriptionWithLink": "Find me on other platforms or <1>visit my friends1>!",
+ "socialDescription": "Find me on other platforms!",
+ "friends": "Friends",
+ "friendsDescription": "In this list you can find friends of mine and this site. Feel free to check them out for more interesting projects.",
+ "donate": "Donate",
+ "donateDescription": "Hey! It looks like you're thinking about donating to me. That's nice of you! If you want your donation to go towards a specific project, feel free to write your wishes into the donation comment.",
+ "donateThanks": "Thanks for donating!",
+ "donateThanksText": "I really appreciate you appreciating my work and showing it! Feel free to mail me at <1>{{contactEmail}}1> if you have anything you want to talk about!",
+ "featuredProjects": "Featured Projects",
+ "seeMore": "Explore more Projects",
+ "donateGitHub": "You can very easily support me via GitHub Sponsors using the following button!",
+ "donatePayPal": "If you'd rather support me via PayPal the following button is for you:",
+ "sponsorGitHub": "Sponsor using GitHub",
+ "mySkills": "My Skills",
+ "about": "About",
+ "explore": "Explore",
+ "myProjects": "my projects",
+ "discover": "Discover",
+ "mySocials": "my socials",
+ "learn": "Learn",
+ "moreAboutMe": "more about me",
+ "home": "Home",
+ "menu": "Menu"
}
diff --git a/package.json b/package.json
index 79e5fbf..a3078f5 100644
--- a/package.json
+++ b/package.json
@@ -41,6 +41,7 @@
"gatsby-source-filesystem": "3.14.0",
"gatsby-transformer-json": "3.14.0",
"gatsby-transformer-sharp": "3.14.0",
+ "hamburger-react": "^2.4.1",
"i18next": "21.3.1",
"locale": "0.1.0",
"lucide-react": "0.16.11",
diff --git a/src/_mixins.scss b/src/_mixins.scss
index f9db90a..3fcfae6 100644
--- a/src/_mixins.scss
+++ b/src/_mixins.scss
@@ -9,7 +9,7 @@
@mixin cardGeneric {
border-radius: 5px;
overflow: hidden;
- box-shadow: -1px 11px 33px -10px rgba(127, 127, 127, 0.3);
+ box-shadow: -1px 11px 33px -10px rgba(27, 27, 27, 0.3);
transition: transform 0.25s, box-shadow 0.25s, background-color 0.25s,
color 0.25s;
color: $textColor;
diff --git a/src/components/navigation.js b/src/components/navigation.js
index c01e94e..31cc1d8 100644
--- a/src/components/navigation.js
+++ b/src/components/navigation.js
@@ -1,12 +1,56 @@
+/* eslint-disable no-undef */
import React, { useEffect, useState } from "react";
import PropTypes from "prop-types";
import { Trans, Link } from "gatsby-plugin-react-i18next";
import { graphql, StaticQuery } from "gatsby";
+import { createPortal } from "react-dom";
import * as styles from "./navigation.module.scss";
+import { X } from "lucide-react";
+import { Fade as Hamburger } from 'hamburger-react';
+
+const OffScreenNav = ({active, close}) => {
+ if(typeof window === "undefined") {
+ return null;
+ }
+
+ return createPortal(
+
+
+ menu
+
+ home
+
+
+ about
+
+
+ projects
+
+
+ social
+
+