Skip to content

Commit b3897f9

Browse files
authored
Update download.html
1 parent 662d0b0 commit b3897f9

File tree

1 file changed

+73
-36
lines changed

1 file changed

+73
-36
lines changed

download.html

Lines changed: 73 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -11,78 +11,91 @@
1111
box-sizing: border-box;
1212
font-family: 'Arial', sans-serif;
1313
}
14-
1514
body {
1615
background-color: #1C2526;
1716
color: #FFFFFF;
1817
line-height: 1.6;
1918
}
20-
2119
header {
2220
background-color: #121212;
2321
padding: 20px 0;
2422
position: fixed;
2523
width: 100%;
2624
top: 0;
2725
z-index: 1000;
28-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
26+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
27+
transition: background-color 0.3s ease;
28+
}
29+
header:hover {
30+
background-color: #1A1A1A;
2931
}
30-
3132
nav {
3233
max-width: 1200px;
3334
margin: 0 auto;
3435
display: flex;
3536
justify-content: space-between;
3637
align-items: center;
3738
}
38-
39-
nav .logo {
40-
font-size: 24px;
41-
font-weight: bold;
42-
color: #FFFFFF;
39+
nav .logo img {
40+
height: 40px;
41+
width: auto;
4342
}
44-
4543
nav ul {
4644
list-style: none;
4745
display: flex;
48-
gap: 20px;
46+
gap: 25px;
4947
}
50-
5148
nav ul li a {
5249
color: #FFFFFF;
5350
text-decoration: none;
5451
font-size: 18px;
55-
transition: color 0.3s;
52+
transition: color 0.3s, transform 0.3s;
53+
position: relative;
54+
}
55+
nav ul li a::after {
56+
content: '';
57+
position: absolute;
58+
width: 0;
59+
height: 2px;
60+
bottom: -5px;
61+
left: 0;
62+
background-color: #B0B0B0;
63+
transition: width 0.3s;
64+
}
65+
nav ul li a:hover::after {
66+
width: 100%;
5667
}
57-
5868
nav ul li a:hover {
5969
color: #B0B0B0;
70+
transform: translateY(-2px);
6071
}
61-
6272
.download-section {
6373
max-width: 1200px;
6474
margin: 120px auto 50px;
6575
padding: 20px;
6676
text-align: center;
6777
}
68-
6978
.download-section h1 {
7079
font-size: 36px;
7180
margin-bottom: 20px;
81+
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
7282
}
73-
7483
.download-option {
7584
margin: 20px 0;
7685
padding: 20px;
7786
background-color: #2F3A44;
7887
border-radius: 10px;
88+
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
89+
transition: transform 0.3s, box-shadow 0.3s;
90+
}
91+
.download-option:hover {
92+
transform: translateY(-5px);
93+
box-shadow: 0 6px 15px rgba(0,0,0,0.4);
7994
}
80-
8195
.download-option h2 {
8296
font-size: 24px;
8397
margin-bottom: 15px;
8498
}
85-
8699
.btn {
87100
display: inline-block;
88101
padding: 12px 24px;
@@ -92,14 +105,13 @@
92105
border-radius: 5px;
93106
font-weight: bold;
94107
margin: 10px;
95-
transition: background-color 0.3s, transform 0.3s;
108+
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
96109
}
97-
98110
.btn:hover {
99111
background-color: #FFFFFF;
100112
transform: scale(1.05);
113+
box-shadow: 0 4px 10px rgba(255,255,255,0.2);
101114
}
102-
103115
footer {
104116
background-color: #121212;
105117
padding: 20px;
@@ -108,53 +120,78 @@
108120
position: relative;
109121
bottom: 0;
110122
width: 100%;
123+
box-shadow: 0 -2px 5px rgba(0,0,0,0.5);
111124
}
112125
</style>
126+
<script>
127+
document.addEventListener('DOMContentLoaded', () => {
128+
const userLang = navigator.language || navigator.userLanguage;
129+
if (userLang.startsWith('pl')) {
130+
document.documentElement.lang = 'pl';
131+
} else {
132+
document.documentElement.lang = 'en';
133+
document.querySelector('.download-section h1').textContent = 'Download HackerOS';
134+
const h2s = document.querySelectorAll('.download-option h2');
135+
h2s[0].textContent = 'HackerOS Official';
136+
h2s[1].textContent = 'HackerOS Nvidia';
137+
h2s[2].textContent = 'HackerOS Cybersecurity';
138+
const btns = document.querySelectorAll('.btn');
139+
for (let i = 0; i < btns.length; i++) {
140+
if (btns[i].href.includes('sourceforge')) {
141+
btns[i].textContent = 'Download from SourceForge';
142+
} else if (btns[i].href.includes('mega')) {
143+
btns[i].textContent = 'Download from Mega.nz';
144+
} else if (btns[i].href.includes('drive')) {
145+
btns[i].textContent = 'Download from Google Drive';
146+
} else if (btns[i].href.includes('transfer')) {
147+
btns[i].textContent = 'Download from Transfer.it';
148+
}
149+
}
150+
document.querySelector('footer p').textContent = '© 2025 HackerOS. All rights reserved.';
151+
}
152+
});
153+
</script>
113154
</head>
114155
<body>
115156
<header>
116157
<nav>
117-
<div class="logo">HackerOS</div>
158+
<div class="logo"><img src="HackerOS.png" alt="HackerOS Logo"></div>
118159
<ul>
119160
<li><a href="Home-page.html">Home</a></li>
120161
<li><a href="download.html">Download</a></li>
121162
<li><a href="releases.html">Releases</a></li>
122163
<li><a href="about-hackeros.html">About HackerOS</a></li>
123164
<li><a href="hackeros-team.html">HackerOS Team</a></li>
165+
<li><a href="write-to-us.html">Write to Us</a></li>
124166
</ul>
125167
</nav>
126168
</header>
127-
128169
<section class="download-section">
129-
<h1>Download HackerOS</h1>
130-
131-
<div class="download-option">
170+
<h1>Pobierz HackerOS</h1>
171+
<div class="download-option">
132172
<h2>HackerOS Official</h2>
133173
<a href="https://sourceforge.net/projects/hackeros/files/HackerOS-V2.9.iso/download" class="btn">Pobierz z SourceForge</a>
134174
<a href="https://mega.nz/file/QD1UDZrB#JXGaSMQCI4iYxMX-6mDfPBjdAWaBGTM314JfBh5yo9M" class="btn">Pobierz z Mega.nz</a>
135175
<a href="https://drive.google.com/file/d/130W7dblGO0_aZ_U2lj8JG236AVe0dH39/view?usp=drive_link" class="btn">Pobierz z Google Drive</a>
136-
<a href="https://transfer.it/t/Inbx9X1zmJAI" class="btn">Pobierz z Transer.it</a>
176+
<a href="https://transfer.it/t/Inbx9X1zmJAI" class="btn">Pobierz z Transfer.it</a>
137177
</div>
138-
139178
<div class="download-option">
140179
<h2>HackerOS Nvidia</h2>
141180
<a href="https://sourceforge.net/projects/hackeros/files/HackerOS-V2.9.iso/download" class="btn">Pobierz z SourceForge</a>
142181
<a href="https://mega.nz/file/JKsHHYgD#8Sedb7njY7Qhl2xMJa6zv6e21vtwApx9b_TNaUN4F2w" class="btn">Pobierz z Mega.nz</a>
143182
<a href="https://drive.google.com/file/d/130W7dblGO0_aZ_U2lj8JG236AVe0dH39/view?usp=drive_link" class="btn">Pobierz z Google Drive</a>
144-
<a href="https://drive.google.com/file/d/130W7dblGO0_aZ_U2lj8JG236AVe0dH39/view?usp=drive_link" class="btn">Pobierz z Transer.it</a>
183+
<a href="https://drive.google.com/file/d/130W7dblGO0_aZ_U2lj8JG236AVe0dH39/view?usp=drive_link" class="btn">Pobierz z Transfer.it</a>
145184
</div>
146-
147-
<div class="download-option">
148-
<h2>HackerOS Cybersecuirty</h2>
185+
<div class="download-option">
186+
<h2>HackerOS Cybersecurity</h2>
149187
<a href="https://sourceforge.net/projects/hackeros/files/HackerOS-V2.9.iso/download" class="btn">Pobierz z SourceForge</a>
150188
<a href="https://mega.nz/file/JKsHHYgD#8Sedb7njY7Qhl2xMJa6zv6e21vtwApx9b_TNaUN4F2w" class="btn">Pobierz z Mega.nz</a>
151189
<a href="https://drive.google.com/file/d/130W7dblGO0_aZ_U2lj8JG236AVe0dH39/view?usp=drive_link" class="btn">Pobierz z Google Drive</a>
152-
<a href="https://drive.google.com/file/d/130W7dblGO0_aZ_U2lj8JG236AVe0dH39/view?usp=drive_link" class="btn">Pobierz z Transer.it</a>
190+
<a href="https://drive.google.com/file/d/130W7dblGO0_aZ_U2lj8JG236AVe0dH39/view?usp=drive_link" class="btn">Pobierz z Transfer.it</a>
153191
</div>
154192
</section>
155-
156193
<footer>
157-
<p>&copy; 2025 HackerOS. All rights reserved.</p>
194+
<p>&copy; 2025 HackerOS. Wszelkie prawa zastrzeżone.</p>
158195
</footer>
159196
</body>
160197
</html>

0 commit comments

Comments
 (0)