changed some files
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de-de" dir="ltr">
|
<html lang="de-de" dir="ltr">
|
||||||
<head>
|
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>Categories | tbntech</title>
|
<title>Categories | tbntech</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/main.30bbabcf0c588c3c13cbe24430d7aa6226315a94faf09d877dd441b3ebf03774.css" integrity="sha256-MLurzwxYjDwTy+JEMNeqYiYxWpT68J2HfdRBs+vwN3Q=" crossorigin="anonymous">
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
|
|
||||||
|
|
||||||
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj+gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
|
<script src="/js/main.js"></script>
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Categories on tbntech</title>
|
<title>Categories on tbntech</title>
|
||||||
<link>https://tbn.aaronhosting.xyz/categories/</link>
|
<link>http://localhost:1313/categories/</link>
|
||||||
<description>Recent content in Categories on tbntech</description>
|
<description>Recent content in Categories on tbntech</description>
|
||||||
<generator>Hugo</generator>
|
<generator>Hugo</generator>
|
||||||
<language>de-de</language>
|
<language>de-de</language>
|
||||||
@@ -10,6 +10,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<atom:link href="https://tbn.aaronhosting.xyz/categories/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* <stdin> */
|
||||||
|
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 */
|
||||||
@@ -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":[]}
|
||||||
+5
-5
@@ -1,15 +1,15 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de-de" dir="ltr">
|
<html lang="de-de" dir="ltr">
|
||||||
<head>
|
<head>
|
||||||
<meta name="generator" content="Hugo 0.163.0">
|
<meta name="generator" content="Hugo 0.163.1"><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>tbntech</title>
|
<title>tbntech</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/main.30bbabcf0c588c3c13cbe24430d7aa6226315a94faf09d877dd441b3ebf03774.css" integrity="sha256-MLurzwxYjDwTy+JEMNeqYiYxWpT68J2HfdRBs+vwN3Q=" crossorigin="anonymous">
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
|
|
||||||
|
|
||||||
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj+gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
|
<script src="/js/main.js"></script>
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
@@ -36,11 +36,11 @@
|
|||||||
|
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<h2><a href="https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/">Wir ziehen um</a></h2>
|
<h2><a href="http://localhost:1313/posts/wir-ziehen-um/">Wir ziehen um</a></h2>
|
||||||
<time>Jun 13, 2026</time>
|
<time>Jun 13, 2026</time>
|
||||||
<p><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.
|
<p><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></p>
|
Außerdem möchte Wordpress einem ständig seine KI aufzwingen.</p></p>
|
||||||
<a href="https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/">Mehr lesen</a>
|
<a href="http://localhost:1313/posts/wir-ziehen-um/">Mehr lesen</a>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -2,7 +2,7 @@
|
|||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>tbntech</title>
|
<title>tbntech</title>
|
||||||
<link>https://tbn.aaronhosting.xyz/</link>
|
<link>http://localhost:1313/</link>
|
||||||
<description>Recent content on tbntech</description>
|
<description>Recent content on tbntech</description>
|
||||||
<generator>Hugo</generator>
|
<generator>Hugo</generator>
|
||||||
<language>de-de</language>
|
<language>de-de</language>
|
||||||
@@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
<lastBuildDate>Sat, 13 Jun 2026 20:33:21 +0200</lastBuildDate>
|
<lastBuildDate>Sat, 13 Jun 2026 20:33:21 +0200</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="https://tbn.aaronhosting.xyz/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<item>
|
<item>
|
||||||
<title>Wir ziehen um</title>
|
<title>Wir ziehen um</title>
|
||||||
<link>https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/</link>
|
<link>http://localhost:1313/posts/wir-ziehen-um/</link>
|
||||||
<pubDate>Sat, 13 Jun 2026 20:33:21 +0200</pubDate>
|
<pubDate>Sat, 13 Jun 2026 20:33:21 +0200</pubDate>
|
||||||
<guid>https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/</guid>
|
<guid>http://localhost:1313/posts/wir-ziehen-um/</guid>
|
||||||
<description><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></description>
|
<description><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></description>
|
||||||
</item>
|
</item>
|
||||||
</channel>
|
</channel>
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
(() => {
|
||||||
|
// <stdin>
|
||||||
|
console.log("This site was generated by Hugo.");
|
||||||
|
})();
|
||||||
|
//# sourceMappingURL=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":[]}
|
||||||
Vendored
+1
@@ -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)})})
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de-de" dir="ltr">
|
<html lang="de-de" dir="ltr">
|
||||||
<head>
|
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>Posts | tbntech</title>
|
<title>Posts | tbntech</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/main.30bbabcf0c588c3c13cbe24430d7aa6226315a94faf09d877dd441b3ebf03774.css" integrity="sha256-MLurzwxYjDwTy+JEMNeqYiYxWpT68J2HfdRBs+vwN3Q=" crossorigin="anonymous">
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
|
|
||||||
|
|
||||||
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj+gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
|
<script src="/js/main.js"></script>
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Posts on tbntech</title>
|
<title>Posts on tbntech</title>
|
||||||
<link>https://tbn.aaronhosting.xyz/posts/</link>
|
<link>http://localhost:1313/posts/</link>
|
||||||
<description>Recent content in Posts on tbntech</description>
|
<description>Recent content in Posts on tbntech</description>
|
||||||
<generator>Hugo</generator>
|
<generator>Hugo</generator>
|
||||||
<language>de-de</language>
|
<language>de-de</language>
|
||||||
@@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
<lastBuildDate>Sat, 13 Jun 2026 20:33:21 +0200</lastBuildDate>
|
<lastBuildDate>Sat, 13 Jun 2026 20:33:21 +0200</lastBuildDate>
|
||||||
|
|
||||||
<atom:link href="https://tbn.aaronhosting.xyz/posts/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="http://localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" />
|
||||||
<item>
|
<item>
|
||||||
<title>Wir ziehen um</title>
|
<title>Wir ziehen um</title>
|
||||||
<link>https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/</link>
|
<link>http://localhost:1313/posts/wir-ziehen-um/</link>
|
||||||
<pubDate>Sat, 13 Jun 2026 20:33:21 +0200</pubDate>
|
<pubDate>Sat, 13 Jun 2026 20:33:21 +0200</pubDate>
|
||||||
<guid>https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/</guid>
|
<guid>http://localhost:1313/posts/wir-ziehen-um/</guid>
|
||||||
<description><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></description>
|
<description><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></description>
|
||||||
</item>
|
</item>
|
||||||
</channel>
|
</channel>
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de-de" dir="ltr">
|
<html lang="de-de" dir="ltr">
|
||||||
<head>
|
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>Wir ziehen um | tbntech</title>
|
<title>Wir ziehen um | tbntech</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/main.30bbabcf0c588c3c13cbe24430d7aa6226315a94faf09d877dd441b3ebf03774.css" integrity="sha256-MLurzwxYjDwTy+JEMNeqYiYxWpT68J2HfdRBs+vwN3Q=" crossorigin="anonymous">
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
|
|
||||||
|
|
||||||
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj+gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
|
<script src="/js/main.js"></script>
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
+5
-5
@@ -2,17 +2,17 @@
|
|||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||||
<url>
|
<url>
|
||||||
<loc>https://tbn.aaronhosting.xyz/posts/</loc>
|
<loc>http://localhost:1313/posts/</loc>
|
||||||
<lastmod>2026-06-13T20:33:21+02:00</lastmod>
|
<lastmod>2026-06-13T20:33:21+02:00</lastmod>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>https://tbn.aaronhosting.xyz/</loc>
|
<loc>http://localhost:1313/</loc>
|
||||||
<lastmod>2026-06-13T20:33:21+02:00</lastmod>
|
<lastmod>2026-06-13T20:33:21+02:00</lastmod>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>https://tbn.aaronhosting.xyz/posts/wir-ziehen-um/</loc>
|
<loc>http://localhost:1313/posts/wir-ziehen-um/</loc>
|
||||||
<lastmod>2026-06-13T20:33:21+02:00</lastmod>
|
<lastmod>2026-06-13T20:33:21+02:00</lastmod>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>https://tbn.aaronhosting.xyz/categories/</loc>
|
<loc>http://localhost:1313/categories/</loc>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>https://tbn.aaronhosting.xyz/tags/</loc>
|
<loc>http://localhost:1313/tags/</loc>
|
||||||
</url>
|
</url>
|
||||||
</urlset>
|
</urlset>
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de-de" dir="ltr">
|
<html lang="de-de" dir="ltr">
|
||||||
<head>
|
<head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<title>Tags | tbntech</title>
|
<title>Tags | tbntech</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="/css/main.30bbabcf0c588c3c13cbe24430d7aa6226315a94faf09d877dd441b3ebf03774.css" integrity="sha256-MLurzwxYjDwTy+JEMNeqYiYxWpT68J2HfdRBs+vwN3Q=" crossorigin="anonymous">
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
|
|
||||||
|
|
||||||
<script src="/js/main.23cd0c7d837263b9eaeb96ee2d9ccfa2969daa3fa00fa1c1fe8701a9b87251a1.js" integrity="sha256-I80MfYNyY7nq65buLZzPopadqj+gD6HB/ocBqbhyUaE=" crossorigin="anonymous"></script>
|
<script src="/js/main.js"></script>
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Tags on tbntech</title>
|
<title>Tags on tbntech</title>
|
||||||
<link>https://tbn.aaronhosting.xyz/tags/</link>
|
<link>http://localhost:1313/tags/</link>
|
||||||
<description>Recent content in Tags on tbntech</description>
|
<description>Recent content in Tags on tbntech</description>
|
||||||
<generator>Hugo</generator>
|
<generator>Hugo</generator>
|
||||||
<language>de-de</language>
|
<language>de-de</language>
|
||||||
@@ -10,6 +10,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<atom:link href="https://tbn.aaronhosting.xyz/tags/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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);
|
||||||
|
});
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user