diff --git a/public/categories/index.html b/public/categories/index.html index 7c81238..f23a728 100644 --- a/public/categories/index.html +++ b/public/categories/index.html @@ -1,14 +1,14 @@ - + Categories | tbntech - + - + diff --git a/public/categories/index.xml b/public/categories/index.xml index 78d1c93..f427589 100644 --- a/public/categories/index.xml +++ b/public/categories/index.xml @@ -2,7 +2,7 @@ Categories on tbntech - https://tbn.aaronhosting.xyz/categories/ + http://localhost:1313/categories/ Recent content in Categories on tbntech Hugo de-de @@ -10,6 +10,6 @@ - + diff --git a/public/css/main.css b/public/css/main.css new file mode 100644 index 0000000..46f0afd --- /dev/null +++ b/public/css/main.css @@ -0,0 +1,25 @@ +/* ns-hugo-imp:/home/aaron/tbn/themes/tbn/assets/css/components/header.css */ +header { + border-bottom: 1px solid #222; + margin-bottom: 1rem; +} + +/* ns-hugo-imp:/home/aaron/tbn/themes/tbn/assets/css/components/footer.css */ +footer { + border-top: 1px solid #222; + margin-top: 1rem; +} + +/* */ +body { + color: #222; + font-family: sans-serif; + line-height: 1.5; + margin: 1rem; + max-width: 768px; +} +a { + color: #00e; + text-decoration: none; +} +/*# sourceMappingURL=main.css.map */ diff --git a/public/css/main.css.map b/public/css/main.css.map new file mode 100644 index 0000000..0dd517d --- /dev/null +++ b/public/css/main.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["file:///home/aaron/tbn/themes/tbn/assets/css/components/header.css","file:///home/aaron/tbn/themes/tbn/assets/css/components/footer.css","file:///home/aaron/tbn/themes/tbn/assets/css/main.css"],"sourcesContent":["header {\n border-bottom: 1px solid #222;\n margin-bottom: 1rem;\n}\n","footer {\n border-top: 1px solid #222;\n margin-top: 1rem;\n}\n","@import \"components/header.css\";\n@import \"components/footer.css\";\n\nbody {\n color: #222;\n font-family: sans-serif;\n line-height: 1.5;\n margin: 1rem;\n max-width: 768px;\n}\n\na {\n color: #00e;\n text-decoration: none;\n}\n"],"mappings":";AAAA;AACE,iBAAe,IAAI,MAAM;AACzB,iBAAe;AACjB;;;ACHA;AACE,cAAY,IAAI,MAAM;AACtB,cAAY;AACd;;;ACAA;AACE,SAAO;AACP,eAAa;AACb,eAAa;AACb,UAAQ;AACR,aAAW;AACb;AAEA;AACE,SAAO;AACP,mBAAiB;AACnB;","names":[]} \ No newline at end of file diff --git a/public/index.html b/public/index.html index 24c6e56..5ae44c7 100644 --- a/public/index.html +++ b/public/index.html @@ -1,15 +1,15 @@ - + tbntech - + - + @@ -36,11 +36,11 @@
-

Wir ziehen um

+

Wir ziehen um

Da Wordpress jetzt alle par Tage E-Mails sended, dass man doch bitte pro abbonieren sollte, haben wir uns entschlossen alle neuen posts auf diese seite zu verlagern. Außerdem möchte Wordpress einem ständig seine KI aufzwingen.

