-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGallery.html
More file actions
334 lines (294 loc) · 13.9 KB
/
Gallery.html
File metadata and controls
334 lines (294 loc) · 13.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap" rel="stylesheet">
<title>Laptop & Computer Gallery</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "EB Garamond", serif;
font-optical-sizing: auto;
font-weight: <weight>;
font-style: normal;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1400px;
margin: 0 auto;
}
.header {
text-align: center;
margin-bottom: 40px;
color: white;
}
.header h1 {
font-size: 3rem;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.header p {
font-size: 1.2rem;
opacity: 0.9;
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
margin-top: 30px;
}
.device-card {
background: white;
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: all 0.3s ease;
position: relative;
}
.device-card:hover {
transform: translateY(-10px);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}
.device-image {
width: 100%;
height: 250px;
object-fit: cover;
transition: transform 0.3s ease;
}
.device-card:hover .device-image {
transform: scale(1.05);
}
.device-info {
padding: 25px;
}
.device-name {
font-size: 1.4rem;
font-weight: bold;
color: #333;
margin-bottom: 8px;
}
.device-generation {
background: linear-gradient(45deg, #667eea, #764ba2);
color: white;
padding: 6px 12px;
border-radius: 15px;
font-size: 0.9rem;
font-weight: 500;
display: inline-block;
margin-bottom: 10px;
}
.device-specs {
color: #666;
font-size: 0.95rem;
line-height: 1.6;
}
.category-badge {
position: absolute;
top: 15px;
right: 15px;
background: rgba(255, 255, 255, 0.9);
padding: 5px 10px;
border-radius: 10px;
font-size: 0.8rem;
font-weight: bold;
color: #333;
}
.laptop-badge {
background: rgba(102, 126, 234, 0.9);
color: white;
}
.desktop-badge {
background: rgba(118, 75, 162, 0.9);
color: white;
}
@media (max-width: 768px) {
.header h1 {
font-size: 2rem;
}
.gallery {
grid-template-columns: 1fr;
gap: 20px;
}
.device-card {
margin: 0 10px;
}
}
.loading-placeholder {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>💻 Computer & Laptop Gallery</h1>
<p>Explore the latest and greatest in computing technology</p>
</div>
<div class="gallery">
<!-- MacBook Pro M3 -->
<div class="device-card">
<div class="category-badge laptop-badge">Laptop</div>
<img src="https://images.unsplash.com/photo-1517336714731-489689fd1ca8?w=500&h=300&fit=crop" alt="MacBook Pro" class="device-image">
<div class="device-info">
<div class="device-name">MacBook Pro</div>
<div class="device-generation">M3 Generation (2023)</div>
<div class="device-specs">Apple's most powerful laptop featuring the M3 chip, up to 22-hour battery life, and stunning Liquid Retina XDR display.</div>
</div>
</div>
<!-- Dell XPS 13 -->
<div class="device-card">
<div class="category-badge laptop-badge">Laptop</div>
<img src="https://images.unsplash.com/photo-1588872657578-7efd1f1555ed?w=500&h=300&fit=crop" alt="Dell XPS 13" class="device-image">
<div class="device-info">
<div class="device-name">Dell XPS 13</div>
<div class="device-generation">13th Gen Intel (2023)</div>
<div class="device-specs">Premium ultrabook with InfinityEdge display, 13th Gen Intel processors, and exceptional build quality.</div>
</div>
</div>
<!-- ThinkPad X1 Carbon -->
<div class="device-card">
<div class="category-badge laptop-badge">Laptop</div>
<img src="https://images.unsplash.com/photo-1541807084-5c52b6b3adef?w=500&h=300&fit=crop" alt="ThinkPad X1 Carbon" class="device-image">
<div class="device-info">
<div class="device-name">Lenovo ThinkPad X1 Carbon</div>
<div class="device-generation">Gen 11 (2023)</div>
<div class="device-specs">Business laptop with legendary keyboard, robust security features, and military-grade durability testing.</div>
</div>
</div>
<!-- MacBook Air M2 -->
<div class="device-card">
<div class="category-badge laptop-badge">Laptop</div>
<img src="https://images.unsplash.com/photo-1611186871348-b1ce696e52c9?w=500&h=300&fit=crop" alt="MacBook Air" class="device-image">
<div class="device-info">
<div class="device-name">MacBook Air</div>
<div class="device-generation">M2 Generation (2022)</div>
<div class="device-specs">Redesigned with M2 chip, MagSafe charging, and available in four stunning colors. Perfect for everyday tasks.</div>
</div>
</div>
<!-- Gaming Laptop ASUS ROG -->
<div class="device-card">
<div class="category-badge laptop-badge">Gaming Laptop</div>
<img src="https://images.unsplash.com/photo-1593642702821-c8da6771f0c6?w=500&h=300&fit=crop" alt="Gaming Laptop" class="device-image">
<div class="device-info">
<div class="device-name">ASUS ROG Strix G17</div>
<div class="device-generation">2023 Series</div>
<div class="device-specs">High-performance gaming laptop with RTX 4070, AMD Ryzen 9, and RGB keyboard for ultimate gaming experience.</div>
</div>
</div>
<!-- iMac 24" -->
<div class="device-card">
<div class="category-badge desktop-badge">Desktop</div>
<img src="https://images.unsplash.com/photo-1527864550417-7fd91fc51a46?w=500&h=300&fit=crop" alt="iMac 24 inch" class="device-image">
<div class="device-info">
<div class="device-name">iMac 24"</div>
<div class="device-generation">M3 Generation (2023)</div>
<div class="device-specs">All-in-one desktop with vibrant 4.5K Retina display, M3 chip, and available in seven beautiful colors.</div>
</div>
</div>
<!-- Mac Studio -->
<div class="device-card">
<div class="category-badge desktop-badge">Desktop</div>
<img src="https://images.unsplash.com/photo-1547082299-de196ea013d6?w=500&h=300&fit=crop" alt="Mac Studio" class="device-image">
<div class="device-info">
<div class="device-name">Mac Studio</div>
<div class="device-generation">M2 Ultra (2023)</div>
<div class="device-specs">Compact powerhouse with M2 Max or Ultra chips, extensive connectivity, and professional-grade performance.</div>
</div>
</div>
<!-- Custom Gaming PC -->
<div class="device-card">
<div class="category-badge desktop-badge">Gaming Desktop</div>
<img src="https://images.unsplash.com/photo-1587831990711-23ca6441447b?w=500&h=300&fit=crop" alt="Gaming PC" class="device-image">
<div class="device-info">
<div class="device-name">Custom Gaming PC</div>
<div class="device-generation">RTX 40 Series (2023)</div>
<div class="device-specs">High-end gaming desktop with RTX 4090, Intel Core i9-13900K, and custom RGB cooling system.</div>
</div>
</div>
<!-- Surface Pro 9 -->
<div class="device-card">
<div class="category-badge laptop-badge">2-in-1</div>
<img src="https://images.unsplash.com/photo-1544731612-de7f96afe55f?w=500&h=300&fit=crop" alt="Surface Pro" class="device-image">
<div class="device-info">
<div class="device-name">Microsoft Surface Pro 9</div>
<div class="device-generation">12th Gen Intel (2022)</div>
<div class="device-specs">Versatile 2-in-1 device with detachable keyboard, Surface Pen support, and all-day battery life.</div>
</div>
</div>
<!-- HP Spectre x360 -->
<div class="device-card">
<div class="category-badge laptop-badge">Convertible</div>
<img src="https://images.unsplash.com/photo-1496181133206-80ce9b88a853?w=500&h=300&fit=crop" alt="HP Spectre x360" class="device-image">
<div class="device-info">
<div class="device-name">HP Spectre x360</div>
<div class="device-generation">13th Gen Intel (2023)</div>
<div class="device-specs">Premium convertible laptop with 360-degree hinge, OLED display option, and sleek gem-cut design.</div>
</div>
</div>
<!-- Alienware Aurora -->
<div class="device-card">
<div class="category-badge desktop-badge">Gaming Desktop</div>
<img src="https://images.unsplash.com/photo-1593640408182-31c70c8268f5?w=500&h=300&fit=crop" alt="Alienware Desktop" class="device-image">
<div class="device-info">
<div class="device-name">Alienware Aurora R15</div>
<div class="device-generation">RTX 40 Series (2023)</div>
<div class="device-specs">Iconic gaming desktop with liquid cooling, customizable LED lighting, and top-tier gaming performance.</div>
</div>
</div>
<!-- Framework Laptop -->
<div class="device-card">
<div class="category-badge laptop-badge">Modular</div>
<img src="https://images.unsplash.com/photo-1525547719571-a2d4ac8945e2?w=500&h=300&fit=crop" alt="Framework Laptop" class="device-image">
<div class="device-info">
<div class="device-name">Framework Laptop 13</div>
<div class="device-generation">13th Gen Intel (2023)</div>
<div class="device-specs">Revolutionary modular laptop with swappable ports, upgradeable components, and sustainable design philosophy.</div>
</div>
</div>
</div>
</div>
<script>
// Add smooth loading effect
document.addEventListener('DOMContentLoaded', function() {
const images = document.querySelectorAll('.device-image');
images.forEach(img => {
img.addEventListener('load', function() {
this.style.opacity = '1';
});
// Add error handling for broken images
img.addEventListener('error', function() {
this.src = 'https://via.placeholder.com/500x300/667eea/ffffff?text=Device+Image';
});
});
});
// Add click interaction
document.querySelectorAll('.device-card').forEach(card => {
card.addEventListener('click', function() {
const deviceName = this.querySelector('.device-name').textContent;
const generation = this.querySelector('.device-generation').textContent;
// Create a simple modal or alert (you can enhance this)
alert(`${deviceName}\n${generation}\n\nClick to learn more about this device!`);
});
});
</script>
</body>
</html>