This repository was archived by the owner on Feb 17, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
523 lines (487 loc) · 33.3 KB
/
Copy pathindex.html
File metadata and controls
523 lines (487 loc) · 33.3 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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
<!DOCTYPE html>
<html lang="en" data-theme="oreon">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Oreon Project</title>
<link rel="icon" href="public/images/favicon.png">
<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=Red+Hat+Display:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;900&family=Cardo:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="dist/output.css">
</head>
<body class="min-h-screen bg-gradient-to-br from-emerald-50/30 via-white to-teal-50/30">
<!-- Navigation -->
<nav class="navbar navbar-dark backdrop-blur-md shadow-xl sticky top-0 z-50 bg-gray-900/95 border-b border-white/10">
<div class="navbar-start">
<div class="dropdown">
<div tabindex="0" role="button" class="btn btn-ghost lg:hidden text-white hover:bg-white/10">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h8m-8 6h16" />
</svg>
</div>
<ul tabindex="0" class="menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-gray-800 rounded-box w-52 border border-white/10">
<li><a href="help/" class="text-white hover:bg-white/10" data-translate="nav.help">Help & Support</a></li>
<li><a href="oreon-10/" class="text-white hover:bg-white/10" data-translate="nav.oreon10">Oreon 10</a></li>
<li><a href="our-team/" class="text-white hover:bg-white/10" data-translate="nav.team">Our Team</a></li>
<li><a href="downloads/" class="text-white hover:bg-white/10" data-translate="nav.download">Download</a></li>
</ul>
</div>
<a href="/" class="btn btn-ghost text-xl hover:bg-white/10">
<img src="public/images/oreonlogo.png" alt="Oreon Project Logo" class="h-8 w-auto" style="filter: brightness(0) invert(1);">
</a>
</div>
<div class="navbar-center hidden lg:flex">
<ul class="menu menu-horizontal px-1">
<li><a href="help/" class="text-white hover:bg-white/10 transition-colors duration-200" data-translate="nav.help">Help & Support</a></li>
<li><a href="oreon-10/" class="text-white hover:bg-white/10 transition-colors duration-200" data-translate="nav.oreon10">Oreon 10</a></li>
<li><a href="our-team/" class="text-white hover:bg-white/10 transition-colors duration-200" data-translate="nav.team">Our Team</a></li>
<li><a href="downloads/" class="text-white hover:bg-white/10 transition-colors duration-200" data-translate="nav.download">Download</a></li>
</ul>
</div>
<div class="navbar-end flex items-center gap-2">
<!-- Mobile Search Toggle -->
<button id="mobileSearchToggle" class="btn btn-ghost text-white hover:bg-white/10 md:hidden">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</button>
<!-- Search Bar -->
<div class="hidden md:flex items-center gap-2">
<div class="relative">
<input type="text" id="searchInput" placeholder="Search..."
class="input input-bordered h-10 bg-white/10 border-white/20 text-white placeholder-white/60 w-52 pl-4 pr-4 focus:bg-white/20 focus:border-white/40 focus:ring-0 transition-all duration-200">
<div id="searchResults" class="absolute top-full left-0 right-0 mt-2 bg-gray-800 border border-white/10 rounded-lg shadow-xl hidden max-h-96 overflow-y-auto z-50 w-64">
<!-- Search results will be populated here -->
</div>
</div>
<button id="searchBtn" class="flex items-center justify-center w-10 h-10 bg-white/10 hover:bg-white/20 border border-white/20 rounded-lg text-white transition-colors">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" stroke-width="2.5">
<path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</button>
</div>
<!-- Mobile Search Modal -->
<div id="mobileSearchModal" class="fixed inset-0 bg-black/50 backdrop-blur-sm z-50 hidden md:hidden">
<div class="flex items-start justify-center pt-20 px-4">
<div class="bg-gray-800 rounded-lg shadow-xl w-full max-w-md border border-white/10">
<div class="p-4">
<div class="flex items-center gap-2 mb-4">
<input type="text" id="mobileSearchInput" placeholder="Search..."
class="input input-bordered bg-white/10 border-white/20 text-white placeholder-white/60 flex-1 focus:bg-white/20 focus:border-white/40">
<button id="mobileSearchBtn" class="btn btn-primary">
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</button>
<button id="closeMobileSearch" class="btn btn-ghost text-white">
<i class="fas fa-times"></i>
</button>
</div>
<div id="mobileSearchResults" class="max-h-64 overflow-y-auto">
<!-- Mobile search results will be populated here -->
</div>
</div>
</div>
</div>
</div>
<!-- Language Selector -->
<div class="dropdown dropdown-end">
<div tabindex="0" role="button" class="btn btn-ghost text-white hover:bg-white/10 border border-white/20">
<i class="fas fa-globe mr-2"></i>
<span id="currentLang">EN</span>
<i class="fas fa-chevron-down ml-1"></i>
</div>
<ul tabindex="0" class="dropdown-content menu p-2 shadow bg-gray-800 rounded-box w-32 border border-white/10 z-50">
<li><a href="#" onclick="changeLanguage('en')" class="text-white hover:bg-white/10">🇺🇸 English</a></li>
<li><a href="#" onclick="changeLanguage('es')" class="text-white hover:bg-white/10">🇪🇸 Español</a></li>
<li><a href="#" onclick="changeLanguage('fr')" class="text-white hover:bg-white/10">🇫🇷 Français</a></li>
<li><a href="#" onclick="changeLanguage('de')" class="text-white hover:bg-white/10">🇩🇪 Deutsch</a></li>
<li><a href="#" onclick="changeLanguage('it')" class="text-white hover:bg-white/10">🇮🇹 Italiano</a></li>
<li><a href="#" onclick="changeLanguage('pt')" class="text-white hover:bg-white/10">🇵🇹 Português</a></li>
</ul>
</div>
</div>
</nav>
<!-- Announcement Section -->
<section class="relative py-20 bg-gradient-to-br from-slate-900 via-gray-900 to-emerald-900 overflow-hidden">
<div class="relative z-10 container mx-auto px-4 pt-20 pb-16">
<div class="max-w-4xl mx-auto text-center">
<h1 class="text-5xl lg:text-7xl font-bold text-white leading-tight mb-8">
Oreon Project
</h1>
<p class="text-xl text-gray-300 leading-relaxed mb-8">
Hey everyone, this is a message from Oreon HQ.
</p>
<p class="text-lg text-gray-300 leading-relaxed mb-6">
We want to be transparent about what's been happening.
</p>
<p class="text-lg text-gray-300 leading-relaxed mb-6">
Over the past few months, the Oreon Project ran into increasing internal conflict and community drama around direction, decision-making, and how development should move forward. Discussions became unproductive, tensions escalated, and it became clear that the current structure was no longer healthy or sustainable for the project or the people involved. This led to more than half the team leaving Oreon Project, including our Community Leader and many FOSS developers.
</p>
<p class="text-lg text-gray-300 leading-relaxed mb-6">
Because of that, Oreon HQ had decided to freeze the project and is currently in an unknown state right now. However, Oreon itself is not dead, at all.
</p>
<p class="text-lg text-gray-300 leading-relaxed mb-6">
The project's backing, Oreon HQ, remains active and fully committed to the long-term future of Oreon. Our plans for Oreon's next major release have not changed along with our current supported releases. What has changed is the understanding that the project needs a reset, clearer structure, and the right resources before moving forward again.
</p>
<p class="text-lg text-gray-300 leading-relaxed mb-6">
The Oreon Project will be brought back once we've gathered the resources needed to form a new team and continue community-led development in a healthier, more sustainable way. This includes learning from what led to this moment and avoiding the same mistakes going forward.
</p>
<p class="text-lg text-gray-300 leading-relaxed mb-6">
This is not a full transition to a corporate-only model. It's a pause to reset, refocus, and ensure Oreon can continue with better foundations than before.
</p>
<p class="text-lg text-gray-300 leading-relaxed mb-6">
We're sorry that this happened. More updates will be shared when there's something more to show. For now, the work continues behind the scenes.
</p>
</div>
</div>
</section>
<!-- Resources Section -->
<section class="py-20 px-4 bg-gradient-to-bl from-emerald-50/8 via-gray-50 to-blue-50/12">
<div class="container mx-auto max-w-4xl text-center">
<p class="text-lg text-gray-700">
If you are looking for enterprise products & services, please visit <a href="https://oreonhq.com" target="_blank" class="text-emerald-600 hover:text-emerald-700 font-semibold underline">oreonhq.com</a>
</p>
</div>
</section>
<!-- Footer -->
<footer class="footer p-10 bg-neutral text-neutral-content">
<aside>
<img src="public/images/oreonlogo.png" alt="Oreon Project Logo" class="h-12 w-auto mb-4" style="filter: brightness(0) invert(1);">
<p>Oreon Project</p>
</aside>
<nav>
<h6 class="footer-title">Resources</h6>
<a href="downloads/" class="link link-hover">Download</a>
<a href="https://wiki.oreonproject.org" class="link link-hover">Current Documentation (wiki)</a>
<a href="docs/" class="link link-hover">Legacy Documentation Archive</a>
<a href="oreon-10/" class="link link-hover">Oreon 10</a>
<a href="oreon-lime-r2/" class="link link-hover">Oreon Lime R2</a>
<a href="https://wiki.oreonproject.org/docs/Support-Timelines/oreon-10-support-timeline" class="link link-hover">Support Timeline</a>
</nav>
<nav>
<h6 class="footer-title">Community</h6>
<a href="our-team/" class="link link-hover">Our Team</a>
<a href="https://github.com/oreonproject" class="link link-hover">GitHub</a>
</nav>
</footer>
<footer class="footer footer-center p-4 bg-neutral text-neutral-content border-t border-neutral-content/10">
<aside>
<p>© 2026 Oreon Project. All rights reserved.</p>
</aside>
</footer>
<script>
// Translation system
const translations = {
en: {
'nav.help': 'Help & Support',
'nav.oreon10': 'Oreon 10',
'nav.team': 'Our Team',
'nav.download': 'Download',
'nav.forums': 'Forums',
'hero.badge': 'Enterprise Linux Made Simple',
'hero.title1': 'A distro that',
'hero.title2': 'actually rocks.',
'hero.description': 'The Oreon Project is a community-governed organization backed by Oreon HQ focused on the open development of the Oreon operating system and its surrounding technologies.',
'hero.download': 'Download Now',
'hero.help': 'Help & Support',
'hero.stats.releases': 'Releases',
'hero.stats.users': 'Users',
'hero.stats.support': 'Support',
'features.badge': 'Why Choose Oreon',
'features.title': 'Enterprise Linux but a little friendlier',
'features.description': 'Our primary goal is to make Enterprise Linux more suitable towards use on desktops and laptops. We focus on providing the best user experience right out of the gate.',
'features.explore': 'Explore More',
'features.friendly.title': 'Friendly Defaults',
'features.friendly.description': 'Oreon ships with the GNOME desktop by default with a few tweaks and extra applications to fulfill the user\'s needs.',
'features.updates.title': 'Continuous Updates',
'features.updates.description': 'With the help of upstream and our team, we are able to promise several years of security fixes and new features to each Oreon release.',
'features.enterprise.title': 'Built on Enterprise Linux',
'features.enterprise.description': 'Oreon is based on AlmaLinux and compatible with all its packages. Take advantage of the stability and security of Enterprise Linux.',
'features.security.title': 'Security First',
'features.security.description': 'Built on the secure foundation of AlmaLinux with regular security updates and patches.',
'features.performance.title': 'High Performance',
'features.performance.description': 'Optimized for speed and efficiency with minimal resource usage and fast boot times.',
'versions.badge': 'Choose Your Version',
'versions.title': 'Current Versions',
'versions.description': 'Oreon Linux is available in multiple versions to suit your needs.',
'versions.latest': 'Latest',
'versions.stable': 'Stable',
'versions.learn': 'Learn More',
'versions.download': 'Download',
'versions.oreon10.title': 'Oreon 10',
'versions.oreon10.description': 'Based on AlmaLinux 10, this is our latest and most advanced release featuring the newest packages and technologies.',
'versions.oreon10.feature1': 'Latest GNOME Desktop',
'versions.oreon10.feature2': 'Modern Package Manager',
'versions.oreon10.feature3': 'Enhanced Security',
'versions.lime.title': 'Oreon Lime (R2)',
'versions.lime.description': 'Based on AlmaLinux 9, this stable release offers long-term support and proven reliability for your daily computing needs.',
'versions.lime.feature1': 'Long-term Support',
'versions.lime.feature2': 'Proven Stability',
'versions.lime.feature3': 'Enterprise Ready',
'versions.comparison.title': 'Version Comparison',
'versions.comparison.feature': 'Feature',
'versions.comparison.base': 'Base System',
'versions.comparison.support': 'Support Period',
'versions.comparison.desktop': 'Desktop Environment'
},
es: {
'nav.help': 'Ayuda y Soporte',
'nav.oreon10': 'Oreon 10',
'nav.team': 'Nuestro Equipo',
'nav.download': 'Descargar',
'nav.forums': 'Foros',
'hero.title1': 'Una distro que',
'hero.title2': 'realmente funciona.',
'hero.description': 'Oreon Project se dedica a hacer que Enterprise Linux sea más adecuado para escritorios y portátiles, proporcionando la mejor experiencia de usuario desde el primer momento.',
'hero.download': 'Descargar Ahora',
'hero.help': 'Ayuda y Soporte',
'features.title': 'Enterprise Linux pero un poco más amigable',
'features.description': 'Nuestro objetivo principal es hacer que Enterprise Linux sea más adecuado para uso en escritorios y portátiles. Nos enfocamos en proporcionar la mejor experiencia de usuario desde el primer momento.',
'features.friendly.title': 'Configuración Amigable',
'features.friendly.description': 'Oreon viene con el escritorio GNOME por defecto con algunos ajustes y aplicaciones adicionales para satisfacer las necesidades del usuario.',
'features.updates.title': 'Actualizaciones Continuas',
'features.updates.description': 'Con la ayuda de upstream y nuestro equipo, podemos prometer varios años de correcciones de seguridad y nuevas características para cada lanzamiento de Oreon.',
'features.enterprise.title': 'Construido sobre Enterprise Linux',
'features.enterprise.description': 'Oreon está basado en AlmaLinux y es compatible con todos sus paquetes. Aprovecha la estabilidad y seguridad de Enterprise Linux.'
},
fr: {
'nav.help': 'Aide et Support',
'nav.oreon10': 'Oreon 10',
'nav.team': 'Notre Équipe',
'nav.download': 'Télécharger',
'nav.forums': 'Forums',
'hero.title1': 'Une distro qui',
'hero.title2': 'fonctionne vraiment.',
'hero.description': 'Oreon Project se consacre à rendre Enterprise Linux plus adapté aux ordinateurs de bureau et portables, offrant la meilleure expérience utilisateur dès le départ.',
'hero.download': 'Télécharger Maintenant',
'hero.help': 'Aide et Support',
'features.title': 'Enterprise Linux mais un peu plus convivial',
'features.description': 'Notre objectif principal est de rendre Enterprise Linux plus adapté à l\'utilisation sur ordinateurs de bureau et portables. Nous nous concentrons sur la fourniture de la meilleure expérience utilisateur dès le départ.',
'features.friendly.title': 'Paramètres Conviviaux',
'features.friendly.description': 'Oreon est livré avec le bureau GNOME par défaut avec quelques ajustements et applications supplémentaires pour répondre aux besoins de l\'utilisateur.',
'features.updates.title': 'Mises à Jour Continues',
'features.updates.description': 'Avec l\'aide d\'upstream et de notre équipe, nous pouvons promettre plusieurs années de corrections de sécurité et de nouvelles fonctionnalités pour chaque version d\'Oreon.',
'features.enterprise.title': 'Construit sur Enterprise Linux',
'features.enterprise.description': 'Oreon est basé sur AlmaLinux et compatible avec tous ses paquets. Profitez de la stabilité et de la sécurité d\'Enterprise Linux.'
},
de: {
'nav.help': 'Hilfe & Support',
'nav.oreon10': 'Oreon 10',
'nav.team': 'Unser Team',
'nav.download': 'Herunterladen',
'nav.forums': 'Foren',
'hero.title1': 'Eine Distro, die',
'hero.title2': 'wirklich funktioniert.',
'hero.description': 'Oreon Project widmet sich der Verbesserung von Enterprise Linux für Desktop- und Laptop-Nutzung und bietet die beste Benutzererfahrung von Anfang an.',
'hero.download': 'Jetzt Herunterladen',
'hero.help': 'Hilfe & Support',
'features.title': 'Enterprise Linux aber etwas benutzerfreundlicher',
'features.description': 'Unser Hauptziel ist es, Enterprise Linux besser für Desktop- und Laptop-Nutzung geeignet zu machen. Wir konzentrieren uns darauf, die beste Benutzererfahrung von Anfang an zu bieten.',
'features.friendly.title': 'Benutzerfreundliche Standardeinstellungen',
'features.friendly.description': 'Oreon wird standardmäßig mit dem GNOME-Desktop geliefert, mit einigen Anpassungen und zusätzlichen Anwendungen, um die Bedürfnisse des Benutzers zu erfüllen.',
'features.updates.title': 'Kontinuierliche Updates',
'features.updates.description': 'Mit Hilfe von Upstream und unserem Team können wir mehrere Jahre Sicherheitskorrekturen und neue Funktionen für jede Oreon-Version versprechen.',
'features.enterprise.title': 'Auf Enterprise Linux aufgebaut',
'features.enterprise.description': 'Oreon basiert auf AlmaLinux und ist mit allen seinen Paketen kompatibel. Nutzen Sie die Stabilität und Sicherheit von Enterprise Linux.'
},
it: {
'nav.help': 'Aiuto e Supporto',
'nav.oreon10': 'Oreon 10',
'nav.team': 'Il Nostro Team',
'nav.download': 'Scarica',
'nav.forums': 'Forum',
'hero.title1': 'Una distro che',
'hero.title2': 'funziona davvero.',
'hero.description': 'Oreon Project si dedica a rendere Enterprise Linux più adatto per desktop e laptop, fornendo la migliore esperienza utente fin dall\'inizio.',
'hero.download': 'Scarica Ora',
'hero.help': 'Aiuto e Supporto',
'features.title': 'Enterprise Linux ma un po\' più amichevole',
'features.description': 'Il nostro obiettivo principale è rendere Enterprise Linux più adatto all\'uso su desktop e laptop. Ci concentriamo nel fornire la migliore esperienza utente fin dall\'inizio.',
'features.friendly.title': 'Impostazioni Amichevoli',
'features.friendly.description': 'Oreon viene fornito con il desktop GNOME di default con alcune modifiche e applicazioni extra per soddisfare le esigenze dell\'utente.',
'features.updates.title': 'Aggiornamenti Continui',
'features.updates.description': 'Con l\'aiuto di upstream e del nostro team, possiamo promettere diversi anni di correzioni di sicurezza e nuove funzionalità per ogni rilascio di Oreon.',
'features.enterprise.title': 'Costruito su Enterprise Linux',
'features.enterprise.description': 'Oreon è basato su AlmaLinux e compatibile con tutti i suoi pacchetti. Approfitta della stabilità e sicurezza di Enterprise Linux.'
},
pt: {
'nav.help': 'Ajuda e Suporte',
'nav.oreon10': 'Oreon 10',
'nav.team': 'Nossa Equipe',
'nav.download': 'Baixar',
'nav.forums': 'Fóruns',
'hero.title1': 'Uma distro que',
'hero.title2': 'realmente funciona.',
'hero.description': 'Oreon Project se dedica a tornar o Enterprise Linux mais adequado para desktops e laptops, fornecendo a melhor experiência do usuário desde o início.',
'hero.download': 'Baixar Agora',
'hero.help': 'Ajuda e Suporte',
'features.title': 'Enterprise Linux mas um pouco mais amigável',
'features.description': 'Nosso objetivo principal é tornar o Enterprise Linux mais adequado para uso em desktops e laptops. Focamos em fornecer a melhor experiência do usuário desde o início.',
'features.friendly.title': 'Configurações Amigáveis',
'features.friendly.description': 'Oreon vem com o desktop GNOME por padrão com algumas modificações e aplicativos extras para atender às necessidades do usuário.',
'features.updates.title': 'Atualizações Contínuas',
'features.updates.description': 'Com a ajuda do upstream e nossa equipe, podemos prometer vários anos de correções de segurança e novos recursos para cada lançamento do Oreon.',
'features.enterprise.title': 'Construído no Enterprise Linux',
'features.enterprise.description': 'Oreon é baseado no AlmaLinux e compatível com todos os seus pacotes. Aproveite a estabilidade e segurança do Enterprise Linux.'
}
};
let currentLanguage = localStorage.getItem('language') || 'en';
function changeLanguage(lang) {
currentLanguage = lang;
localStorage.setItem('language', lang);
document.getElementById('currentLang').textContent = lang.toUpperCase();
// Update all elements with data-translate attribute
const elements = document.querySelectorAll('[data-translate]');
elements.forEach(element => {
const key = element.getAttribute('data-translate');
if (translations[lang] && translations[lang][key]) {
element.textContent = translations[lang][key];
}
});
}
// Search functionality
const searchData = [
{ title: 'Help & Support', url: 'help/', description: 'Get help and support for Oreon Linux' },
{ title: 'Oreon 10', url: 'oreon-10/', description: 'Latest Oreon release based on AlmaLinux 10' },
{ title: 'Our Team', url: 'our-team/', description: 'Meet the Oreon Project team members' },
{ title: 'Download', url: 'downloads/', description: 'Download Oreon Linux distributions' },
{ title: 'Documentation', url: 'docs/', description: 'Complete documentation for Oreon Linux' },
{ title: 'Oreon Lime R2', url: 'oreon-lime-r2/', description: 'Stable Oreon release based on AlmaLinux 9' },
{ title: 'Support Timeline', url: 'oreon-10-support-timeline/', description: 'Support timeline for Oreon releases' },];
function performSearch(query) {
if (!query.trim()) return [];
const lowerQuery = query.toLowerCase();
return searchData.filter(item =>
item.title.toLowerCase().includes(lowerQuery) ||
item.description.toLowerCase().includes(lowerQuery)
);
}
function displaySearchResults(results, containerId = 'searchResults') {
const resultsContainer = document.getElementById(containerId);
if (results.length === 0) {
resultsContainer.innerHTML = '<div class="p-4 text-white/60 text-center">No results found</div>';
resultsContainer.classList.remove('hidden');
return;
}
resultsContainer.innerHTML = results.map(result => `
<a href="${result.url}" class="block p-4 hover:bg-white/10 transition-colors duration-200 border-b border-white/10 last:border-b-0">
<div class="font-semibold text-white">${result.title}</div>
<div class="text-sm text-white/60 mt-1">${result.description}</div>
</a>
`).join('');
resultsContainer.classList.remove('hidden');
}
function displayMobileSearchResults(results) {
const resultsContainer = document.getElementById('mobileSearchResults');
if (results.length === 0) {
resultsContainer.innerHTML = '<div class="p-4 text-white/60 text-center">No results found</div>';
return;
}
resultsContainer.innerHTML = results.map(result => `
<a href="${result.url}" class="block p-3 hover:bg-white/10 transition-colors duration-200 border-b border-white/10 last:border-b-0">
<div class="font-semibold text-white">${result.title}</div>
<div class="text-sm text-white/60 mt-1">${result.description}</div>
</a>
`).join('');
}
// Mobile menu toggle
document.addEventListener('DOMContentLoaded', function() {
const dropdown = document.querySelector('.dropdown');
const menuButton = document.querySelector('.btn-ghost');
menuButton?.addEventListener('click', function() {
const menu = document.querySelector('.dropdown-content');
menu.classList.toggle('hidden');
});
// Initialize language
changeLanguage(currentLanguage);
// Search functionality
const searchInput = document.getElementById('searchInput');
const searchBtn = document.getElementById('searchBtn');
const searchResults = document.getElementById('searchResults');
if (searchInput) {
searchInput.addEventListener('input', function() {
const query = this.value;
const results = performSearch(query);
displaySearchResults(results);
});
searchInput.addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
const query = this.value;
const results = performSearch(query);
if (results.length > 0) {
window.location.href = results[0].url;
}
}
});
}
if (searchBtn) {
searchBtn.addEventListener('click', function() {
const query = searchInput.value;
const results = performSearch(query);
if (results.length > 0) {
window.location.href = results[0].url;
}
});
}
// Hide search results when clicking outside
document.addEventListener('click', function(e) {
if (!e.target.closest('.search-container')) {
searchResults.classList.add('hidden');
}
});
// Mobile search functionality
const mobileSearchToggle = document.getElementById('mobileSearchToggle');
const mobileSearchModal = document.getElementById('mobileSearchModal');
const mobileSearchInput = document.getElementById('mobileSearchInput');
const mobileSearchBtn = document.getElementById('mobileSearchBtn');
const closeMobileSearch = document.getElementById('closeMobileSearch');
if (mobileSearchToggle) {
mobileSearchToggle.addEventListener('click', function() {
mobileSearchModal.classList.remove('hidden');
mobileSearchInput.focus();
});
}
if (closeMobileSearch) {
closeMobileSearch.addEventListener('click', function() {
mobileSearchModal.classList.add('hidden');
});
}
if (mobileSearchModal) {
mobileSearchModal.addEventListener('click', function(e) {
if (e.target === mobileSearchModal) {
mobileSearchModal.classList.add('hidden');
}
});
}
if (mobileSearchInput) {
mobileSearchInput.addEventListener('input', function() {
const query = this.value;
const results = performSearch(query);
displayMobileSearchResults(results);
});
mobileSearchInput.addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
const query = this.value;
const results = performSearch(query);
if (results.length > 0) {
window.location.href = results[0].url;
}
}
});
}
if (mobileSearchBtn) {
mobileSearchBtn.addEventListener('click', function() {
const query = mobileSearchInput.value;
const results = performSearch(query);
if (results.length > 0) {
window.location.href = results[0].url;
}
});
}
});
</script>
</body>
</html>