-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemergency.html
More file actions
214 lines (188 loc) · 6.56 KB
/
Copy pathemergency.html
File metadata and controls
214 lines (188 loc) · 6.56 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title data-i18n="emergency.title">Motorcyclist - Information Page</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="./assets/language-switcher.css">
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f0f7ff;
color: #333;
line-height: 1.6;
padding: 15px;
max-width: 100%;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background: white;
border-radius: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
overflow: hidden;
width: 100%;
max-width: 500px;
}
header {
background: #e31837;
color: white;
text-align: center;
padding: 25px 15px;
position: relative;
}
.logo {
font-size: 40px;
margin-bottom: 10px;
}
h1 {
font-size: 24px;
margin-bottom: 10px;
}
.subtitle {
font-size: 16px;
opacity: 0.9;
}
.content {
padding: 25px 20px;
text-align: center;
}
.description {
margin-bottom: 25px;
color: #555;
line-height: 1.6;
}
.options {
display: flex;
flex-direction: column;
gap: 15px;
margin-top: 30px;
}
.option-button {
display: flex;
align-items: center;
padding: 18px 20px;
background: white;
border-radius: 10px;
text-align: left;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: all 0.3s;
border: 2px solid #e31837;
color: #333;
font-weight: 600;
text-decoration: none;
}
.option-button:hover {
transform: translateY(-5px);
background: #e31837;
color: white;
cursor: pointer;
}
.option-icon {
font-size: 28px;
margin-right: 15px;
width: 40px;
text-align: center;
}
.option-text {
flex: 1;
}
.option-title {
font-size: 18px;
font-weight: 700;
margin-bottom: 5px;
}
.option-desc {
font-size: 14px;
color: #666;
}
.option-button:hover .option-desc {
color: rgba(255, 255, 255, 0.9);
}
footer {
text-align: center;
padding: 20px;
background: #333;
color: white;
font-size: 14px;
border-radius: 0 0 15px 15px;
}
@media (max-width: 480px) {
.option-button {
padding: 15px;
}
.option-icon {
font-size: 24px;
margin-right: 12px;
}
h1 {
font-size: 22px;
}
}
</style>
</head>
<body>
<!-- Language Switcher -->
<div class="language-switcher">
<button class="lang-btn" data-lang="ru" aria-label="Русский"></button>
<button class="lang-btn" data-lang="en" aria-label="English"></button>
<button class="lang-btn" data-lang="th" aria-label="ไทย"></button>
<button class="lang-btn" data-lang="vi" aria-label="Tiếng Việt"></button>
</div>
<div class="container">
<header>
<div class="logo">
<i class="fas fa-motorcycle"></i>
</div>
<h1 data-i18n="emergency.header">Motorcyclist</h1>
<p class="subtitle" data-i18n="emergency.subtitle">Information Page</p>
</header>
<div class="content">
<p class="description" data-i18n="emergency.description">You followed the QR code from the motorcycle. Please select the option that best describes your situation:</p>
<div class="options">
<a href="first_aid.html" class="option-button">
<div class="option-icon">
<i class="fas fa-ambulance"></i>
</div>
<div class="option-text">
<div class="option-title" data-i18n="emergency.option1.title">Accident Happened</div>
<div class="option-desc" data-i18n="emergency.option1.desc">Go to first aid instructions and emergency contacts</div>
</div>
</a>
<a href="contacts.html" class="option-button">
<div class="option-icon">
<i class="fas fa-briefcase"></i>
</div>
<div class="option-text">
<div class="option-title" data-i18n="emergency.option2.title">Found Personal Items</div>
<div class="option-desc" data-i18n="emergency.option2.desc">Contact the owner to return lost items</div>
</div>
</a>
<a href="about.html" class="option-button">
<div class="option-icon">
<i class="fas fa-smile"></i>
</div>
<div class="option-text">
<div class="option-title" data-i18n="emergency.option3.title">All Good, Just Curious</div>
<div class="option-desc" data-i18n="emergency.option3.desc">Learn more about the project and its purpose</div>
</div>
</a>
</div>
</div>
<footer>
<p data-i18n="emergency.footer">© 2026 Kirill Zhivi Horosho</p>
</footer>
</div>
<script src="./assets/translations.js"></script>
<script src="./assets/language-switcher.js"></script>
</body>
</html>