- Mehr lesen + Mehr lesen
diff --git a/public/index.xml b/public/index.xml index 320791a..2a22af0 100644 --- a/public/index.xml +++ b/public/index.xml @@ -2,7 +2,7 @@ tbntech - https://tbn.aaronhosting.xyz/ + http://localhost:1313/ Recent content on tbntech Hugo de-de @@ -12,12 +12,12 @@ Sat, 13 Jun 2026 20:33:21 +0200 - + Wir ziehen um - https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/ + http://localhost:1313/posts/wir-ziehen-um/ Sat, 13 Jun 2026 20:33:21 +0200 - https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/ + http://localhost:1313/posts/wir-ziehen-um/ <p>Da Wordpress jetzt alle par Tage E-Mails sended, dass man doch bitte pro abbonieren sollte, haben wir uns entschlossen alle neuen posts auf diese seite zu verlagern. Außerdem möchte Wordpress einem ständig seine KI aufzwingen.</p> diff --git a/public/js/main.js b/public/js/main.js new file mode 100644 index 0000000..52fc460 --- /dev/null +++ b/public/js/main.js @@ -0,0 +1,5 @@ +(() => { + // + console.log("This site was generated by Hugo."); +})(); +//# sourceMappingURL=main.js.map diff --git a/public/js/main.js.map b/public/js/main.js.map new file mode 100644 index 0000000..606222c --- /dev/null +++ b/public/js/main.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["file:///home/aaron/tbn/themes/tbn/assets/js/main.js"],"sourcesContent":["console.log('This site was generated by Hugo.');\n"],"mappings":";;AAAA,UAAQ,IAAI,kCAAkC;","names":[]} \ No newline at end of file diff --git a/public/js/menu.min.js b/public/js/menu.min.js new file mode 100644 index 0000000..815afcf --- /dev/null +++ b/public/js/menu.min.js @@ -0,0 +1 @@ +document.querySelectorAll(".nav").forEach(e=>{const t=e.querySelector(".nav__toggle"),n=e.querySelector(".nav__list");t?.addEventListener("click",()=>{const e=n.classList.toggle("is-open");t.setAttribute("aria-expanded",e)})}) \ No newline at end of file diff --git a/public/posts/index.html b/public/posts/index.html index 3a8cba7..f03ba66 100644 --- a/public/posts/index.html +++ b/public/posts/index.html @@ -1,14 +1,14 @@ - + Posts | tbntech - + - + diff --git a/public/posts/index.xml b/public/posts/index.xml index fcafda7..781de7f 100644 --- a/public/posts/index.xml +++ b/public/posts/index.xml @@ -2,7 +2,7 @@ Posts on tbntech - https://tbn.aaronhosting.xyz/posts/ + http://localhost:1313/posts/ Recent content in Posts on tbntech Hugo de-de @@ -12,12 +12,12 @@ Sat, 13 Jun 2026 20:33:21 +0200 - + Wir ziehen um - https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/ + http://localhost:1313/posts/wir-ziehen-um/ Sat, 13 Jun 2026 20:33:21 +0200 - https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/ + http://localhost:1313/posts/wir-ziehen-um/ <p>Da Wordpress jetzt alle par Tage E-Mails sended, dass man doch bitte pro abbonieren sollte, haben wir uns entschlossen alle neuen posts auf diese seite zu verlagern. Außerdem möchte Wordpress einem ständig seine KI aufzwingen.</p> diff --git a/public/posts/wir-ziehen-um/index.html b/public/posts/wir-ziehen-um/index.html index 0b221e8..54c46d1 100644 --- a/public/posts/wir-ziehen-um/index.html +++ b/public/posts/wir-ziehen-um/index.html @@ -1,14 +1,14 @@ - + Wir ziehen um | tbntech - + - + diff --git a/public/sitemap.xml b/public/sitemap.xml index fdbb51c..ea92898 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -2,17 +2,17 @@ - https://tbn.aaronhosting.xyz/posts/ + http://localhost:1313/posts/ 2026-06-13T20:33:21+02:00 - https://tbn.aaronhosting.xyz/ + http://localhost:1313/ 2026-06-13T20:33:21+02:00 - https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/ + http://localhost:1313/posts/wir-ziehen-um/ 2026-06-13T20:33:21+02:00 - https://tbn.aaronhosting.xyz/categories/ + http://localhost:1313/categories/ - https://tbn.aaronhosting.xyz/tags/ + http://localhost:1313/tags/ diff --git a/public/tags/index.html b/public/tags/index.html index 1a9a4be..215d636 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -1,14 +1,14 @@ - + Tags | tbntech - + - + diff --git a/public/tags/index.xml b/public/tags/index.xml index a017b56..27fb632 100644 --- a/public/tags/index.xml +++ b/public/tags/index.xml @@ -2,7 +2,7 @@ Tags on tbntech - https://tbn.aaronhosting.xyz/tags/ + http://localhost:1313/tags/ Recent content in Tags on tbntech Hugo de-de @@ -10,6 +10,6 @@ - + diff --git a/themes/tbn/assets/css/components/menu.css b/themes/tbn/assets/css/components/menu.css new file mode 100644 index 0000000..69560df --- /dev/null +++ b/themes/tbn/assets/css/components/menu.css @@ -0,0 +1,76 @@ +.nav__list { + display: flex; + gap: 1.5rem; + list-style: none; + margin: 0; + padding: 0; +} + +.nav__item { + position: relative; +} + +.nav__link { + text-decoration: none; + padding: 0.5rem 0; + display: inline-block; +} + +.nav__link.is-active { + font-weight: bold; +} + +/* Dropdown submenus */ +.nav__submenu { + display: none; + position: absolute; + top: 100%; + left: 0; + flex-direction: column; + min-width: 180px; + background: #fff; + box-shadow: 0 2px 8px rgba(0,0,0,0.1); + list-style: none; + margin: 0; + padding: 0.5rem 0; + z-index: 10; +} + +.nav__submenu .nav__item { + padding: 0 1rem; +} + +.has-children:hover > .nav__submenu, +.has-children:focus-within > .nav__submenu { + display: flex; +} + +/* Hamburger toggle, hidden on desktop */ +.nav__toggle { + display: none; +} + +@media (max-width: 768px) { + .nav__toggle { + display: block; + } + + .nav__list { + display: none; + flex-direction: column; + } + + .nav__list.is-open { + display: flex; + } + + .nav__submenu { + position: static; + box-shadow: none; + padding-left: 1rem; + } + + .has-children:hover > .nav__submenu { + display: none; /* let JS toggle instead of hover on mobile */ + } +} diff --git a/themes/tbn/assets/js/menu.js b/themes/tbn/assets/js/menu.js new file mode 100644 index 0000000..2d504ee --- /dev/null +++ b/themes/tbn/assets/js/menu.js @@ -0,0 +1,8 @@ +document.querySelectorAll('.nav').forEach((nav) => { + const toggle = nav.querySelector('.nav__toggle'); + const list = nav.querySelector('.nav__list'); + toggle?.addEventListener('click', () => { + const open = list.classList.toggle('is-open'); + toggle.setAttribute('aria-expanded', open); + }); +});