-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject1.html
533 lines (459 loc) · 20.9 KB
/
project1.html
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
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rokeyla Fashion Store | Project Review | CyberSage</title>
<!-- SEO Meta Tags -->
<meta name="description" content="Explore the Rokeyla Fashion Store project by CyberSage. Discover how we crafted an elegant online presence with maroon and white aesthetics, seamless navigation, and a modern, responsive design.">
<meta name="keywords" content="Rokeyla, Fashion Store, Project Review, CyberSage, Web Design, Maroon and White, Responsive Design, Modern Aesthetics">
<!-- Open Graph Meta Tags for Social Media -->
<meta property="og:title" content="Rokeyla Fashion Store | Project Review | CyberSage">
<meta property="og:description" content="Dive into the Rokeyla Fashion Store project by CyberSage. Learn how we developed a sophisticated online platform with a maroon and white color scheme, interactive galleries, and responsive design.">
<meta property="og:image" content="images/rokeyla-hero.jpg">
<meta property="og:url" content="https://yourwebsite.com/rokeyla-project.html">
<meta property="og:type" content="website">
<!-- Twitter Card Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Rokeyla Fashion Store | Project Review | CyberSage">
<meta name="twitter:description" content="Discover how CyberSage designed the Rokeyla Fashion Store with a stunning maroon and white theme, interactive image galleries, and a seamless user experience.">
<meta name="twitter:image" content="images/rokeyla-hero.jpg">
<!-- Favicon -->
<link rel="icon" href="images/circle2.png" type="image/png">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;900&family=Lora:wght@400;700;900&display=swap" rel="stylesheet">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800,900&display=swap" rel="stylesheet">
<!-- Font Awesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-..." crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- AOS Library CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="css/projectstyle.css">
</head>
<body>
<!-- Placeholder for Navigation Menu -->
<div class="page-loader">
<div class="loader">
<div class="loader-container">
<div class="carousel">
<div class="love"></div>
<div class="love"></div>
<div class="love"></div>
<div class="love"></div>
<div class="love"></div>
<div class="love"></div>
<div class="love"></div>
</div>
</div>
<div class="loader-container">
<div class="carousel">
<div class="death"></div>
<div class="death"></div>
<div class="death"></div>
<div class="death"></div>
<div class="death"></div>
<div class="death"></div>
<div class="death"></div>
</div>
</div>
<div class="loader-container">
<div class="carousel">
<div class="robots"></div>
<div class="robots"></div>
<div class="robots"></div>
<div class="robots"></div>
<div class="robots"></div>
<div class="robots"></div>
<div class="robots"></div>
</div>
</div>
</div>
</div>
<!-- Menu Trigger -->
<div class="container">
<div class="bars"></div>
</div>
<!-- Navigation Bar -->
<nav>
<h2> <img src="circle2.png" alt="CyberSage Logo" class="logo-image fa fa-fade"> CyberSage</h2>
<!-- Burger Menu Trigger -->
<label class="burger" for="nav-toggle">
<input type="checkbox" id="nav-toggle">
<span></span>
<span></span>
<span></span>
</label>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="#details">About</a></li>
<!-- Adjust or remove other links as needed -->
</ul>
</nav>
<!-- Theme Toggle Button -->
<div class="theme-toggle">
<label for="themeToggle" class="themeToggle st-sunMoonThemeToggleBtn">
<input type="checkbox" id="themeToggle" class="themeToggleInput" aria-label="Toggle light and dark mode" />
<svg
width="18"
height="18"
viewBox="0 0 20 20"
fill="currentColor"
stroke="none"
>
<mask id="moon-mask">
<rect x="0" y="0" width="20" height="20" fill="white"></rect>
<circle cx="11" cy="3" r="8" fill="black"></circle>
</mask>
<circle
class="sunMoon"
cx="10"
cy="10"
r="8"
mask="url(#moon-mask)"
></circle>
<g>
<circle class="sunRay sunRay1" cx="18" cy="10" r="1.5"></circle>
<circle class="sunRay sunRay2" cx="14" cy="16.928" r="1.5"></circle>
<circle class="sunRay sunRay3" cx="6" cy="16.928" r="1.5"></circle>
<circle class="sunRay sunRay4" cx="2" cy="10" r="1.5"></circle>
<circle class="sunRay sunRay5" cx="6" cy="3.1718" r="1.5"></circle>
<circle class="sunRay sunRay6" cx="14" cy="3.1718" r="1.5"></circle>
</g>
</svg>
</label>
</div>
<!-- Hero Section -->
<!-- Hero Section -->
<section class="hero-section" id="home">
<div class="hero-overlay"></div>
<div class="hero-content" data-aos="fade-up">
<div class="hero-logo-container glitch">
<img src="logo/RokeylaSecondaryLogoWhite.png" alt="Logo" class="hero-logo">
<div class="glitch__layers">
<div class="glitch__layer"></div>
<div class="glitch__layer"></div>
<div class="glitch__layer"></div>
</div>
</div>
</div>
</section>
<!-- Project Details Section -->
<section class="project-details" id="details">
<div class="container">
<div class="card-container">
<!-- Existing Card -->
<div class="card" data-aos="fade-up">
<div class="content">
<!-- Your existing card content goes here -->
<p class="heading">Project Highlights</p>
<p class="para">
At Rokeyla, we believe that fashion is more than just clothing—it's an expression of your identity. Our carefully curated collections are designed to inspire, empower, and transform your style into a signature of elegance.
</p>
<p class="para">
Join us on a journey of discovery and let your wardrobe speak volumes about your personality. With Rokeyla, every piece is a statement, every look is a story.
</p>
<div class="project-features">
<ul class="features-list">
<li><i class="fas fa-check-circle"></i> Responsive and User-Friendly Design</li>
<li><i class="fas fa-check-circle"></i> Seamless E-commerce Integration</li>
<li><i class="fas fa-check-circle"></i> Elegant Maroon and White Color Scheme</li>
<li><i class="fas fa-check-circle"></i> Interactive Image Galleries</li>
<li><i class="fas fa-check-circle"></i> Optimized for Performance and SEO</li>
</ul>
</div>
<div class="project-links">
<a href="https://rokeyla.onrender.com" target="_blank" class="cti">
<div class="CTI">
Visit Rokeyla
</div>
</a>
<a href="#gallery" class="cti">
<div class="CTI">
View Gallery
</div>
</a>
</div>
</div>
</div>
<!-- New Card with Image -->
<div class="new-card" data-aos="fade-up" data-aos-delay="100">
<div class="new-btn1"></div>
<div class="new-btn2"></div>
<div class="new-btn3"></div>
<div class="new-btn4"></div>
<div class="new-card-int">
<!-- Image instead of text -->
<img src="projects/rokeylamobile.jpg" alt="Rokeyla Fashion" class="new-card-image">
</div>
<div class="new-top">
<div class="new-camera">
<div class="new-int"></div>
</div>
<div class="new-speaker"></div>
</div>
</div>
</div>
</div>
</section>
<!-- Image Gallery Section -->
<section class="image-gallery" id="gallery">
<div class="gallery-background"></div>
<div class="container">
<div class="gallery-content">
<h2 class="gallery-title" data-aos="fade-up">Rokeyla Collection Showcase</h2>
<div class="gallery-grid">
<div class="gallery-item" data-aos="zoom-in" data-aos-delay="500">
<img src="projects/rokey3_17.jpg" alt="Rokeyla Collection 1">
</div>
<div class="gallery-item" data-aos="zoom-in">
<img src="projects/rokey4_17.jpg" alt="Rokeyla Collection 2">
</div>
<div class="gallery-item" data-aos="zoom-in" data-aos-delay="100">
<img src="projects/rokey5_17.jpg" alt="Rokeyla Collection 3">
</div>
<div class="gallery-item" data-aos="zoom-in" data-aos-delay="200">
<img src="projects/rokey7_17.jpg" alt="Rokeyla Collection 4">
</div>
<div class="gallery-item" data-aos="zoom-in" data-aos-delay="300">
<img src="projects/rokey8.png" alt="Rokeyla Collection 5">
</div>
<div class="gallery-item" data-aos="zoom-in" data-aos-delay="400">
<img src="projects/rokey9_17.jpg" alt="Rokeyla Collection 6">
</div>
<div class="gallery-item" data-aos="zoom-in" data-aos-delay="500">
<img src="projects/rokey2_17.jpg" alt="Rokeyla Collection 7">
</div>
<!-- Add more images as needed -->
</div>
<div class="gallery-links cti" data-aos="fade-up" data-aos-delay="600">
<a href="https://rokeyla.onrender.com/" target="_blank" class="btn"> <div class="CTI">
Visit Rokeyla
</div></a>
</div>
</div>
</div>
</section>
<!-- Lightbox Container -->
<div class="lightbox" id="lightbox">
<span class="close">×</span>
<img class="lightbox-content" id="lightbox-img" src="" alt="Enlarged Image">
<div class="caption" id="lightbox-caption"></div>
</div>
<!-- Footer Section -->
<!-- Footer Section -->
<footer class="footer-section">
<div class="footer-container">
<!-- Footer Top -->
<div class="footer-top" data-aos="fade-up">
<div class="footer-logo">
<img src="circle2.png" alt="CyberSage Logo" class="logo-image fa fa-fade">
<h3>CyberSage</h3>
</div>
<p class="footer-description">
Empowering businesses with cutting-edge technology solutions. Let's innovate together.
</p>
</div>
<!-- Footer Middle -->
<div class="footer-middle" data-aos="fade-up" data-aos-delay="200">
<!-- Contact Information -->
<div class="footer-contact">
<h4>Contact Us</h4>
<p>Email: <a href="mailto:[email protected]">[email protected]</a></p>
<p>Phone: <a href="tel:+12345678901">+234 (702) 549-5506</a></p>
</div>
<!-- Social Media Links -->
<div class="footer-social">
<h4>Follow Us</h4>
<div class="social-icons">
<a href="https://twitter.com/yourprofile" aria-label="Google"><i class="fab fa-google"></i></a>
<a href="https://www.linkedin.com/in/carrington-abakwe-b0b0a0217" aria-label="LinkedIn"><i class="fab fa-linkedin-in"></i></a>
<a href="https://x.com/yourprofile" aria-label="X"><i class="fab fa-xing"></i></a>
<a href="https://github.com/donrington" aria-label="X"><i class="fab fa-github"></i></a>
<a href="https://wa.me/2347025495506" aria-label="Whatsapp"><i class="fab fa-whatsapp"></i></a>
</div>
</div>
</div>
<!-- Footer Bottom -->
<div class="footer-bottom " data-aos="fade-up" data-aos-delay="400">
<p>Designed by <img src="circle2.png" alt="CyberSage 2024" class="credits-image"> CyberSage © 2024</p>
<p>© 2024 CyberSage. All rights reserved.</p>
</div>
</div>
</footer>
<button class="Btn" id="backToTopBtn" aria-label="Back to Top">
<svg height="1.2em" class="arrow" viewBox="0 0 512 512">
<path d="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"></path>
</svg>
<p class="text">Back to Top</p>
</button>
<!-- AOS Library JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.js"></script>
<!-- Swiper JS (Optional) -->
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
<!-- Custom JavaScript -->
<script src="dist/project1.js"></script>
<!-- Place this script just before the closing </body> tag -->
<script>
// Combined JavaScript Code
document.addEventListener('DOMContentLoaded', function() {
// **Navigation Menu Functionality**
const navToggle = document.getElementById('nav-toggle');
const navLinks = document.querySelector('nav .nav-links');
function toggleNav() {
if (navToggle.checked) {
navLinks.classList.add('show-links');
} else {
navLinks.classList.remove('show-links');
}
}
if (navToggle) {
navToggle.addEventListener('change', toggleNav);
} else {
console.error('Navigation toggle checkbox not found!');
}
// **Smooth Scrolling for Navigation Links**
document.querySelectorAll('nav .nav-links li a').forEach(anchor => {
anchor.addEventListener('click', function(e) {
// If the link is an in-page link
if (this.getAttribute('href').startsWith('#')) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({ behavior: 'smooth' });
}
// Close the navigation menu after clicking a link
navLinks.classList.remove('show-links');
navToggle.checked = false;
}
});
});
// **Theme Toggle Functionality**
const themeToggle = document.getElementById('themeToggle');
if (!themeToggle) {
console.error('Theme toggle checkbox not found!');
} else {
/**
* Function to set the theme.
* @param {string} theme - 'light' or 'dark'
*/
function setTheme(theme) {
if (theme === 'light') {
document.body.classList.add('light-mode');
themeToggle.checked = true;
} else {
document.body.classList.remove('light-mode');
themeToggle.checked = false;
}
}
/**
* Function to determine the initial theme.
* Checks localStorage for user preference.
* If none, uses prefers-color-scheme media query.
*/
function determineTheme() {
const userPreference = localStorage.getItem('theme');
if (userPreference) {
// Use user's saved preference
setTheme(userPreference);
} else if (window.matchMedia && window.matchMedia('(prefers-color-scheme: light)').matches) {
// Use system preference
setTheme('light');
} else {
// Default to dark theme
setTheme('dark');
}
}
/**
* Event listener for theme toggle switch.
* Saves user preference to localStorage.
*/
themeToggle.addEventListener('change', () => {
if (themeToggle.checked) {
setTheme('light');
localStorage.setItem('theme', 'light');
} else {
setTheme('dark');
localStorage.setItem('theme', 'dark');
}
});
// Initialize theme on page load
determineTheme();
// Listen for system theme changes
if (window.matchMedia) {
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => {
const newColorScheme = e.matches ? 'dark' : 'light';
const userPreference = localStorage.getItem('theme');
// Only change theme if user hasn't set a preference
if (!userPreference) {
setTheme(newColorScheme);
}
});
}
}
// **Back to Top Button Functionality**
const backToTopBtn = document.getElementById('backToTopBtn');
if (backToTopBtn) {
// Show or hide the button based on scroll position
window.addEventListener('scroll', () => {
if (window.pageYOffset > 300) { // Show after scrolling down 300px
backToTopBtn.style.display = 'flex';
} else {
backToTopBtn.style.display = 'none';
}
});
// Initial hide
backToTopBtn.style.display = 'none';
// Scroll to top smoothly on button click
backToTopBtn.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
} else {
console.error('Back to Top button not found!');
}
// **Section Active Link Highlighting**
const sections = document.querySelectorAll('section[id]');
// Add an event listener listening for scroll
window.addEventListener('scroll', () => {
let current = '';
sections.forEach(section => {
const sectionTop = section.offsetTop - 100; // Adjust this value based on header height
if (window.pageYOffset >= sectionTop) {
current = section.getAttribute('id');
}
});
// Remove 'active' class from all nav links
document.querySelectorAll('nav .nav-links li a').forEach(link => {
link.classList.remove('active');
if (link.getAttribute('href') === `#${current}`) {
link.classList.add('active');
}
});
});
// **Initialize AOS Library**
if (typeof AOS !== 'undefined') {
AOS.init();
} else {
console.error('AOS library is not loaded!');
}
});
// **Hide the Loader When the Page Has Fully Loaded**
window.addEventListener('load', function() {
const pageLoader = document.querySelector('.page-loader');
if (pageLoader) {
pageLoader.style.transition = 'opacity 0.5s ease-out';
pageLoader.style.opacity = '0';
// Wait for the transition to complete before removing
setTimeout(() => {
pageLoader.style.display = 'none';
}, 5000); // Match the duration in the CSS transition
} else {
console.error('Page loader not found!');
}
});
</script>
</body>
</html>