-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
134 lines (120 loc) · 4.98 KB
/
about.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About - 3Z0</title>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
/* General Fade-in Animation */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Hero Section Animation */
.page-header {
text-align: center;
animation: fadeIn 1s ease-in-out;
}
/* About Section Animation */
.about-section {
display: flex;
align-items: center;
gap: 30px;
opacity: 0;
animation: fadeIn 1.2s ease-in-out forwards;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.about-section {
flex-direction: column;
text-align: center;
}
.about-image img {
width: 100%;
height: auto;
border-radius: 10px;
}
}
</style>
</head>
<body>
<div id="navbar-container"></div>
<header class="page-header">
<h1>About Us</h1>
<p>Get to know our story and mission</p>
</header>
<main class="about-content">
<section class="about-section">
<div class="about-image">
<img src="https://images.unsplash.com/photo-1522202176988-66273c2fd55f" alt="Our Team">
</div>
<div class="about-text">
<h2>Our Story</h2>
<p>Once upon a time, in a galaxy not so far away (actually, just on the internet), 3Z0 was born out of a caffeine-fueled brainstorming session and an intense debate over whether pineapple belongs on pizza.</p>
<p>Our mission? Honestly, we aren't sure. To share our knowledge and provide mildly entertaining distractions when you’re supposed to be working.</p>
<p>Our elite squad of writers and creators work tirelessly—powered by coffee, memes, and an occasional existential crisis—to bring you the most engaging, informative, and *mildly unhinged* content on the internet.</p>
<p>Welcome to 3Z0, where learning meets laughter, and productivity is *just* an optional side quest.</p>
</div>
</section>
<section class="team-section">
<h2>Our Team</h2>
<div class="team-grid">
<div class="team-member">
<img src="https://www.shutterstock.com/image-vector/user-account-avatar-icon-pictogram-600nw-1860375778.jpg" alt="Team Member 1">
<h3>Charlie</h3>
<p>Site Admin</p>
</div>
<div class="team-member">
<img src="https://www.shutterstock.com/image-vector/user-account-avatar-icon-pictogram-600nw-1860375778.jpg" alt="Team Member 2">
<h3>Jack</h3>
<p>Content Writer</p>
</div>
<div class="team-member">
<img src="https://upload.wikimedia.org/wikipedia/commons/9/99/Sample_User_Icon.png" alt="Team Member 3">
<h3>?????</h3>
<p>Coming soon...</p>
</div>
</div>
</section>
</main>
<div id="footer-container"></div>
<script>
function loadComponent(containerId, filePath) {
fetch(filePath)
.then(response => response.text())
.then(html => {
document.getElementById(containerId).innerHTML = html;
const currentPath = window.location.pathname;
document.querySelectorAll('#navbar-container .nav-links a').forEach(link => {
if (link.getAttribute('href') === currentPath) {
link.classList.add('active');
} else {
link.classList.remove('active');
}
});
})
.catch(error => console.error(`Error loading ${filePath}:`, error));
}
document.addEventListener("DOMContentLoaded", function () {
loadComponent('navbar-container', '/styling/navbar.html');
loadComponent('footer-container', '/styling/footer.html');
});
document.addEventListener("DOMContentLoaded", function () {
document.body.addEventListener("click", function (event) {
if (event.target.closest(".menu-toggle")) {
const navLinks = document.querySelector(".nav-links");
if (navLinks) navLinks.classList.toggle("active");
}
});
});
</script>
</body>
</html>