-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
215 lines (200 loc) · 9.8 KB
/
index.html
File metadata and controls
215 lines (200 loc) · 9.8 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
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>reset42.de – OpenSource Showcase & Debugging mit Stil</title>
<link rel="icon" type="image/svg+xml" href="img/favicon.ico" />
<link rel="stylesheet" href="css/index.css" />
<meta property="og:title" content="reset42 – Open Source Showcase & Debugging mit Stil" />
<meta property="og:description" content="reset42 – Embedded & Linux Development" />
<meta property="og:image" content="https://reset42.de/img/reset42.svg" />
<meta property="og:url" content="https://reset42.de" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="author" content="Andi" />
<meta name="description" content="reset42 – Open Source Projekte, Automatisierung und Hardwareentwicklung mit Fokus auf Modularität und IoT." />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="reset42, Embedded Systems, MicroPython, Raspberry Pi, IoT, Open Source" />
</head>
<body>
<!-- Burger-Menü -->
<div class="burger-menu" aria-label="Seiten-Navigation">
<input type="checkbox" id="menu-toggle" />
<label for="menu-toggle" class="menu-icon" aria-label="Menü öffnen">☰</label>
<nav class="menu" aria-label="Navigation">
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#projekte">OpenSource Showcase</a></li>
<li><a href="#vision">Vision</a></li>
<li><a href="#kontakt">Kontakt</a></li>
</ul>
</nav>
</div>
<div class="language-toggle">
<button onclick="setLanguage('de')">🇩🇪</button>
<button onclick="setLanguage('en')">🇬🇧</button>
</div>
<div class="page">
<section id="home" class="hero">
<div class="logo-line">
<img src="img/reset42.svg" alt="reset42 Logo" class="logo">
<span class="cursor cursor--logo" aria-hidden="true"></span>
</div>
<div class="badge-row">
<span class="pill pill-green">Labs</span>
<span class="pill">IoT</span>
<span class="pill pill-pink">Open Source</span>
</div>
<hr class="showcase-divider" />
<h2 class="showcase-title">Open Source Showcase</h2>
<div class="claim" id="claim-de">Werkzeuge für Embedded, Automatisierung und offene Ökosysteme – für Entwickler, Maker und Integratoren.</div>
<div class="claim" id="claim-en" style="display:none;">Tech-Driven tools for embedded, automation and open ecosystems — built for engineers, makers and integrators.</div>
</section>
<section id="projekte" class="section-card">
<div class="section-header">
<h3 class="section-title">Aktuelle Builds</h3>
</div>
<div class="project-grid" id="project-grid"></div>
</section>
<div class="showcase-vision-btn-wrapper" id="vision">
<button class="vision_btn" id="vision-btn" onclick="showVision()">🚀 Vision & Ausblick</button>
</div>
<section id="kontakt" class="section-card">
<div class="section-header">
<h3 class="section-title">Kontakt & Links</h3>
</div>
<div class="icons">
<a href="https://x.com/reset_42_de" target="_blank" title="X / @reset_42_de">
<img src="img/x_logo.svg" alt="X Logo" width="32" height="32" />
</a>
<a href="https://instagram.com/reset_42_de" target="_blank" title="Instagram / @reset_42_de">
<img src="img/insta_logo.svg" alt="Instagram Logo" width="32" height="32" />
</a>
<a href="https://github.com/reset42" target="_blank" title="GitHub / reset42">
<img src="img/github-mark-white.svg" alt="GitHub Logo" width="32" height="32" />
</a>
</div>
<div class="contact">
Kontakt: <a href="mailto:info@reset42.de">info@reset42.de</a>
</div>
<div class="legal-row">
<button onclick="loadModal('impressum')">Impressum</button> |
<button onclick="loadModal('datenschutz')">Datenschutz</button><br>
reset42 ist ein technisches Frühphasenprojekt mit Startup-Charakter, aktuell noch ohne kommerzielle Angebote.<br>
Keine Cookies. Kein Tracking.
</div>
</section>
</div>
<div id="visionModal" class="modal" onclick="hideVision()">
<div class="modal-content" onclick="event.stopPropagation()">
<span class="close-modal" onclick="hideVision()">×</span>
<div id="vision-de">
<h2>reset42 – Vision & Ausblick</h2>
<ul class="vision-list">
<li>🏠 Heimautomatisierung: Licht, Sensoren, Aktoren, Energieüberwachung, Systemintegration & Schnittstellen zu bestehenden Systemen</li>
<li>🌱 Gewächshaussteuerung: Klima, Licht, Bodenfeuchte, Aktoren uvm.</li>
<li>🔌 Embedded-Entwicklung & Systemintegration: Mikroprozessorsteuerung, Go, TinyGo, C, Python, Micropython, Webfrontends</li>
<li>🌐 Schnittstellen: MQTT, REST, WebSocket, Bluetooth, BLE, RS485, JSON</li>
<li>🚰 Plattformunabhängigkeit: lokale Systeme, Open-Source-freundlich</li>
</ul>
<p><em>Hinweis: reset42 ist aktuell (noch) kein Unternehmen und bietet keine Leistungen an. Es handelt sich um ein technisches Frühphasenprojekt mit Startup-Charakter.</em></p>
</div>
<div id="vision-en" style="display:none">
<h2>reset42 – Vision & Outlook</h2>
<ul class="vision-list">
<li>🏠 Home automation: lighting, sensors, actuators, energy monitoring, system integration & interfaces to existing systems</li>
<li>🌱 Greenhouse control: climate, lighting, soil moisture, actuators, and more</li>
<li>🔌 Embedded development & system integration: microcontroller programming, Go, TinyGo, C, Python, Micropython, web frontends</li>
<li>🌐 Interfaces: MQTT, REST, WebSocket, Bluetooth, BLE, RS485, JSON</li>
<li>🚰 Platform independence: local systems, open-source friendly</li>
</ul>
<p><em>Note: reset42 is not (yet) a company and does not offer any services. This is an early-stage technical project with a startup character.</em></p>
</div>
</div>
</div>
<script>
const cardHtml = {
de: [
`<h3>🌱 (r42) Gardensensor</h3>
<p>µPython basierte Sensoreinheit mit MQTT & Logging. Optimiert für Raspberry Pi Pico W.</p>
<a href="https://github.com/reset42/r42_Gardensensor_MicroPython" target="_blank">🔗 GitHub</a>`,
`<h3>⚡ Go4-HP-90EPC</h3>
<p>Plattformunabhängiges Go-Tool mit Web-UI für Live-Anzeige & Logging vom HP-90EPC Multimeter (seriell).</p>
<a href="https://github.com/reset42/Go4-HP-90EPC" target="_blank">🔗 GitHub</a>`
],
en: [
`<h3>🌱 (r42) Gardensensor</h3>
<p>µPython-based sensor unit with MQTT & logging. Optimized for Raspberry Pi Pico W.</p>
<a href="https://github.com/reset42/r42_Gardensensor_MicroPython" target="_blank">🔗 GitHub</a>`,
`<h3>⚡ Go4-HP-90EPC</h3>
<p>Cross-platform Go tool with a clean web UI for live reading & logging from the HP-90EPC multimeter (serial).</p>
<a href="https://github.com/reset42/Go4-HP-90EPC" target="_blank">🔗 GitHub</a>`
]
};
function loadCards(lang) {
const container = document.getElementById('project-grid');
container.innerHTML = '';
const cards = cardHtml[lang === 'de' ? 'de' : 'en'];
cards.forEach(html => {
const div = document.createElement('div');
div.classList.add('project-card');
div.innerHTML = html;
container.appendChild(div);
});
}
function setLanguage(lang) {
document.getElementById('vision-de').style.display = lang === 'de' ? 'block' : 'none';
document.getElementById('vision-en').style.display = lang === 'en' ? 'block' : 'none';
document.getElementById('vision-btn').textContent =
lang === 'de' ? '🚀 Vision & Ausblick' : '🚀 Vision & Outlook';
document.getElementById('claim-de').style.display = lang === 'de' ? 'block' : 'none';
document.getElementById('claim-en').style.display = lang === 'en' ? 'block' : 'none';
loadCards(lang);
}
function loadModal(type) {
const modal = document.getElementById('legalModal');
const content = document.getElementById('legalContent');
content.innerHTML = 'Lade Inhalt...';
const url = type === 'impressum' ? 'html/impressum.html' : 'html/datenschutz.html';
fetch(url)
.then(res => {
if (!res.ok) throw new Error('HTTP ' + res.status);
return res.text();
})
.then(html => {
content.innerHTML = html;
modal.style.display = 'flex';
requestAnimationFrame(() => modal.classList.add('show'));
})
.catch(err => {
content.innerHTML = '<p style="color: red;">Fehler beim Laden des Inhalts.</p>';
modal.style.display = 'flex';
requestAnimationFrame(() => modal.classList.add('show'));
console.error(err);
});
}
function hideLegal() {
const modal = document.getElementById('legalModal');
modal.classList.remove('show');
setTimeout(() => modal.style.display = 'none', 300);
}
function showVision() {
const modal = document.getElementById('visionModal');
modal.style.display = 'flex';
requestAnimationFrame(() => modal.classList.add('show'));
}
function hideVision() {
const modal = document.getElementById('visionModal');
modal.classList.remove('show');
setTimeout(() => modal.style.display = 'none', 300);
}
setLanguage('de');
</script>
<div id="legalModal" class="modal" onclick="hideLegal()">
<div class="modal-content" onclick="event.stopPropagation()">
<span class="close-modal" onclick="hideLegal()">×</span>
<div id="legalContent">Lade Inhalt...</div>
</div>
</div>
</body>
</html>