-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
613 lines (521 loc) · 16.7 KB
/
index.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
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" href="https://cino-cafe.github.io/harrysupport/hub-image.jpg" type="image/x-icon">
<meta name="description" content="Welcome to Harry Support Services, your go-to provider for a wide range of free IT solutions.">
<meta content="Harry Network Support Services" property="og:title">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Harry Network Support Services</title>
<!-- Font Awesome CDN for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<style>
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f9;
color: #333;
text-align: center;
padding: 0px;
}
/* Header Styling */
header {
padding: 50px 20px;
background-image: linear-gradient(135deg, #0077b6, #0096c7, #00b4d8, #48cae4);
color: #fff;
animation: fadeIn 1.2s ease-in;
position: relative;
overflow: hidden;
}
header img {
max-width: 150px; /* Adjust logo size */
margin-bottom: 20px;
}
header h1 {
font-size: 2.5em;
margin-bottom: 10px;
text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}
header p {
font-size: 1.2em;
margin-bottom: 20px;
}
.explore-btn {
padding: 15px 30px;
background-color: #ffba08;
border: none;
color: #333;
font-size: 1.2em;
font-weight: bold;
cursor: pointer;
border-radius: 50px;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
transition: all 0.4s ease;
}
.explore-btn:hover {
background-color: #faa307;
transform: scale(1.05);
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}
/* Service Section */
#services {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
gap: 30px;
margin-top: 50px;
padding: 0 20px; /* Padding for smaller screens */
}
.service-card {
background-color: #fff;
padding: 30px;
border-radius: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
overflow: hidden;
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.service-card h2 {
font-size: 1.5em;
color: #0077b6;
margin-bottom: 15px;
}
.service-card p {
font-size: 1em;
margin-bottom: 20px;
}
.service-card i {
font-size: 2.5em;
color: #0077b6;
margin-bottom: 15px;
}
/* Background decoration for each service */
.service-card:before {
content: '';
position: absolute;
top: -50px;
right: -50px;
width: 150px;
height: 150px;
background: rgba(0, 183, 255, 0.147);
border-radius: 50%;
z-index: -1;
}
footer {
margin-top: 50px;
padding: 20px 0;
background-color: #333;
color: #fff;
}
footer p {
font-size: 1.1em;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Smooth scroll for "Explore Services" button */
html {
scroll-behavior: smooth;
}
.free-services {
background-color: rgba(240, 248, 255, 0.9); /* Soft light blue for a gentle appearance */
color: #0077b6; /* Darker blue for text to maintain consistency */
padding: 20px; /* Spacious feel */
border-radius: 15px; /* Rounded corners for a softer look */
font-size: 1.2em; /* Readable font size */
margin: 20px 0; /* Spacing above and below */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for hover effect */
}
.free-services:hover {
transform: translateY(-5px); /* Slight lift on hover */
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.close {
color: #0077b6; /* Primary color for close button */
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #005f8d; /* Darker shade on hover */
text-decoration: none;
cursor: pointer;
}
button {
padding: 12px 24px;
background-color: #0077b6; /* Primary button color */
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s; /* Smooth transition for hover effect */
}
button:hover {
background-color: #005f8d; /* Darker shade on hover */
}
h2 {
color: #0077b6; /* Heading color */
font-family: 'Arial', sans-serif; /* Professional font */
}
/* Modal Styles */
.modal {
display: none; /* Hidden by default */
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgba(0, 0, 0, 0.7); /* Darker background with opacity */
}
.modal-content {
background-color: #ffffff; /* White background */
margin: 10% auto; /* 10% from the top and centered */
padding: 30px;
border-radius: 10px; /* Rounded corners */
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
width: 90%; /* Full width on smaller screens */
max-width: 600px; /* Limit max width */
animation: fadeIn 0.3s; /* Animation for modal appearance */
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Modal Styles */
.modal {
display: none; /* Hidden by default */
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
position: relative; /* Add this line */
}
.close {
color: #0077b6; /* Primary color for close button */
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #005f8d; /* Darker shade on hover */
text-decoration: none;
cursor: pointer;
}
.text {
font-family: 'Arial', sans-serif; /* Consistent font */
line-height: 1.6; /* Increased line height for readability */
color: #333; /* Dark gray for text */
}
h2 {
color: #0077b6; /* Heading color */
font-family: 'Arial', sans-serif; /* Professional font */
}
button {
padding: 12px 24px;
background-color: #0077b6; /* Primary button color */
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s; /* Smooth transition for hover effect */
}
button:hover {
background-color: #005f8d; /* Darker shade on hover */
}
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* Keep this to center vertically */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
position: relative; /* Required for absolute positioning of the image */
}
.modal-image {
position: absolute; /* Position the image absolutely */
top: 10px; /* Adjust as needed */
left: 20px; /* Adjust as needed */
margin: 0; /* Remove any default margin */
}
/* General styles for popup */
.custom-popup {
display: none; /* Hidden by default */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
z-index: 9999; /* High z-index to stay above other elements */
}
.custom-popup-content {
position: relative;
margin: 10% auto; /* Center popup */
width: 70%;
max-width: 800px;
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.custom-popup-content video {
width: 100%;
height: auto;
border-radius: 5px;
}
.close-popup-btn {
position: absolute;
top: 10px;
right: 15px;
width: 40px; /* Larger clickable area */
height: 40px; /* Larger clickable area */
background: none;
border: none;
font-size: 24px;
color: #555;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: color 0.3s ease-in-out;
border-radius: 50%; /* Makes the hit area circular */
}
.close-popup-btn:hover {
color: red;
background-color: rgba(0, 0, 0, 0.1); /* Adds a subtle background highlight */
}
/* Adjust for small screens */
@media (max-width: 600px) {
.custom-popup-content {
width: 90%; /* Increase width for smaller devices */
max-width: none; /* Remove max-width to allow more flexibility */
}
.custom-popup-content video {
width: 100%; /* Make the video fill the container */
height: auto; /* Maintain aspect ratio */
}
}
/* Adjust for even smaller screens like iPhones */
@media (max-width: 400px) {
.custom-popup-content {
width: 95%; /* Even more width for very small devices */
}
}
</style>
</head>
<body>
<header>
<img src="https://cino-cafe.github.io/harrysupport/hub-image.jpg" alt="Your Logo"> <!-- Replace with your logo -->
<h1>Welcome to Harry Network Support Services</h1>
<p>Secure your digital life with Harry Network Support Services</p>
<button class="explore-btn" onclick="window.location.href='mailto:[email protected]?subject=Request%20to%20Get%20Started%20with%20Harry%20Network%20Services&body=Hi%20Harry%20Network%20Support%20Team,%0D%0A%0D%0AI%27m%20interested%20in%20getting%20started%20with%20your%20network%20support%20services.%20Could%20you%20please%20let%20me%20know%20the%20next%20steps%20to%20begin%20using%20your%20services?%0D%0A%0D%0AThanks%20so%20much,%0D%0A[Your%20Name]';">
Get Started Using These Services
</button>
</header>
<!-- Custom Popup for Video -->
<div id="customVideoPopup" class="custom-popup">
<div class="custom-popup-content">
<button class="close-popup-btn" id="closeVideoPopup" aria-label="Close Popup">×</button>
<video id="popupVideo" controls>
<source src="video\advert-harrysupport.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
</div>
<div class="free-services">
All services are completely free! Enjoy reliable support and technology solutions.
</div>
<!-- Button to Open the Modal -->
<!-- The Modal -->
<div id="myModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<img src="https://cino-cafe.github.io/harrysupport/hub-image.jpg" alt="Icon" width="40" height="40" class="modal-image">
<h2>About Us</h2>
<br>
<p class="text">My Name is <strong>Harry Paolella</strong>, and I am 18 years old. Currently, I am a student at De Montfort University, studying Cyber Security.</p>
<br>
<p class="text">I created this service to help and support both technical and non-technical users.</p>
<br>
<p class="text">My aim is to provide reliable network support solutions that enhance your online experience while ensuring your security and privacy.</p>
<br>
<p class="text"><b>Notice: </b>Unfortunately, I can only provide these free services to a limited number of people, so please don't be offended if I have to decline your request. This limitation is due to the capacity of my server equipment.</p>
</div>
</div>
<section id="services">
<div class="service-card">
<i class="fas fa-cloud"></i>
<h2>Cloud Server</h2>
<p>Store and share your files securely with our Nextcloud services.</p>
</div>
<div class="service-card">
<i class="fas fa-shield-alt"></i>
<h2>VPN Server</h2>
<p>Protect your privacy with our high-speed VPN solutions.</p>
</div>
<div class="service-card">
<i class="fas fa-ban"></i>
<h2>Ad Blocking</h2>
<p>Enjoy a cleaner browsing experience with Pi-hole ad-blocking.</p>
</div>
<div class="service-card">
<i class="fas fa-newspaper"></i>
<h2>News Server</h2>
<p>Stay updated with the latest news, customized just for you.</p>
</div>
<div class="service-card">
<i class="fas fa-robot"></i>
<h2>AI Assistance</h2>
<p>Leverage AI for real-time support and guidance.</p>
</div>
<div class="service-card">
<i class="fas fa-ticket-alt"></i>
<h2>Ticketing System</h2>
<p>Report issues efficiently with our easy-to-use ticketing system.</p>
</div>
<div class="service-card">
<i class="fas fa-phone"></i>
<h2>Telephone System</h2>
<p>Telephone system enabling you to reach support and connect with other users.</p>
</div>
<div class="service-card">
<i class="fas fa-book-open"></i>
<h2>User Tutorials</h2>
<p>Learn to navigate technology with our user-friendly tutorials.</p>
</div>
<div class="service-card">
<i class="fas fa-shopping-basket"></i>
<h2>Online Store</h2>
<p>Shop with our services for IT toolkits, merchandise, stationery, and more!</p>
</div>
<div class="service-card">
<i class="fas fa-plus"></i>
<h2>And Much More...</h2>
<p>We also offer a range of additional services to further support your needs.</p>
</div>
</section>
<footer>
<button class="explore-btn" id="myBtn">About Us</button>
<br>
<br>
<button class="explore-btn" id="triggerVideoPopup">Watch Advertisement</button>
<br>
<br>
<p>© Harry Network Support Services. All rights reserved.</p>
</footer>
<script>
// Smooth scrolling to services section
function scrollToServices() {
document.getElementById('services').scrollIntoView({ behavior: 'smooth' });
}
</script>
<script>
// Redirect to a custom URL
function goToCustomURL() {
window.location.href = "http://harrysupport.com"; // Replace with your actual URL
}
</script>
<script>
// Get the modal
var modal = document.getElementById("myModal");
// Get the button that opens the modal
var btn = document.getElementById("myBtn");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
<script>
// Get the button, popup, video, and close button elements
const triggerButton = document.getElementById("triggerVideoPopup");
const popup = document.getElementById("customVideoPopup");
const closeButton = document.getElementById("closeVideoPopup");
const video = document.getElementById("popupVideo");
// Open popup on button click
triggerButton.addEventListener("click", () => {
popup.style.display = "block";
video.currentTime = 0; // Ensure video starts from the beginning
video.play(); // Automatically start playing the video when the popup opens
});
// Close popup on close button click
closeButton.addEventListener("click", () => {
closePopup();
});
// Close popup if clicked outside of the content area
window.addEventListener("click", (event) => {
if (event.target === popup) {
closePopup();
}
});
// Close popup when the video finishes playing
video.addEventListener("ended", () => {
closePopup();
});
// Function to handle popup close logic
function closePopup() {
popup.style.display = "none";
video.pause(); // Pause the video
video.currentTime = 0; // Reset the video to the beginning
}
// Ensure autoplay is functional (needed for some browsers)
video.setAttribute("muted", "true"); // Some browsers require videos to be muted for autoplay
video.setAttribute("playsinline", "true"); // Allows autoplay on mobile browsers
</script>
</body>
</html>