|
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | 6 | <title>ORBIT OS - Next Generation Linux</title> |
7 | 7 | <style> |
8 | | - /* Tông màu chủ đạo */ |
| 8 | + /* Tông màu chủ đạo: Đen, Xanh biển, Xanh lá */ |
9 | 9 | :root { |
10 | | - --bg-color: #0a0a0a; |
11 | | - --card-bg: #161616; |
| 10 | + --bg-color: #050505; |
| 11 | + --card-bg: #111111; |
12 | 12 | --accent-blue: #007aff; |
13 | | - --accent-green: #34c759; |
| 13 | + --accent-green: #2ecc71; |
14 | 14 | --text-main: #ffffff; |
15 | | - --text-dim: #a1a1a1; |
16 | | - --glass: rgba(255, 255, 255, 0.05); |
| 15 | + --text-dim: #888888; |
17 | 16 | } |
18 | 17 |
|
19 | 18 | * { |
20 | 19 | margin: 0; |
21 | 20 | padding: 0; |
22 | 21 | box-sizing: border-box; |
23 | | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| 22 | + font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; |
24 | 23 | } |
25 | 24 |
|
26 | 25 | body { |
27 | 26 | background-color: var(--bg-color); |
28 | 27 | color: var(--text-main); |
29 | 28 | line-height: 1.6; |
30 | | - overflow-x: hidden; |
| 29 | + /* Cố định Dark Mode, không cho phép light mode */ |
| 30 | + color-scheme: dark; |
31 | 31 | } |
32 | 32 |
|
33 | 33 | /* Nút chuyển ngôn ngữ */ |
34 | | - .lang-switcher { |
35 | | - position: fixed; |
| 34 | + .lang-container { |
| 35 | + position: absolute; |
36 | 36 | top: 20px; |
37 | 37 | right: 20px; |
38 | | - z-index: 1000; |
39 | 38 | } |
40 | 39 |
|
41 | | - .lang-btn { |
42 | | - background: var(--glass); |
43 | | - border: 1px solid rgba(255,255,255,0.1); |
| 40 | + #langBtn { |
| 41 | + background: rgba(255, 255, 255, 0.1); |
| 42 | + border: 1px solid var(--accent-blue); |
44 | 43 | color: white; |
45 | | - padding: 8px 15px; |
| 44 | + padding: 8px 16px; |
46 | 45 | cursor: pointer; |
47 | | - border-radius: 20px; |
48 | | - backdrop-filter: blur(10px); |
| 46 | + border-radius: 5px; |
49 | 47 | transition: 0.3s; |
50 | 48 | } |
51 | 49 |
|
52 | | - .lang-btn:hover { |
| 50 | + #langBtn:hover { |
53 | 51 | background: var(--accent-blue); |
54 | 52 | } |
55 | 53 |
|
56 | | - /* Header / Hero Section */ |
57 | | - header { |
| 54 | + /* Hero Section */ |
| 55 | + .hero { |
58 | 56 | height: 100vh; |
59 | 57 | display: flex; |
60 | 58 | flex-direction: column; |
61 | 59 | justify-content: center; |
62 | 60 | align-items: center; |
63 | 61 | text-align: center; |
64 | | - background: radial-gradient(circle at center, #001a33 0%, #0a0a0a 100%); |
65 | | - padding: 20px; |
| 62 | + padding: 0 20px; |
| 63 | + background: radial-gradient(circle at top, #001f3f, #050505); |
66 | 64 | } |
67 | 65 |
|
68 | 66 | h1 { |
69 | | - font-size: 4rem; |
70 | | - letter-spacing: -1px; |
| 67 | + font-size: 5rem; |
71 | 68 | margin-bottom: 10px; |
72 | | - background: linear-gradient(to right, var(--accent-blue), var(--accent-green)); |
73 | | - -webkit-background-clip: text; |
74 | | - -webkit-text-fill-color: transparent; |
| 69 | + text-shadow: 0 0 20px rgba(0, 122, 255, 0.5); |
75 | 70 | } |
76 | 71 |
|
77 | | - .tagline { |
78 | | - font-size: 1.5rem; |
| 72 | + .description { |
| 73 | + font-size: 1.4rem; |
79 | 74 | color: var(--text-dim); |
80 | | - margin-bottom: 30px; |
| 75 | + margin-bottom: 40px; |
| 76 | + max-width: 700px; |
81 | 77 | } |
82 | 78 |
|
83 | 79 | /* Buttons */ |
84 | | - .btn-group { |
| 80 | + .cta-buttons { |
85 | 81 | display: flex; |
86 | 82 | gap: 20px; |
87 | | - flex-wrap: wrap; |
88 | | - justify-content: center; |
89 | 83 | } |
90 | 84 |
|
91 | 85 | .btn { |
92 | | - padding: 15px 35px; |
93 | | - border-radius: 30px; |
| 86 | + padding: 15px 30px; |
94 | 87 | text-decoration: none; |
95 | | - font-weight: 600; |
96 | | - transition: all 0.3s ease; |
97 | | - display: inline-block; |
| 88 | + font-weight: bold; |
| 89 | + border-radius: 8px; |
| 90 | + transition: 0.3s; |
98 | 91 | } |
99 | 92 |
|
100 | 93 | .btn-download { |
101 | | - background-color: var(--accent-blue); |
| 94 | + background: var(--accent-blue); |
102 | 95 | color: white; |
103 | 96 | } |
104 | 97 |
|
105 | 98 | .btn-github { |
106 | | - background-color: transparent; |
107 | 99 | border: 2px solid var(--accent-green); |
108 | 100 | color: var(--accent-green); |
109 | 101 | } |
110 | 102 |
|
111 | 103 | .btn:hover { |
112 | | - transform: translateY(-3px); |
113 | | - box-shadow: 0 10px 20px rgba(0,0,0,0.4); |
| 104 | + transform: scale(1.05); |
| 105 | + filter: brightness(1.2); |
114 | 106 | } |
115 | 107 |
|
116 | | - /* Features Section */ |
| 108 | + /* Features */ |
117 | 109 | .features { |
118 | 110 | padding: 100px 20px; |
119 | | - max-width: 1200px; |
| 111 | + max-width: 1100px; |
120 | 112 | margin: 0 auto; |
121 | | - } |
122 | | - |
123 | | - .section-title { |
124 | | - text-align: center; |
125 | | - font-size: 2.5rem; |
126 | | - margin-bottom: 50px; |
127 | | - } |
128 | | - |
129 | | - .grid { |
130 | 113 | display: grid; |
131 | 114 | grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
132 | | - gap: 30px; |
| 115 | + gap: 40px; |
133 | 116 | } |
134 | 117 |
|
135 | | - .card { |
| 118 | + .feature-card { |
136 | 119 | background: var(--card-bg); |
137 | | - padding: 40px; |
138 | | - border-radius: 24px; |
139 | | - border: 1px solid rgba(255,255,255,0.05); |
140 | | - transition: 0.3s; |
141 | | - } |
142 | | - |
143 | | - .card:hover { |
144 | | - border-color: var(--accent-blue); |
| 120 | + padding: 30px; |
| 121 | + border-radius: 15px; |
| 122 | + border-left: 4px solid var(--accent-blue); |
145 | 123 | } |
146 | 124 |
|
147 | | - .card h3 { |
148 | | - margin-bottom: 15px; |
| 125 | + .feature-card h3 { |
149 | 126 | color: var(--accent-green); |
| 127 | + margin-bottom: 15px; |
150 | 128 | } |
151 | 129 |
|
152 | | - /* Footer */ |
| 130 | + /* Footer gộp chung thông tin */ |
153 | 131 | footer { |
154 | | - padding: 50px 20px; |
| 132 | + padding: 60px 20px; |
155 | 133 | text-align: center; |
156 | | - border-top: 1px solid rgba(255,255,255,0.05); |
| 134 | + border-top: 1px solid #222; |
157 | 135 | color: var(--text-dim); |
158 | 136 | font-size: 0.9rem; |
159 | 137 | } |
160 | 138 |
|
161 | | - .license { |
162 | | - margin-top: 10px; |
163 | | - color: var(--accent-blue); |
| 139 | + .footer-info { |
| 140 | + letter-spacing: 0.5px; |
164 | 141 | } |
165 | 142 |
|
166 | | - /* Responsive */ |
167 | | - @media (max-width: 768px) { |
168 | | - h1 { font-size: 2.5rem; } |
169 | | - .tagline { font-size: 1.1rem; } |
| 143 | + @media (max-width: 600px) { |
| 144 | + h1 { font-size: 3rem; } |
| 145 | + .cta-buttons { flex-direction: column; } |
170 | 146 | } |
171 | 147 | </style> |
172 | 148 | </head> |
173 | 149 | <body> |
174 | 150 |
|
175 | | - <div class="lang-switcher"> |
176 | | - <button class="lang-btn" onclick="toggleLanguage()" id="langBtn">Tiếng Việt</button> |
| 151 | + <div class="lang-container"> |
| 152 | + <button id="langBtn" onclick="changeLang()">Tiếng Việt</button> |
177 | 153 | </div> |
178 | 154 |
|
179 | | - <header> |
180 | | - <h1 id="mainTitle">ORBIT OS</h1> |
181 | | - <p class="tagline" id="tagline">The power of Arch, the beauty of macOS.</p> |
182 | | - <div class="btn-group"> |
183 | | - <a href="#" class="btn btn-download" id="btnDl">Download ISO</a> |
184 | | - <a href="https://github.com/LinuxDEdeveloper/ORBIT-Operating-System-repo" target="_blank" class="btn btn-github" id="btnGit">GitHub Official</a> |
| 155 | + <section class="hero"> |
| 156 | + <h1 id="title">ORBIT OS</h1> |
| 157 | + <p class="description" id="heroDesc">An Arch Linux & EndeavourOS based operating system with a elegant macOS look and feel.</p> |
| 158 | + <div class="cta-buttons"> |
| 159 | + <a href="#" class="btn btn-download" id="btnDown">Download Now</a> |
| 160 | + <a href="https://github.com/LinuxDEdeveloper/ORBIT-Operating-System-repo" target="_blank" class="btn btn-github" id="btnGit">Official GitHub</a> |
185 | 161 | </div> |
186 | | - </header> |
| 162 | + </section> |
187 | 163 |
|
188 | 164 | <section class="features"> |
189 | | - <h2 class="section-title" id="featTitle">Why ORBIT OS?</h2> |
190 | | - <div class="grid"> |
191 | | - <div class="card"> |
192 | | - <h3 id="f1-t">macOS Aesthetics</h3> |
193 | | - <p id="f1-d">A refined user interface inspired by macOS, providing a premium and intuitive desktop experience out of the box.</p> |
194 | | - </div> |
195 | | - <div class="card"> |
196 | | - <h3 id="f2-t">Bleeding Edge</h3> |
197 | | - <p id="f2-d">Based on Arch Linux and EndeavourOS. Get daily updates and the latest software packages every single day.</p> |
198 | | - </div> |
199 | | - <div class="card"> |
200 | | - <h3 id="f3-t">High Performance</h3> |
201 | | - <p id="f3-d">Optimized for speed and stability. Orbit OS ensures your hardware performs at its maximum potential.</p> |
202 | | - </div> |
| 165 | + <div class="feature-card"> |
| 166 | + <h3 id="f1t">MacOS Aesthetics</h3> |
| 167 | + <p id="f1d">Enjoy a beautiful, polished interface inspired by macOS, built on top of the most powerful Linux base.</p> |
| 168 | + </div> |
| 169 | + <div class="feature-card"> |
| 170 | + <h3 id="f2t">Daily Updates</h3> |
| 171 | + <p id="f2d">With the power of Arch Linux, you get the latest kernels and software packages every single day.</p> |
| 172 | + </div> |
| 173 | + <div class="feature-card"> |
| 174 | + <h3 id="f3t">Optimized Base</h3> |
| 175 | + <p id="f3d">Built upon EndeavourOS foundations for a lightweight, stable, and developer-friendly environment.</p> |
203 | 176 | </div> |
204 | 177 | </section> |
205 | 178 |
|
206 | 179 | <footer> |
207 | | - <p id="copyright">© 2026 Dự án ORBIT OS</p> |
208 | | - <p class="license">Licensed under GPLv3 & LGPLv3</p> |
| 180 | + <p class="footer-info" id="footerText"> |
| 181 | + © 2026 Dự án ORBIT OS — Licensed under GPLv3 & LGPLv3 |
| 182 | + </p> |
209 | 183 | </footer> |
210 | 184 |
|
211 | 185 | <script> |
212 | | - let currentLang = 'en'; |
| 186 | + // Mặc định ban đầu là Tiếng Anh |
| 187 | + let isVietnamese = false; |
213 | 188 |
|
214 | | - const content = { |
215 | | - en: { |
216 | | - btnLang: "Tiếng Việt", |
217 | | - tagline: "The power of Arch, the beauty of macOS.", |
218 | | - btnDl: "Download ISO", |
219 | | - btnGit: "GitHub Official", |
220 | | - featTitle: "Why ORBIT OS?", |
221 | | - f1t: "macOS Aesthetics", |
222 | | - f1d: "A refined user interface inspired by macOS, providing a premium and intuitive desktop experience out of the box.", |
223 | | - f2t: "Bleeding Edge", |
224 | | - f2d: "Based on Arch Linux and EndeavourOS. Get daily updates and the latest software packages every single day.", |
225 | | - f3t: "High Performance", |
226 | | - f3d: "Optimized for speed and stability. Orbit OS ensures your hardware performs at its maximum potential.", |
227 | | - copyright: "© 2026 Dự án ORBIT OS" |
228 | | - }, |
229 | | - vi: { |
230 | | - btnLang: "English", |
231 | | - tagline: "Sức mạnh của Arch, vẻ đẹp của macOS.", |
232 | | - btnDl: "Tải về ISO", |
233 | | - btnGit: "Trang GitHub chính thức", |
234 | | - featTitle: "Tại sao chọn ORBIT OS?", |
235 | | - f1t: "Giao diện phong cách MacOS", |
236 | | - f1d: "Giao diện người dùng tinh tế được cảm hứng từ macOS, mang lại trải nghiệm cao cấp và trực quan ngay khi cài đặt.", |
237 | | - f2t: "Cập nhật hàng ngày", |
238 | | - f2d: "Dựa trên Arch Linux và EndeavourOS. Nhận các gói phần mềm mới nhất và cập nhật hệ thống mỗi ngày.", |
239 | | - f3t: "Hiệu năng tối ưu", |
240 | | - f3d: "Được tối ưu hóa cho tốc độ và sự ổn định. Orbit OS đảm bảo phần cứng của bạn hoạt động với tiềm năng tối đa.", |
241 | | - copyright: "© 2026 Dự án ORBIT OS" |
242 | | - } |
243 | | - }; |
244 | | - |
245 | | - function toggleLanguage() { |
246 | | - currentLang = currentLang === 'en' ? 'vi' : 'en'; |
247 | | - updateContent(); |
248 | | - } |
249 | | - |
250 | | - function updateContent() { |
251 | | - const l = content[currentLang]; |
252 | | - document.getElementById('langBtn').innerText = l.btnLang; |
253 | | - document.getElementById('tagline').innerText = l.tagline; |
254 | | - document.getElementById('btnDl').innerText = l.btnDl; |
255 | | - document.getElementById('btnGit').innerText = l.btnGit; |
256 | | - document.getElementById('featTitle').innerText = l.featTitle; |
257 | | - document.getElementById('f1-t').innerText = l.f1t; |
258 | | - document.getElementById('f1-d').innerText = l.f1d; |
259 | | - document.getElementById('f2-t').innerText = l.f2t; |
260 | | - document.getElementById('f2-d').innerText = l.f2d; |
261 | | - document.getElementById('f3-t').innerText = l.f3t; |
262 | | - document.getElementById('f3-d').innerText = l.f3d; |
263 | | - document.getElementById('copyright').innerText = l.copyright; |
| 189 | + function changeLang() { |
| 190 | + isVietnamese = !isVietnamese; |
264 | 191 |
|
265 | | - document.documentElement.lang = currentLang; |
| 192 | + const btn = document.getElementById('langBtn'); |
| 193 | + const title = document.getElementById('title'); |
| 194 | + const heroDesc = document.getElementById('heroDesc'); |
| 195 | + const btnDown = document.getElementById('btnDown'); |
| 196 | + const btnGit = document.getElementById('btnGit'); |
| 197 | + const f1t = document.getElementById('f1t'); |
| 198 | + const f1d = document.getElementById('f1d'); |
| 199 | + const f2t = document.getElementById('f2t'); |
| 200 | + const f2d = document.getElementById('f2d'); |
| 201 | + const f3t = document.getElementById('f3t'); |
| 202 | + const f3d = document.getElementById('f3d'); |
| 203 | + const footerText = document.getElementById('footerText'); |
| 204 | + |
| 205 | + if (isVietnamese) { |
| 206 | + // Đổi sang Tiếng Việt |
| 207 | + btn.innerText = "English"; |
| 208 | + 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."; |
| 209 | + btnDown.innerText = "Tải ngay"; |
| 210 | + btnGit.innerText = "GitHub chính thức"; |
| 211 | + f1t.innerText = "Giao diện MacOS"; |
| 212 | + 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."; |
| 213 | + f2t.innerText = "Cập nhật hàng ngày"; |
| 214 | + 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."; |
| 215 | + f3t.innerText = "Nền tảng tối ưu"; |
| 216 | + 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."; |
| 217 | + footerText.innerText = "© 2026 Dự án ORBIT OS — Phát hành theo giấy phép GPLv3 & LGPLv3"; |
| 218 | + document.documentElement.lang = "vi"; |
| 219 | + } else { |
| 220 | + // Đổi sang Tiếng Anh |
| 221 | + btn.innerText = "Tiếng Việt"; |
| 222 | + heroDesc.innerText = "An Arch Linux & EndeavourOS based operating system with a elegant macOS look and feel."; |
| 223 | + btnDown.innerText = "Download Now"; |
| 224 | + btnGit.innerText = "Official GitHub"; |
| 225 | + f1t.innerText = "MacOS Aesthetics"; |
| 226 | + f1d.innerText = "Enjoy a beautiful, polished interface inspired by macOS, built on top of the most powerful Linux base."; |
| 227 | + f2t.innerText = "Daily Updates"; |
| 228 | + f2d.innerText = "With the power of Arch Linux, you get the latest kernels and software packages every single day."; |
| 229 | + f3t.innerText = "Optimized Base"; |
| 230 | + f3d.innerText = "Built upon EndeavourOS foundations for a lightweight, stable, and developer-friendly environment."; |
| 231 | + footerText.innerText = "© 2026 Dự án ORBIT OS — Licensed under GPLv3 & LGPLv3"; |
| 232 | + document.documentElement.lang = "en"; |
| 233 | + } |
266 | 234 | } |
267 | 235 | </script> |
268 | 236 | </body> |
|
0 commit comments