-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimpressum.html
More file actions
233 lines (223 loc) · 8.34 KB
/
impressum.html
File metadata and controls
233 lines (223 loc) · 8.34 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
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Impressum – XMenu</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Noto+Sans+SC:wght@400;600;700&display=swap"
rel="stylesheet"
/>
<style>
:root {
color-scheme: dark;
font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background-color: #0f172a;
color: #e2e8f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
margin: 0;
min-height: 100vh;
display: flex;
align-items: flex-start;
justify-content: center;
background: radial-gradient(circle at top, #1e293b, #0f172a 65%);
padding: 48px 20px;
}
main {
width: min(720px, 100%);
background: rgba(15, 23, 42, 0.85);
border: 1px solid rgba(148, 163, 184, 0.2);
border-radius: 28px;
padding: 56px clamp(24px, 5vw, 64px);
box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
display: grid;
gap: 32px;
backdrop-filter: blur(10px);
}
h1 {
font-size: clamp(1.8rem, 3vw, 2.6rem);
color: #f8fafc;
font-weight: 700;
line-height: 1.2;
}
h2 {
font-size: 1.1rem;
color: #f1f5f9;
font-weight: 600;
margin-bottom: 6px;
}
p, address {
font-size: 0.95rem;
color: #cbd5e1;
line-height: 1.7;
font-style: normal;
}
a { color: #38bdf8; text-decoration: none; }
a:hover { text-decoration: underline; }
.back-link {
display: inline-flex;
align-items: center;
gap: 6px;
color: #94a3b8;
font-size: 0.9rem;
text-decoration: none;
transition: color 0.2s;
}
.back-link:hover { color: #e2e8f0; text-decoration: none; }
.nav-links {
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
}
.section {
border-top: 1px solid rgba(148, 163, 184, 0.15);
padding-top: 24px;
}
.language-switcher {
position: fixed;
top: 24px;
right: 24px;
z-index: 10000;
display: flex;
gap: 8px;
background: rgba(15, 23, 42, 0.95);
border: 1px solid rgba(148, 163, 184, 0.25);
border-radius: 999px;
padding: 6px;
backdrop-filter: blur(10px);
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4);
}
.lang-btn {
appearance: none;
border: none;
background: transparent;
color: #94a3b8;
padding: 8px 16px;
border-radius: 999px;
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
font-family: inherit;
}
.lang-btn:hover { color: #e2e8f0; background: rgba(148, 163, 184, 0.1); }
.lang-btn.active {
background: linear-gradient(135deg, #38bdf8, #0ea5e9);
color: #0f172a;
box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}
@media (max-width: 640px) {
body { padding: 24px 16px; }
main { padding: 40px 24px; gap: 24px; }
h1 { font-size: 1.8rem; }
}
</style>
</head>
<body>
<div class="language-switcher">
<button class="lang-btn" data-lang="en" aria-label="Switch to English">EN</button>
<button class="lang-btn active" data-lang="de" aria-label="Switch to German">DE</button>
<button class="lang-btn" data-lang="zh" aria-label="Switch to Chinese">ZH</button>
</div>
<main>
<div class="nav-links">
<a class="back-link" href="index.html" data-i18n="backLink">← Zurück zur Startseite</a>
<a class="back-link" href="datenschutz.html" data-i18n="privacyLink">Datenschutz</a>
</div>
<h1 data-i18n="title">Impressum</h1>
<!-- =====================================================================
IMPRESSUM CONTENT – edit the fields below freely
===================================================================== -->
<div class="section">
<h2 data-i18n="section1Title">Angaben gemäß § 5 TMG</h2>
<address>
XMenu<br />
28259 Huchting/Schwachhausen<br />
<span data-i18n="country">Deutschland</span>
</address>
</div>
<div class="section">
<h2 data-i18n="section2Title">Kontakt</h2>
<p>
E-Mail: <a href="mailto:support@xmenu.dev">support@xmenu.dev</a>
</p>
</div>
<div class="section">
<h2 data-i18n="section3Title">Verantwortlich für den Inhalt nach § 55 Abs. 2 RStV</h2>
<address>
XMenu<br />
28259 Huchting
</address>
</div>
<div class="section">
<h2 data-i18n="section4Title">Haftungsausschluss</h2>
<p data-i18n="section4Body">
Die Inhalte dieser Website wurden mit größtmöglicher Sorgfalt erstellt.
Für die Richtigkeit, Vollständigkeit und Aktualität der Inhalte können wir
jedoch keine Gewähr übernehmen. Als Diensteanbieter sind wir gemäß § 7 Abs. 1
TMG für eigene Inhalte auf diesen Seiten nach den allgemeinen Gesetzen
verantwortlich.
</p>
</div>
<!-- ===================================================================== -->
</main>
<script>
const translations = {
de: {
backLink: "\u2190 Zurück zur Startseite",
privacyLink: "Datenschutz",
title: "Impressum",
section1Title: "Angaben gemäß § 5 TMG",
country: "Deutschland",
section2Title: "Kontakt",
section3Title: "Verantwortlich für den Inhalt nach § 55 Abs. 2 RStV",
section4Title: "Haftungsausschluss",
section4Body: "Die Inhalte dieser Website wurden mit größtmöglicher Sorgfalt erstellt. Für die Richtigkeit, Vollständigkeit und Aktualität der Inhalte können wir jedoch keine Gewähr übernehmen. Als Diensteanbieter sind wir gemäß § 7 Abs. 1 TMG für eigene Inhalte auf diesen Seiten nach den allgemeinen Gesetzen verantwortlich."
},
en: {
backLink: "\u2190 Back to Home",
privacyLink: "Privacy Policy",
title: "Legal Notice",
section1Title: "Company Information",
country: "Germany",
section2Title: "Contact",
section3Title: "Editorial Responsibility",
section4Title: "Disclaimer",
section4Body: "The contents of this website have been compiled with the utmost care. However, we cannot guarantee the accuracy, completeness or timeliness of the content. As a service provider, we are responsible for our own content on these pages in accordance with general laws."
},
zh: {
backLink: "\u2190 返回主页",
privacyLink: "隐私政策",
title: "法律声明",
section1Title: "公司信息",
country: "德国",
section2Title: "联系方式",
section3Title: "内容责任",
section4Title: "免责声明",
section4Body: "本网站内容经过精心编写,但我们无法保证内容的准确性、完整性和时效性。作为服务提供商,我们依据法律对本网站自有内容负责。"
}
};
function setLanguage(lang) {
const t = translations[lang] || translations.de;
document.querySelectorAll("[data-i18n]").forEach(el => {
const key = el.getAttribute("data-i18n");
if (t[key] !== undefined) el.textContent = t[key];
});
document.documentElement.lang = lang;
document.querySelectorAll(".lang-btn").forEach(btn => {
btn.classList.toggle("active", btn.getAttribute("data-lang") === lang);
});
localStorage.setItem("xmenu-lang", lang);
}
document.querySelectorAll(".lang-btn").forEach(btn => {
btn.addEventListener("click", () => setLanguage(btn.getAttribute("data-lang")));
});
setLanguage(localStorage.getItem("xmenu-lang") || "de");
</script>
</body>
</html>