-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththemen.html
More file actions
97 lines (82 loc) · 3.08 KB
/
themen.html
File metadata and controls
97 lines (82 loc) · 3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>borderless deviant - Themen</title>
<!-- Anti-White-Flash Script -->
<script>
(function() {
// Holt Einstellung oder nimmt 'dark' als Standard
const savedTheme = localStorage.getItem('theme') || 'dark';
document.documentElement.setAttribute('data-theme', savedTheme);
})();
</script>
<link rel="stylesheet" href="css/variables.css">
<link rel="stylesheet" href="css/global.css">
<link rel="stylesheet" href="css/typography.css">
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/components.css">
<link rel="stylesheet" href="css/forms.css">
<link rel="stylesheet" href="css/utilities.css">
<link rel="stylesheet" href="css/site-themen.css">
</head>
<body>
<my-header></my-header>
<my-nav></my-nav>
<main class="container">
<!-- 1. Die Tag-Cloud -->
<section class="tag-cloud-section">
<h2>Hashtag Navigation</h2>
<div id="tag-cloud" class="cloud-container">
<!-- Hier generiert JS die Buttons rein -->
<p class="loading">Lade Hashtags...</p>
</div>
</section>
<hr>
<!-- 2. Die Thematischen Listen (Kategorien) -->
<!-- WICHTIG: Die IDs müssen 'list-' + dein json-theme name sein (z.B. "politik") -->
<section class="topic-grid">
<!-- Beispiel Kategorie: Politik -->
<article class="topic-box">
<h3>Politik & Gesellschaft</h3>
<ul id="list-politik" class="link-list">
<!-- Hier kommen die Links rein -->
</ul>
</article>
<!-- Beispiel Kategorie: Coding / Tech -->
<article class="topic-box">
<h3>Vibe Coding & Tech</h3>
<ul id="list-coding" class="link-list">
<!-- Hier kommen die Links rein -->
</ul>
</article>
<!-- Beispiel Kategorie: Gaming -->
<article class="topic-box">
<h3>Games & Retro</h3>
<ul id="list-gaming" class="link-list">
</ul>
</article>
<!-- Beispiel Kategorie: Wissen / ADHS -->
<article class="topic-box">
<h3>Wissen & Hirn</h3>
<ul id="list-wissen" class="link-list">
</ul>
</article>
<!-- Weitere Kategorien nach Bedarf... -->
</section>
</main>
<my-footer></my-footer>
<!--
<script>
// Beispiel: Wir laden gezielt Themen in die Boxen
document.addEventListener('DOMContentLoaded', () => {
filterPostsByTheme('politik', 'list-politik');
filterPostsByTheme('wissen', 'list-wissen');
});
</script>
-->
<script src="/js/layout-components.js" defer></script>
<script type="module" src="/js/main.js"></script>
</body>
</html>