117117 transform : scale (1.05 );
118118 box-shadow : 0 4px 10px rgba (255 , 255 , 255 , 0.2 );
119119 }
120+ .quick-download {
121+ background-color : # 3A4A55 ;
122+ border : 2px solid # B0B0B0 ;
123+ padding : 30px ;
124+ margin-bottom : 40px ;
125+ border-radius : 15px ;
126+ box-shadow : 0 6px 12px rgba (0 , 0 , 0 , 0.4 );
127+ }
128+ .quick-download h2 {
129+ font-size : 28px ;
130+ margin-bottom : 20px ;
131+ text-shadow : 1px 1px 3px rgba (0 , 0 , 0 , 0.6 );
132+ }
133+ .quick-download p .description {
134+ font-size : 18px ;
135+ margin-bottom : 25px ;
136+ color : # D0D0D0 ;
137+ }
138+ .quick-download label {
139+ display : block;
140+ font-size : 18px ;
141+ font-weight : bold;
142+ margin-bottom : 10px ;
143+ color : # E0E0E0 ;
144+ }
145+ .quick-download .select-wrapper {
146+ position : relative;
147+ max-width : 400px ;
148+ margin : 0 auto 20px ;
149+ }
150+ .quick-download select {
151+ width : 100% ;
152+ background-color : # 121212 ;
153+ color : # FFFFFF ;
154+ border : 1px solid # B0B0B0 ;
155+ padding : 12px 40px 12px 15px ;
156+ border-radius : 5px ;
157+ font-size : 16px ;
158+ appearance : none;
159+ cursor : pointer;
160+ transition : border-color 0.3s , box-shadow 0.3s ;
161+ }
162+ .quick-download select : hover ,
163+ .quick-download select : focus {
164+ border-color : # FFFFFF ;
165+ box-shadow : 0 0 8px rgba (255 , 255 , 255 , 0.2 );
166+ outline : none;
167+ }
168+ .quick-download .select-wrapper ::after {
169+ content : '▼' ;
170+ position : absolute;
171+ right : 15px ;
172+ top : 50% ;
173+ transform : translateY (-50% );
174+ color : # B0B0B0 ;
175+ font-size : 16px ;
176+ pointer-events : none;
177+ transition : color 0.3s ;
178+ }
179+ .quick-download select : hover + ::after {
180+ color : # FFFFFF ;
181+ }
182+ .quick-download .btn {
183+ margin-top : 20px ;
184+ padding : 14px 28px ;
185+ font-size : 18px ;
186+ }
120187 footer {
121188 background-color : # 121212 ;
122189 padding : 20px ;
136203 } else {
137204 document . documentElement . lang = 'en' ;
138205 document . querySelector ( '.download-section h1' ) . textContent = 'Download HackerOS' ;
139- const h2s = document . querySelectorAll ( '.download-option h2' ) ;
140- h2s [ 0 ] . textContent = 'HackerOS Official' ;
141- h2s [ 1 ] . textContent = 'HackerOS Cybersecurity' ;
142206 const btns = document . querySelectorAll ( '.btn' ) ;
143207 for ( let i = 0 ; i < btns . length ; i ++ ) {
144208 if ( btns [ i ] . href . includes ( 'sourceforge' ) ) {
152216 }
153217 }
154218 document . querySelector ( 'footer p' ) . textContent = '© 2025 HackerOS. All rights reserved.' ;
219+ // Translations for quick download section
220+ document . getElementById ( 'quick-title' ) . textContent = 'Quick System Download' ;
221+ document . getElementById ( 'quick-description' ) . textContent = 'Select the HackerOS edition and download directly from SourceForge.' ;
222+ document . getElementById ( 'select-label' ) . textContent = 'Select edition:' ;
223+ document . getElementById ( 'select-default' ) . textContent = '-- Select edition --' ;
224+ }
225+
226+ // Event listener for quick download
227+ const editionSelect = document . getElementById ( 'edition-select' ) ;
228+ if ( editionSelect ) {
229+ editionSelect . addEventListener ( 'change' , function ( ) {
230+ const link = document . getElementById ( 'download-link' ) ;
231+ link . href = this . value ;
232+ const isEnglish = document . documentElement . lang === 'en' ;
233+ link . textContent = isEnglish ? 'Download' : 'Pobierz' ;
234+ if ( this . value ) {
235+ link . style . display = 'inline-block' ;
236+ } else {
237+ link . style . display = 'none' ;
238+ }
239+ } ) ;
155240 }
156241 } ) ;
157242 </ script >
173258 </ header >
174259 < section class ="download-section ">
175260 < h1 > Pobierz HackerOS</ h1 >
176- < div class ="download-option ">
261+ < div class ="download-option quick-download ">
262+ < h2 id ="quick-title "> Szybkie pobieranie systemu</ h2 >
263+ < p class ="description " id ="quick-description "> Wybierz edycję HackerOS i pobierz bezpośrednio z SourceForge.</ p >
264+ < label id ="select-label " for ="edition-select "> Wybierz edycję:</ label >
265+ < div class ="select-wrapper ">
266+ < select id ="edition-select ">
267+ < option id ="select-default " value =""> -- Wybierz edycję --</ option >
268+ < option value ="https://sourceforge.net/projects/hackeros/files/OFFICIAL/HackerOS-V4.1.iso/download "> HackerOS Official</ option >
269+ < option value ="https://sourceforge.net/projects/hackeros/files/OFFICIAL/GNOME/HackerOS-V4.0-Gnome.iso/download "> HackerOS Official: Gnome</ option >
270+ < option value ="https://sourceforge.net/projects/hackeros/files/OFFICIAL/XFCE/HackerOS-V4.0-Xfce.iso/download "> HackerOS Official: Xfce</ option >
271+ < option value ="https://sourceforge.net/projects/hackeros/files/HYDRA/HackerOS-V4.1-Hydra.iso/download "> HackerOS Hydra</ option >
272+ < option value ="https://sourceforge.net/projects/hackeros/files/CYBERSECURITY/HackerOS-V4.1-Cybersecurity.iso/download "> HackerOS Cybersecurity</ option >
273+ < option value ="https://sourceforge.net/projects/hackeros/files/LTS/HackerOS-V4.1-LTS.iso/download "> HackerOS LTS</ option >
274+ </ select >
275+ </ div >
276+ < a id ="download-link " class ="btn " href ="# " style ="display:none; "> Pobierz</ a >
277+ </ div >
278+ < div class ="download-option " style ="margin-top: 40px; ">
177279 < h2 > HackerOS Official</ h2 >
178280 < a href ="https://sourceforge.net/projects/hackeros/files/OFFICIAL/HackerOS-V4.1.iso/download " class ="btn "> Pobierz z SourceForge</ a >
179281 < a href ="https://mega.nz/file/9PlSjB7B#d_1VbdpIahw07s1SmGYC7G7TXqUjCjzUdmx7LdzrdpU " class ="btn "> Pobierz z Mega.nz</ a >
@@ -208,7 +310,7 @@ <h2>HackerOS Cybersecurity</h2>
208310 < a href ="https://drive.google.com/file/d/1vFHu3QCOTgQHSvegvv0WtvSYVgejGZEB/view?usp=sharing " class ="btn "> Pobierz z Google Drive</ a >
209311 < a href ="https://transfer.it/t/r8kMBaslSTyA " class ="btn "> Pobierz z Transfer.it</ a >
210312 </ div >
211- < div class ="download-option ">
313+ < div class ="download-option ">
212314 < h2 > HackerOS LTS</ h2 >
213315 < a href ="https://sourceforge.net/projects/hackeros/files/LTS/HackerOS-V4.1-LTS.iso/download " class ="btn "> Pobierz z SourceForge</ a >
214316 < a href ="https://mega.nz/file/ZX9wnYrK#yqYIn7RjRZJeNpjDk8kVxg8uS4V18X0_dpOt6RbTqfg " class ="btn "> Pobierz z Mega.nz</ a >
@@ -221,4 +323,3 @@ <h2>HackerOS LTS</h2>
221323 </ footer >
222324</ body >
223325</ html >
224-
0 commit comments