Skip to content

Commit 91e27d5

Browse files
authored
Update Home-page.html
1 parent 7831d85 commit 91e27d5

File tree

1 file changed

+63
-28
lines changed

1 file changed

+63
-28
lines changed

Home-page.html

Lines changed: 63 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,75 +11,95 @@
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
.hero {
6373
height: 100vh;
6474
display: flex;
6575
justify-content: center;
6676
align-items: center;
6777
text-align: center;
6878
background: linear-gradient(45deg, #1C2526, #2F3A44);
79+
position: relative;
80+
overflow: hidden;
81+
}
82+
.hero::before {
83+
content: '';
84+
position: absolute;
85+
top: 0;
86+
left: 0;
87+
width: 100%;
88+
height: 100%;
89+
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.5) 100%);
90+
z-index: -1;
6991
}
70-
7192
.hero-content h1 {
7293
font-size: 48px;
7394
margin-bottom: 20px;
7495
color: #FFFFFF;
96+
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
7597
}
76-
7798
.hero-content p {
7899
font-size: 20px;
79100
margin-bottom: 30px;
80101
color: #B0B0B0;
81102
}
82-
83103
.btn {
84104
display: inline-block;
85105
padding: 12px 24px;
@@ -88,14 +108,13 @@
88108
text-decoration: none;
89109
border-radius: 5px;
90110
font-weight: bold;
91-
transition: background-color 0.3s, transform 0.3s;
111+
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
92112
}
93-
94113
.btn:hover {
95114
background-color: #FFFFFF;
96115
transform: scale(1.05);
116+
box-shadow: 0 4px 10px rgba(255,255,255,0.2);
97117
}
98-
99118
footer {
100119
background-color: #121212;
101120
padding: 20px;
@@ -104,33 +123,49 @@
104123
position: relative;
105124
bottom: 0;
106125
width: 100%;
126+
box-shadow: 0 -2px 5px rgba(0,0,0,0.5);
107127
}
108128
</style>
129+
<script>
130+
// Language detection
131+
document.addEventListener('DOMContentLoaded', () => {
132+
const userLang = navigator.language || navigator.userLanguage;
133+
if (userLang.startsWith('pl')) {
134+
document.documentElement.lang = 'pl';
135+
// Polish content (already set)
136+
} else {
137+
document.documentElement.lang = 'en';
138+
// Switch to English
139+
document.querySelector('.hero-content h1').textContent = 'Welcome to HackerOS';
140+
document.querySelector('.hero-content p').textContent = 'A powerful, Debian-based operating system designed for enthusiasts and professionals.';
141+
document.querySelector('footer p').textContent = '© 2025 HackerOS. All rights reserved.';
142+
}
143+
});
144+
</script>
109145
</head>
110146
<body>
111147
<header>
112148
<nav>
113-
<div class="logo">HackerOS</div>
149+
<div class="logo"><img src="HackerOS.png" alt="HackerOS Logo"></div>
114150
<ul>
115151
<li><a href="Home-page.html">Home</a></li>
116152
<li><a href="download.html">Download</a></li>
117153
<li><a href="releases.html">Releases</a></li>
118154
<li><a href="about-hackeros.html">About HackerOS</a></li>
119155
<li><a href="hackeros-team.html">HackerOS Team</a></li>
156+
<li><a href="write-to-us.html">Write to Us</a></li>
120157
</ul>
121158
</nav>
122159
</header>
123-
124160
<section class="hero">
125161
<div class="hero-content">
126-
<h1>Welcome to HackerOS</h1>
127-
<p>A powerful, Debian-based operating system designed for enthusiasts and professionals.</p>
128-
<a href="download.html" class="btn">Download Now</a>
162+
<h1>Witaj w HackerOS</h1>
163+
<p>Potężny system operacyjny oparty na Debianie, zaprojektowany dla entuzjastów i profesjonalistów.</p>
164+
<a href="download.html" class="btn">Pobierz Teraz</a>
129165
</div>
130166
</section>
131-
132167
<footer>
133-
<p>&copy; 2025 HackerOS. All rights reserved.</p>
168+
<p>&copy; 2025 HackerOS. Wszelkie prawa zastrzeżone.</p>
134169
</footer>
135170
</body>
136171
</html>

0 commit comments

Comments
 (0)