diff --git a/about.html b/about.html
index 55e2c06..d7c6175 100644
--- a/about.html
+++ b/about.html
@@ -7,10 +7,7 @@
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
-
+
+
@@ -175,6 +178,7 @@
>Q: When can I buy an electric bobbycar?
+ IMPRESSUM
@@ -342,7 +346,6 @@
-->
-
@@ -139,7 +148,6 @@
-->
-
diff --git a/bobbycar.html b/bobbycar.html
index 9143d48..fc88630 100644
--- a/bobbycar.html
+++ b/bobbycar.html
@@ -25,7 +25,10 @@
-
+
diff --git a/bobbyhubschrauber.html b/bobbyhubschrauber.html
index a79abb9..0826cde 100644
--- a/bobbyhubschrauber.html
+++ b/bobbyhubschrauber.html
@@ -25,7 +25,10 @@
-
+
-
+
Careers
-
+
News
-
+
About
-
+
Shop
+
+ Impressum
+
+
diff --git a/bobbyklo.html b/bobbyklo.html
index 6d8c096..6847109 100644
--- a/bobbyklo.html
+++ b/bobbyklo.html
@@ -52,12 +52,14 @@
id="navbarNavDropdown"
>
+
diff --git a/bobbyquad.html b/bobbyquad.html
index 9496211..b73de06 100644
--- a/bobbyquad.html
+++ b/bobbyquad.html
@@ -25,7 +25,10 @@
-
+
-
+
Careers
-
+
News
-
+
About
-
+
Shop
+
+ Impressum
+
+
diff --git a/careers.html b/careers.html
index 258c61b..750826b 100644
--- a/careers.html
+++ b/careers.html
@@ -24,7 +24,10 @@
-
+
-
+
Careers
-
+
News
-
+
About
-
+
Shop
+
+ Impressum
+
+
diff --git a/impressum.html b/impressum.html
new file mode 100644
index 0000000..6af0f66
--- /dev/null
+++ b/impressum.html
@@ -0,0 +1,153 @@
+
+
+
+
+
+
+
+
+
+
+ Impressum | Pfosten Dynamics
+
+
+
+
+
+
+
+

+
+
+
+
![Toggle darkmode]()
+
+
+
+
+
+
+
+
+
+ This website is under construction!
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/index.html b/index.html
index b99b1af..375d351 100644
--- a/index.html
+++ b/index.html
@@ -23,9 +23,35 @@
+
+
+
+
+
+
+
+
+
+
+
+ Home | Pfosten Dynamics
+
+
+
-
+
-
+
Careers
-
+
News
-
+
About
-
+
Shop
+
+ Impressum
+
+
+
+
+
+ Site
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -246,15 +312,6 @@
-
- Test
-
-
- Test2
-
-
- Test3
-
diff --git a/js/main.js b/js/main.js
index 9ce5c1d..72547cc 100644
--- a/js/main.js
+++ b/js/main.js
@@ -96,6 +96,7 @@ function load() {
setCookie("darkmode", false, 999);
}
checkDarkmode();
+ setactivePage();
}
/*Cookie scripts*/
diff --git a/js/navbar.js b/js/navbar.js
new file mode 100644
index 0000000..ebb9ff8
--- /dev/null
+++ b/js/navbar.js
@@ -0,0 +1,21 @@
+function setactivePage() {
+ var path = window.location.pathname;
+ var tmp = path.split("/").pop();
+ var page = tmp.replace(".html", "");
+ console.log("page:" + page);
+
+ var site = document.getElementsByClassName("canactive");
+ len = site !== null ? site.length : 0;
+ i = 0;
+ for (i; i < len; i++) {
+ if(page == "") page = "home";
+ var siteClass = document.getElementsByClassName(page);
+ len2 = siteClass !== null ? siteClass.length : 0;
+ j = 0;
+ for(j; j < len2; j++) {
+ siteClass[j].classList.add("active");
+ }
+ }
+}
+
+/*li.nav-item.about.canactive*/
diff --git a/navbar.html b/navbar.html
index 5516501..24a7ef2 100644
--- a/navbar.html
+++ b/navbar.html
@@ -21,7 +21,10 @@
-
+
-
+
Careers
-
+
News
-
+
About
-
+
Shop
+
+ Impressum
+
+
@@ -121,6 +130,7 @@
crossorigin="anonymous"
>
+
diff --git a/raupenfahrzeug.html b/raupenfahrzeug.html
index bf0c8db..920a913 100644
--- a/raupenfahrzeug.html
+++ b/raupenfahrzeug.html
@@ -52,12 +52,14 @@
id="navbarNavDropdown"
>
+
diff --git a/shop.html b/shop.html
index fc0949e..9734bb3 100644
--- a/shop.html
+++ b/shop.html
@@ -1 +1,153 @@
-Shop
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+ Shop | Pfosten Dynamics
+
+
+
+
+
+
+
+

+
+
+
+
![Toggle darkmode]()
+
+
+
+
+
+
+
+
+
+ Shop
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/template.html b/template.html
index 9d710c1..80f1b32 100644
--- a/template.html
+++ b/template.html
@@ -52,12 +52,14 @@
id="navbarNavDropdown"
>
+
diff --git a/vehicles.html b/vehicles.html
index 86748ad..7479bf7 100644
--- a/vehicles.html
+++ b/vehicles.html
@@ -52,12 +52,14 @@
id="navbarNavDropdown"
>
+