diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx
index 6d09333..61756ee 100644
--- a/src/components/Navigation.tsx
+++ b/src/components/Navigation.tsx
@@ -2,7 +2,11 @@ import { Show, createSignal } from "solid-js";
const [mobileNav, showMobileNav] = createSignal(false);
-const setShowMobileNav = (val: boolean) => showMobileNav(val);
+const setShowMobileNav = () => {
+ console.log("herre");
+
+ showMobileNav(!mobileNav())
+};
export const Navigation = () => {
return (
@@ -11,7 +15,7 @@ export const Navigation = () => {
-
showMobileNav(false)}>
+ setShowMobileNav()}>
@@ -38,7 +42,7 @@ export const Navigation = () => {
- setShowMobileNav(true)}>
+ setShowMobileNav()}>
diff --git a/src/layouts/PageLayout.astro b/src/layouts/PageLayout.astro
new file mode 100644
index 0000000..5480151
--- /dev/null
+++ b/src/layouts/PageLayout.astro
@@ -0,0 +1,17 @@
+---
+import {Navigation} from '../components/Navigation'
+import Footer from '../views/Footer.astro';
+---
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/impress.astro b/src/pages/impress.astro
index 721f9bb..5b19a2d 100644
--- a/src/pages/impress.astro
+++ b/src/pages/impress.astro
@@ -22,7 +22,6 @@ const encryptedPhoneNumber = btoa("+49 176 6400 1756");
-
Dominik - FullStackDev
diff --git a/src/pages/products.astro b/src/pages/products.astro
index 0dacb28..d9bdfbc 100644
--- a/src/pages/products.astro
+++ b/src/pages/products.astro
@@ -1,20 +1,19 @@
---
import { Navigation } from "../components/Navigation";
import Footer from "../views/Footer.astro";
+import PageLayout from '../layouts/PageLayout.astro'
---
-
+
-
-
+
Web-Entwicklung
-
Als Webentwickler nutze ich moderne Frameworks, um erstklassige Websites mit einem herausragenden
@@ -67,5 +66,5 @@ import Footer from "../views/Footer.astro";
-
+
\ No newline at end of file