-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject3.html
597 lines (540 loc) · 26.1 KB
/
project3.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
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Tags and SEO -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>All A Handyman and Contractor | Project Review | CyberSage</title>
<!-- SEO Meta Tags -->
<meta name="description" content="Explore the All A Handyman and Contractor project by CyberSage. Discover how we developed a robust online presence with modern design, interactive elements, and industry-focused content.">
<meta name="keywords" content="All A Handyman, Contractor, Project Review, CyberSage, Web Design, Construction, Responsive Design, Modern Aesthetics">
<!-- Open Graph Meta Tags for Social Media -->
<meta property="og:title" content="All A Handyman and Contractor | Project Review | CyberSage">
<meta property="og:description" content="Dive into the All A Handyman and Contractor project by CyberSage. Learn how we crafted a professional platform with industry insights, interactive elements, and a modern aesthetic.">
<meta property="og:image" content="images/handyman-hero.jpg">
<meta property="og:url" content="https://yourwebsite.com/handyman-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="All A Handyman and Contractor | Project Review | CyberSage">
<meta name="twitter:description" content="Discover how CyberSage designed the All A Handyman and Contractor website with a modern design, interactive features, and a focus on the construction sector.">
<meta name="twitter:image" content="images/handyman-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">
<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/project3style.css">
</head>
<body>
<!-- Page Loader -->
<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>
<li><a href="#services">Services</a></li>
<!-- Add or adjust 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 -->
<section class="hero-section" id="home">
<div class="hero-overlay"></div>
<div class="hero-content" data-aos="fade-up">
<!-- Hero Title -->
<img src="logo/handymanlogo.png" alt="All A Handyman and Contractor Logo" class="hero-logo">
<h1 class="hero-title">All A Handyman & Contractor</h1>
<!-- Hero Subtitle -->
<p class="hero-subtitle">RENOVATE YOUR HOME WITH US</p>
<!-- Call to Action Button -->
<a href="#details" class="cti">
<div class="CTI">Learn More</div>
</a>
</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">
<!-- Corrected Card Content -->
<p class="heading">Project Highlights</p>
<p class="para">
At All A Handyman and Contractor, we blend creativity and functionality to transform spaces into stunning environments. Our team is passionate and dedicated to bringing your vision to life with personalized, stylish, and innovative solutions. Let us make your dream space a reality.
</p>
<p class="para">
From minor repairs to major renovations, we handle every project with precision and care, ensuring quality craftsmanship and customer satisfaction every step of the way.
</p>
<div class="project-features">
<ul class="features-list">
<li><i class="fas fa-check-circle"></i> Modern and Responsive Design</li>
<li><i class="fas fa-check-circle"></i> Industry-Focused Content</li>
<li><i class="fas fa-check-circle"></i> Interactive Elements and Animations</li>
<li><i class="fas fa-check-circle"></i> Optimized for Performance and SEO</li>
<li><i class="fas fa-check-circle"></i> Integration with Latest Technologies</li>
</ul>
</div>
<div class="project-links">
<a href="https://allacontractor.com" target="_blank" class="cti">
<div class="CTI">
Visit All A Handyman
</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">
<!-- Corrected Image and Alt Text -->
<img src="projects/handyman1.jpg" alt="All A Handyman and Contractor Project" 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>
<!-- Services Section -->
<section class="services-section" id="services">
<div class="container">
<h2 data-aos="fade-up">Our Services</h2>
<div class="services-grid">
<div class="service-item" data-aos="fade-up" data-aos-delay="100">
<i class="fas fa-hammer"></i>
<h3>Home Renovation</h3>
<p>Transform your living spaces with our comprehensive renovation services.</p>
</div>
<div class="service-item" data-aos="fade-up" data-aos-delay="200">
<i class="fas fa-tools"></i>
<h3>General Contracting</h3>
<p>Expert project management and execution for all your construction needs.</p>
</div>
<div class="service-item" data-aos="fade-up" data-aos-delay="300">
<i class="fas fa-paint-roller"></i>
<h3>Interior Design</h3>
<p>Create aesthetically pleasing and functional interiors tailored to your taste.</p>
</div>
</div>
<div class="statistics" data-aos="fade-up" data-aos-delay="200">
<div class="stat-item">
<h3><span class="counter" data-target="15">0</span>+</h3>
<p>Years of Experience</p>
</div>
<div class="stat-item">
<h3><span class="counter">24/7</span></h3>
<p>Support</p>
</div>
<div class="stat-item">
<h3><span class="counter" data-target="98">0</span>%</h3>
<p>Customer Satisfaction</p>
</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">All A Handyman Project Showcase</h2>
<div class="gallery-grid">
<!-- Gallery items with All A Handyman images -->
<div class="gallery-item" data-aos="zoom-in">
<img src="projects/handyman3.jpg" alt="All A Handyman Project 1">
</div>
<div class="gallery-item" data-aos="zoom-in" data-aos-delay="100">
<img src="projects/handyman4.png" alt="All A Handyman Project 2">
</div>
<div class="gallery-item" data-aos="zoom-in" data-aos-delay="200">
<img src="projects/handyman6.png" alt="All A Handyman Project 3">
</div>
<div class="gallery-item" data-aos="zoom-in" data-aos-delay="200">
<img src="projects/handyman7.png" alt="All A Handyman Project 4">
</div>
<div class="gallery-item" data-aos="zoom-in" data-aos-delay="200">
<img src="projects/handyman8.png" alt="All A Handyman Project 5">
</div>
<!-- Add more images as needed -->
</div>
<div class="gallery-links cti" data-aos="fade-up" data-aos-delay="300">
<a href="https://allacontractor.com" target="_blank" class="btn">
<div class="CTI">
Visit All A Handyman
</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 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>
<!-- Back to Top Button -->
<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>
<!-- JavaScript Files -->
<!-- Include AOS JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.js"></script>
<!-- Custom JavaScript -->
<script src="dist/project2.js"></script>
<!-- Inline JavaScript for Additional Functionalities -->
<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!');
}
// **Counter Animation**
const counters = document.querySelectorAll('.counter');
counters.forEach(counter => {
const target = counter.getAttribute('data-target');
if (target) {
// Counter with numeric target
counter.innerText = '0';
const updateCounter = () => {
const c = +counter.innerText;
const targetNum = +target;
const increment = targetNum / 200; // Adjust for speed
if (c < targetNum) {
counter.innerText = `${Math.ceil(c + increment)}`;
setTimeout(updateCounter, 20);
} else {
counter.innerText = target;
}
};
updateCounter();
} else {
// Non-numeric counter (e.g., "24/7"), leave as is
}
});
});
// **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';
}, 2000); // Match the duration in the CSS transition
} else {
console.error('Page loader not found!');
}
});
// **Lightbox Functionality**
document.addEventListener('DOMContentLoaded', () => {
const lightbox = document.getElementById('lightbox');
const lightboxImg = document.getElementById('lightbox-img');
const lightboxCaption = document.getElementById('lightbox-caption');
const closeBtn = document.querySelector('.lightbox .close');
// Open Lightbox
document.querySelectorAll('.gallery-item img').forEach(img => {
img.addEventListener('click', () => {
lightbox.style.display = 'flex';
lightboxImg.src = img.src;
lightboxCaption.innerText = img.alt;
});
});
// Close Lightbox
closeBtn.addEventListener('click', () => {
lightbox.style.display = 'none';
});
// Close Lightbox when clicking outside the image
lightbox.addEventListener('click', (e) => {
if (e.target === lightbox) {
lightbox.style.display = 'none';
}
});
});
</script>
</body>
</html>