-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
237 lines (210 loc) · 8.52 KB
/
Copy pathindex.html
File metadata and controls
237 lines (210 loc) · 8.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ORBIT OS - Next Generation Linux</title>
<style>
/* Tông màu chủ đạo: Đen, Xanh biển, Xanh lá */
:root {
--bg-color: #050505;
--card-bg: #111111;
--accent-blue: #007aff;
--accent-green: #2ecc71;
--text-main: #ffffff;
--text-dim: #888888;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
line-height: 1.6;
/* Cố định Dark Mode, không cho phép light mode */
color-scheme: dark;
}
/* Nút chuyển ngôn ngữ */
.lang-container {
position: absolute;
top: 20px;
right: 20px;
}
#langBtn {
background: rgba(255, 255, 255, 0.1);
border: 1px solid var(--accent-blue);
color: white;
padding: 8px 16px;
cursor: pointer;
border-radius: 5px;
transition: 0.3s;
}
#langBtn:hover {
background: var(--accent-blue);
}
/* Hero Section */
.hero {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 20px;
background: radial-gradient(circle at top, #001f3f, #050505);
}
h1 {
font-size: 5rem;
margin-bottom: 10px;
text-shadow: 0 0 20px rgba(0, 122, 255, 0.5);
}
.description {
font-size: 1.4rem;
color: var(--text-dim);
margin-bottom: 40px;
max-width: 700px;
}
/* Buttons */
.cta-buttons {
display: flex;
gap: 20px;
}
.btn {
padding: 15px 30px;
text-decoration: none;
font-weight: bold;
border-radius: 8px;
transition: 0.3s;
}
.btn-download {
background: var(--accent-blue);
color: white;
}
.btn-github {
border: 2px solid var(--accent-green);
color: var(--accent-green);
}
.btn:hover {
transform: scale(1.05);
filter: brightness(1.2);
}
/* Features */
.features {
padding: 100px 20px;
max-width: 1100px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
}
.feature-card {
background: var(--card-bg);
padding: 30px;
border-radius: 15px;
border-left: 4px solid var(--accent-blue);
}
.feature-card h3 {
color: var(--accent-green);
margin-bottom: 15px;
}
/* Footer gộp chung thông tin */
footer {
padding: 60px 20px;
text-align: center;
border-top: 1px solid #222;
color: var(--text-dim);
font-size: 0.9rem;
}
.footer-info {
letter-spacing: 0.5px;
}
@media (max-width: 600px) {
h1 { font-size: 3rem; }
.cta-buttons { flex-direction: column; }
}
</style>
</head>
<body>
<div class="lang-container">
<button id="langBtn" onclick="changeLang()">Tiếng Việt</button>
</div>
<section class="hero">
<h1 id="title">ORBIT OS</h1>
<p class="description" id="heroDesc">An Arch Linux & EndeavourOS based operating system with a elegant macOS look and feel.</p>
<div class="cta-buttons">
<a href="#" class="btn btn-download" id="btnDown">Download Now</a>
<a href="https://github.com/LinuxDEdeveloper/ORBIT-Operating-System-repo" target="_blank" class="btn btn-github" id="btnGit">Official GitHub</a>
</div>
</section>
<section class="features">
<div class="feature-card">
<h3 id="f1t">MacOS Aesthetics</h3>
<p id="f1d">Enjoy a beautiful, polished interface inspired by macOS, built on top of the most powerful Linux base.</p>
</div>
<div class="feature-card">
<h3 id="f2t">Daily Updates</h3>
<p id="f2d">With the power of Arch Linux, you get the latest kernels and software packages every single day.</p>
</div>
<div class="feature-card">
<h3 id="f3t">Optimized Base</h3>
<p id="f3d">Built upon EndeavourOS foundations for a lightweight, stable, and developer-friendly environment.</p>
</div>
</section>
<footer>
<p class="footer-info" id="footerText">
© 2026 Dự án ORBIT OS — Licensed under GPLv3 & LGPLv3
</p>
</footer>
<script>
// Mặc định ban đầu là Tiếng Anh
let isVietnamese = false;
function changeLang() {
isVietnamese = !isVietnamese;
const btn = document.getElementById('langBtn');
const title = document.getElementById('title');
const heroDesc = document.getElementById('heroDesc');
const btnDown = document.getElementById('btnDown');
const btnGit = document.getElementById('btnGit');
const f1t = document.getElementById('f1t');
const f1d = document.getElementById('f1d');
const f2t = document.getElementById('f2t');
const f2d = document.getElementById('f2d');
const f3t = document.getElementById('f3t');
const f3d = document.getElementById('f3d');
const footerText = document.getElementById('footerText');
if (isVietnamese) {
// Đổi sang Tiếng Việt
btn.innerText = "English";
heroDesc.innerText = "Hệ điều hành dựa trên Arch Linux & EndeavourOS với giao diện macOS tinh tế và sang trọng.";
btnDown.innerText = "Tải ngay";
btnGit.innerText = "GitHub chính thức";
f1t.innerText = "Giao diện MacOS";
f1d.innerText = "Tận hưởng giao diện đẹp mắt, bóng bẩy lấy cảm hứng từ macOS trên nền tảng Linux mạnh mẽ nhất.";
f2t.innerText = "Cập nhật hàng ngày";
f2d.innerText = "Với sức mạnh của Arch Linux, bạn sẽ nhận được các bản kernel và phần mềm mới nhất mỗi ngày.";
f3t.innerText = "Nền tảng tối ưu";
f3d.innerText = "Xây dựng trên nền EndeavourOS cho môi trường nhẹ nhàng, ổn định và thân thiện với lập trình viên.";
footerText.innerText = "© 2026 Dự án ORBIT OS — Phát hành theo giấy phép GPLv3 & LGPLv3";
document.documentElement.lang = "vi";
} else {
// Đổi sang Tiếng Anh
btn.innerText = "Tiếng Việt";
heroDesc.innerText = "An Arch Linux & EndeavourOS based operating system with a elegant macOS look and feel.";
btnDown.innerText = "Download Now";
btnGit.innerText = "Official GitHub";
f1t.innerText = "MacOS Aesthetics";
f1d.innerText = "Enjoy a beautiful, polished interface inspired by macOS, built on top of the most powerful Linux base.";
f2t.innerText = "Daily Updates";
f2d.innerText = "With the power of Arch Linux, you get the latest kernels and software packages every single day.";
f3t.innerText = "Optimized Base";
f3d.innerText = "Built upon EndeavourOS foundations for a lightweight, stable, and developer-friendly environment.";
footerText.innerText = "© 2026 Dự án ORBIT OS — Licensed under GPLv3 & LGPLv3";
document.documentElement.lang = "en";
}
}
</script>
</body>
</html>