-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
328 lines (289 loc) · 13 KB
/
index.html
File metadata and controls
328 lines (289 loc) · 13 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Switchmate – The Bazzite Guide</title>
<!-- PWA Meta -->
<meta name="theme-color" content="#0066CC">
<link rel="manifest" href="manifest.json">
<link rel="apple-touch-icon" href="assets/images/icons/icon-192.png">
<!-- CSS -->
<link rel="stylesheet" href="assets/css/style.css">
<!-- Meta Tags -->
<meta name="description" content="Switchmate – Der idiotensichere Umstieg von Windows zu Bazzite. Schritt für Schritt, Bild für Bild, ohne Fachchinesisch.">
<meta name="keywords" content="Bazzite, Linux, Windows, Umstieg, Guide, Installation, Gaming">
<!-- Open Graph -->
<meta property="og:title" content="Switchmate – The Bazzite Guide">
<meta property="og:description" content="Dein persönlicher Begleiter für den Umstieg zu Bazzite.">
<meta property="og:type" content="website">
</head>
<body>
<!-- Sprachumschalter -->
<div class="language-switcher">
<button class="lang-btn active" data-lang="en">
<img src="assets/images/flags/en.svg" alt="English" onerror="this.style.display='none'"> EN
</button>
<button class="lang-btn" data-lang="de">
<img src="assets/images/flags/de.svg" alt="Deutsch" onerror="this.style.display='none'"> DE
</button>
</div>
<!-- Header mit Campfire-Link -->
<header class="main-header">
<div class="header-content">
<h1 class="site-title" data-i18n="site.title">Switchmate</h1>
<p class="site-subtitle" data-i18n="site.subtitle">The Bazzite Guide</p>
<a href="campfire/" class="campfire-mini-link">🔥 Visit Campfire</a>
</div>
</header>
<!-- Hero Section -->
<section class="hero">
<div class="hero-content">
<h2 data-i18n="hero.title">From Windows to Bazzite – Schritt für Schritt</h2>
<p data-i18n="hero.subtitle">Keine Angst, kein Fachchinesisch, kein "ist doch einfach". Nur klare Anweisungen, Bilder und ein Freund an deiner Seite.</p>
<a href="#modules" class="cta-button" data-i18n="hero.cta">Los geht's</a>
</div>
</section>
<!-- Modul-Übersicht -->
<section id="modules" class="module-grid-section">
<h2 class="section-title" data-i18n="modules.title">Dein Weg zu Bazzite</h2>
<div class="module-grid">
<!-- Modul 0 -->
<a href="modules/mod0/step1.html" class="module-card" data-module="0">
<div class="module-number">0</div>
<h2 data-i18n="modules.mod0.title">Before the Leap</h2>
<p data-i18n="modules.mod0.description">Hardware checken, USB-Stick vorbereiten, Backup</p>
<span class="module-status" data-i18n="modules.status.start">Hier starten</span>
<div class="module-progress" id="progress-mod0"></div>
</a>
<!-- Modul 1 -->
<a href="modules/mod1/step1.html" class="module-card" data-module="1">
<div class="module-number">1</div>
<h2 data-i18n="modules.mod1.title">The USB Stick</h2>
<p data-i18n="modules.mod1.description">Tool runterladen, ISO brennen, bootfähigen Stick erstellen</p>
<span class="module-status" data-i18n="modules.status.locked">Vorheriges Modul nötig</span>
<div class="module-progress" id="progress-mod1"></div>
</a>
<!-- Modul 2 -->
<a href="modules/mod2/step1.html" class="module-card" data-module="2">
<div class="module-number">2</div>
<h2 data-i18n="modules.mod2.title">Installation</h2>
<p data-i18n="modules.mod2.description">Von USB booten, Installer durchklicken, Benutzer anlegen</p>
<span class="module-status" data-i18n="modules.status.locked">Vorheriges Modul nötig</span>
<div class="module-progress" id="progress-mod2"></div>
</a>
<!-- Modul 3 -->
<a href="modules/mod3/step1.html" class="module-card" data-module="3">
<div class="module-number">3</div>
<h2 data-i18n="modules.mod3.title">First Days</h2>
<p data-i18n="modules.mod3.description">Updates, erste Apps, Daten holen, Gaming testen</p>
<span class="module-status" data-i18n="modules.status.locked">Vorheriges Modul nötig</span>
<div class="module-progress" id="progress-mod3"></div>
</a>
<!-- Modul 4 -->
<a href="modules/mod4/step1.html" class="module-card" data-module="4">
<div class="module-number">4</div>
<h2 data-i18n="modules.mod4.title">Emergency Kit</h2>
<p data-i18n="modules.mod4.description">Wenn was schiefgeht: Recovery, Boot-Probleme, zurück zu Windows</p>
<span class="module-status" data-i18n="modules.status.locked">Für später</span>
<div class="module-progress" id="progress-mod4"></div>
</a>
</div>
</section>
<!-- Campfire Section -->
<section class="campfire-entrance">
<div class="campfire-content">
<h2 data-i18n="campfire.title">🔥 Pause machen? Oder einfach lernen?</h2>
<p data-i18n="campfire.description">Campfire ist dein Spielplatz. Hier kannst du am 3D-Feuer entspannen, mit Bazzi quatschen oder im Terminal gefahrlos rumprobieren.</p>
<div class="campfire-features">
<div class="feature">🎮 Terminal-Spielplatz</div>
<div class="feature">🔥 3D-Campfire</div>
<div class="feature">🤖 Bazzi, dein Helfer</div>
</div>
<a href="campfire/" class="campfire-button" data-i18n="campfire.button">🔥 Campfire besuchen</a>
</div>
</section>
<!-- Features / Philosophie -->
<section class="features">
<h2 class="section-title" data-i18n="features.title">So funktioniert Switchmate</h2>
<div class="feature-grid">
<div class="feature-card">
<div class="feature-icon">📸</div>
<h3 data-i18n="features.steps.title">Jeder Schritt ein Bild</h3>
<p data-i18n="features.steps.text">Du siehst, wie es aussehen SOLL – und wie es aussehen KANN, wenn was anders ist.</p>
</div>
<div class="feature-card">
<div class="feature-icon">📋</div>
<h3 data-i18n="features.copy.title">Nie tippen, nur kopieren</h3>
<p data-i18n="features.copy.text">Jeder Befehl ist ein Klick – kopieren, einfügen, fertig.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🛤️</div>
<h3 data-i18n="features.tracks.title">Zwei Spuren</h3>
<p data-i18n="features.tracks.text">"Schnell ans Ziel" oder "Ich will verstehen" – du entscheidest.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🎯</div>
<h3 data-i18n="features.checkpoints.title">Checkpoints</h3>
<p data-i18n="features.checkpoints.text">Nach jedem Schritt: Hast du's geschafft? Dann geht's weiter.</p>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="footer-content">
<p data-i18n="footer.copyright">© 2024 Switchmate – Für immer kostenlos</p>
<p><a href="https://github.com/Smokemic/SwitchMate" target="_blank">GitHub</a> | <a href="campfire/">Campfire</a></p>
</div>
</footer>
<!-- Scripts -->
<script src="assets/js/i18n.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/pwa.js"></script>
<script>
// Fortschritt aus localStorage laden
document.addEventListener('DOMContentLoaded', function() {
const modules = ['mod0', 'mod1', 'mod2', 'mod3', 'mod4'];
modules.forEach(module => {
const progress = [];
let step = 1;
while (localStorage.getItem(`${module}-step${step}-complete`) === 'true') {
progress.push(step);
step++;
}
const progressBar = document.getElementById(`progress-${module}`);
if (progressBar && progress.length > 0) {
const totalSteps = module === 'mod0' ? 4 : 3;
const percent = (progress.length / totalSteps) * 100;
progressBar.style.width = percent + '%';
progressBar.style.display = 'block';
// Modul-Status ändern
const card = document.querySelector(`.module-card[data-module="${module.replace('mod', '')}"]`);
const statusSpan = card.querySelector('.module-status');
if (progress.length === totalSteps) {
statusSpan.textContent = '✅ Abgeschlossen';
statusSpan.style.background = 'var(--green)';
} else if (progress.length > 0) {
statusSpan.textContent = `🔄 ${progress.length}/${totalSteps} geschafft`;
statusSpan.style.background = 'var(--blue)';
}
}
});
});
</script>
<style>
/* Zusätzliche Styles für die Hauptseite */
.hero {
background: linear-gradient(135deg, var(--blue-dark), var(--blue));
color: white;
padding: var(--spacing-xl) var(--spacing-lg);
text-align: center;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
}
.hero h2 {
font-size: 2.5rem;
margin-bottom: var(--spacing-md);
}
.hero p {
font-size: 1.2rem;
margin-bottom: var(--spacing-lg);
opacity: 0.9;
}
.cta-button {
display: inline-block;
padding: var(--spacing-md) var(--spacing-xl);
background: white;
color: var(--blue);
text-decoration: none;
border-radius: 30px;
font-weight: 600;
font-size: 1.2rem;
transition: all 0.2s;
}
.cta-button:hover {
transform: scale(1.05);
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.section-title {
text-align: center;
font-size: 2rem;
color: var(--blue-dark);
margin-bottom: var(--spacing-xl);
}
.module-grid-section {
padding: var(--spacing-xl) var(--spacing-lg);
max-width: 1200px;
margin: 0 auto;
}
.campfire-mini-link {
display: inline-block;
margin-top: var(--spacing-md);
padding: var(--spacing-xs) var(--spacing-md);
background: rgba(255,255,255,0.2);
color: white;
text-decoration: none;
border-radius: 20px;
font-size: 0.9rem;
}
.campfire-features {
display: flex;
justify-content: center;
gap: var(--spacing-lg);
margin: var(--spacing-lg) 0;
flex-wrap: wrap;
}
.feature {
background: rgba(255,255,255,0.1);
padding: var(--spacing-sm) var(--spacing-lg);
border-radius: 30px;
font-size: 1.1rem;
}
.features {
padding: var(--spacing-xl) var(--spacing-lg);
background: var(--gray-100);
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: var(--spacing-lg);
max-width: 1200px;
margin: 0 auto;
}
.feature-card {
text-align: center;
padding: var(--spacing-lg);
background: white;
border-radius: 12px;
border: 2px solid var(--gray-200);
}
.feature-icon {
font-size: 3rem;
margin-bottom: var(--spacing-md);
}
.module-progress {
height: 4px;
background: var(--green);
position: absolute;
bottom: 0;
left: 0;
display: none;
}
.module-card {
position: relative;
overflow: hidden;
}
@media (max-width: 768px) {
.hero h2 {
font-size: 1.8rem;
}
.campfire-features {
flex-direction: column;
gap: var(--spacing-sm);
}
}
</style>
</body>
</html>