-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhome.html
More file actions
307 lines (294 loc) · 11 KB
/
home.html
File metadata and controls
307 lines (294 loc) · 11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home - Mainpage</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
<style>
:root {
--primary-color: #198754;
--secondary-color: #3cba8f;
--background-color: #f8f9fa;
--text-color: #343a40;
}
body {
font-family: 'Inter', sans-serif;
color: var(--text-color);
background-color: var(--background-color);
line-height: 1.6;
margin: 0;
padding: 0;
}
/* Navbar Styles */
.navbar {
background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 1rem 0;
}
.navbar-brand {
color: white;
font-size: 1.8rem;
font-weight: bold;
letter-spacing: 1px;
}
/* Hero Section */
.hero-section {
padding: 6rem 2rem 4rem;
background-color: var(--primary-color);
color: white;
border-radius: 0 0 15px 15px;
margin-bottom: 2rem;
text-align: center;
}
.hero-section h1 {
font-size: 2.5rem;
line-height: 1.2;
margin-bottom: 1rem;
font-weight: 700;
}
.hero-section p {
font-size: 1.2rem;
max-width: 800px;
margin: 0 auto;
}
/* Carousel Section */
.carousel {
height: 500px;
margin-bottom: 2rem;
}
.carousel-item {
transition: transform 0.3s ease-in-out;
align-items: center;
height: 100%;
width: 100%;
}
.carousel-item img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 15px;
}
.carousel-item:hover {
transform: scale(1.02);
cursor: pointer;
}
.carousel-caption {
background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
padding: 20px;
border-radius: 15px;
position: absolute;
top: 50%;
left: 20%;
transform: translateY(-50%);
text-align: center;
}
.carousel-caption h4 {
color: white;
font-size: 1.5rem;
margin-bottom: 1rem;
font-weight: 600;
}
/* OS Grid Section */
.os-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
padding: 2rem;
}
.os-card {
background: white;
border-radius: 15px;
padding: 2rem;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
transition: all 0.3s ease;
text-align: center;
}
.os-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}
.os-card img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 10px;
margin: 1rem 0;
}
.os-card h3 {
color: var(--primary-color);
margin-bottom: 1rem;
font-size: 1.3rem;
}
.os-card p {
font-size: 1.1rem;
line-height: 1.6;
margin-bottom: 1rem;
}
/* Footer */
footer {
background-color: var(--primary-color);
color: white;
text-align: center;
padding: 1rem 0;
margin-top: 2rem;
}
/* Responsive Design */
@media (max-width: 768px) {
.hero-section {
padding: 4rem 2rem 2rem;
text-align: center;
}
.hero-section h1 {
font-size: 2rem;
}
.hero-section p {
font-size: 1rem;
}
.carousel {
height: 400px;
}
.carousel-caption {
left: 10%;
}
.carousel-caption h4 {
font-size: 1.2rem;
}
.os-card img {
height: 150px;
}
.os-card p {
font-size: 0.9rem;
}
}
@media (max-width: 480px) {
.hero-section {
padding: 3rem 1rem 1rem;
}
.hero-section h1 {
font-size: 1.8rem;
}
.hero-section p {
font-size: 0.9rem;
}
.carousel {
height: 300px;
}
.carousel-caption {
left: 5%;
}
.carousel-caption h4 {
font-size: 1rem;
}
.os-card img {
height: 120px;
}
.os-card p {
font-size: 0.9rem;
}
}
</style>
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar navbar-expand-lg navbar-dark">
<div class="container-lg">
<a class="navbar-brand" href="home.html">Operating Systems Guide</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link active" href="home.html">Home <i class="fa-solid fa-house"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="oscomparison.html">OS comparison <i class="fa-solid fa-cube"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="recommendation.html">Our recommendations <i class="fa-solid fa-check"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="testabout.html">About <i class="fa-solid fa-circle-info"></i></a>
</li>
<div class="dropdown">
<a class="btn btn-success dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
More tools
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="https://github.com/dagoatzmcclusky/Linux-introduction-tutorial">Source code</a></li>
</ul>
</div>
</ul>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="hero-section">
<div class="container text-center">
<h1>Welcome to our most beloved Operating Systems (OS) comparison guideline!</h1>
<p>Explore the wonders of each operating system that works best for your Personal Computer (PC) out there on the market.</p>
</div>
</div>
<!-- Carousel Section -->
<div id="carouselExampleCaptions" class="carousel slide container" style="max-width: 800px;">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="https://www.softwaretestinghelp.com/wp-content/qa/uploads/2019/09/OPerating-Systems-list.png" alt="Find the OS best for you">
<div class="carousel-caption">
<h4>Find the OS best for you</h4>
<p>You'll be shown a description of all desktop OSes which fits best for your needs</p>
</div>
</div>
<div class="carousel-item">
<img src="https://media.licdn.com/dms/image/v2/D4E12AQHl1VOJmK1BpQ/article-cover_image-shrink_720_1280/article-cover_image-shrink_720_1280/0/1732313086389?e=2147483647&v=beta&t=bsgsul3FxFjb28bQRF06ADW2Ifc5Py5CZLSuHvGg2RE" alt="All OSes available">
<div class="carousel-caption">
<h4>All OSes available</h4>
<p>Windows, MacOS, Linux distributions,... no problem!</p>
</div>
</div>
<div class="carousel-item">
<img src="https://cdn.phenompeople.com/CareerConnectResources/VCJVCNGLOBAL/images/OceanCruise-1679658128839.png" alt="Learn more about us">
<div class="carousel-caption">
<h4>Learn more about us</h4>
<p>Get to know about our team, crew members, and more!</p>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="prev">
<span class="carousel-control-prev-icon"></span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide="next">
<span class="carousel-control-next-icon"></span>
</button>
</div>
<!-- OS Grid Section -->
<div class="os-grid container">
<div class="os-card">
<h3>Windows</h3>
<p>Discover Microsoft's popular operating system</p>
<img src="https://i.pcmag.com/imagery/articles/07jULW1s5eZwbYwAgF4Zhtz-6..v1628259809.jpg" alt="Windows OS">
</div>
<div class="os-card">
<h3>macOS</h3>
<p>Explore Apple's macOS experience</p>
<img src="https://preview.redd.it/macos-sequoia-running-smoothly-on-my-2017-macbook-air-v0-n0oathdcdnqd1.png?width=1440&format=png&auto=webp&s=47499472c788b7ac5a9ca6703ad492f3990690de" alt="macOS">
</div>
<div class="os-card">
<h3>Linux</h3>
<p>Learn about various Linux distributions</p>
<img src="https://preview.redd.it/minimal-setup-for-gnome-46-ubuntu-24-04-lts-v0-cegubdixo6kd1.png?width=1920&format=png&auto=webp&s=abb5fd9a13bc9b2dfbadceb0c4b057af420a2392" alt="Linux">
</div>
</div>
<footer>
<p><i class="fa-solid fa-copyright"></i> Copyright, McClusky Minh, 2025.</p>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>