-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
259 lines (237 loc) · 10.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Syed Areeb's Portfolio - Showcasing my work in web development and design.">
<title>Syed Areeb's Portfolio</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
</head>
<body>
<!-- Preloader -->
<div id="preloader">
<div class="loader"></div>
</div>
<!-- Header -->
<header>
<nav>
<div class="logo">Syed Areeb</div>
<div class="menu-toggle" id="menu-toggle" aria-label="Toggle navigation">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
<ul class="nav-links">
<li><a href="#hero">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#skills">Skills</a></li>
<li><a href="#projects">Projects</a></li>
<li><a href="#testimonials">Testimonials</a></li>
<li><a href="#blog">Blog</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<!-- Hero Section -->
<section id="hero" class="hero">
<div class="hero-content">
<h1 class="animate__animated animate__fadeIn">Areeb Syed</h1>
<p class="animate__animated animate__fadeIn animate__delay-1s">Welcome to my portfolio!<br>Exploring the realms of creativity, technology, and innovation.</p>
<br><a href="#contact" class="btn">Get in Touch</a>
</div>
</section>
<!-- About Section -->
<section id="about">
<div class="container">
<div class="about-content">
<img src="https://images.pexels.com/photos/3748221/pexels-photo-3748221.jpeg" alt="Profile Picture" class="profile-img">
<div class="text">
<h2>About Me</h2>
<p>Hello! I'm Syed Areeb, a passionate Computer Science student with a love for creating innovative solutions and beautiful designs. I specialize in web development, and I'm constantly learning and growing in the tech world.</p>
</div>
</div>
</div>
</section>
<!-- Skills Section -->
<section id="skills">
<div class="container">
<h2>My Skills</h2>
<div class="skills-content">
<div class="skill">
<h3>Web Development</h3>
<div class="progress-bar">
<div class="progress" style="width: 90%;">90%</div>
</div>
</div>
<div class="skill">
<h3>Design</h3>
<div class="progress-bar">
<div class="progress" style="width: 80%;">80%</div>
</div>
</div>
<!-- Add more skills as needed -->
</div>
</div>
</section>
<!-- Projects Section -->
<section id="projects">
<div class="container">
<h2>My Projects</h2>
<div class="project-gallery">
<div class="project-item">
<img src="assets/project1.jpg" alt="Project 1" class="project-image" onclick="openLightbox('assets/project1.jpg')">
<div class="project-info">
<h3>Project 1</h3>
<p>A brief description of Project 1.</p>
</div>
</div>
<div class="project-item">
<img src="assets/project2.jpg" alt="Project 2" class="project-image" onclick="openLightbox('assets/project2.jpg')">
<div class="project-info">
<h3>Project 2</h3>
<p>A brief description of Project 2.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials Section -->
<section id="testimonials">
<div class="container">
<h2>What People Say</h2>
<div class="testimonials">
<div class="testimonial-item">
<p>"Syed is a fantastic developer with a keen eye for design. His projects always impress me!"</p>
<h4>Jane Doe</h4>
<span>CEO, Company</span>
</div>
<div class="testimonial-item">
<p>"Working with Syed was a pleasure. His technical skills and creativity are outstanding."</p>
<h4>John Smith</h4>
<span>Lead Designer, Creative Agency</span>
</div>
</div>
</div>
</section>
<!-- Blog Section -->
<section id="blog">
<div class="container">
<h2>Latest Blog Posts</h2>
<div class="blog-posts">
<article class="blog-post">
<h3><a href="#">Understanding Modern Web Development</a></h3>
<p>A brief overview of the current trends in web development.</p>
</article>
<article class="blog-post">
<h3><a href="#">Design Principles for Effective User Interfaces</a></h3>
<p>How to design user interfaces that are both beautiful and functional.</p>
</article>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact">
<div class="container">
<h2>Contact Me</h2>
<form id="contact-form">
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" name="message" rows="5" required></textarea>
</div>
<button type="submit" class="btn">Send Message</button>
</form>
</div>
</section>
<!-- Lightbox -->
<div id="lightbox" class="lightbox" aria-hidden="true">
<div class="lightbox-content">
<span class="close" aria-label="Close lightbox">×</span>
<img id="lightbox-image" src="" alt="Project Image">
</div>
</div>
<!-- Footer -->
<footer id="footer">
<p>© 2024 Syed Areeb. All Rights Reserved.</p>
<ul class="social-links">
<li><a href="https://facebook.com" class="social-icon" target="_blank" aria-label="Facebook"><i class="fa fa-facebook"></i></a></li>
<li><a href="https://twitter.com" class="social-icon" target="_blank" aria-label="Twitter"><i class="fa fa-twitter"></i></a></li>
<li><a href="https://linkedin.com" class="social-icon" target="_blank" aria-label="LinkedIn"><i class="fa fa-linkedin"></i></a></li>
</ul>
</footer>
<script>
// Preloader
document.addEventListener("DOMContentLoaded", function() {
setTimeout(function() {
document.getElementById('preloader').style.display = 'none';
}, 1500); // Adjust timeout as needed
});
// Mobile Menu Toggle
document.getElementById('menu-toggle').addEventListener('click', function() {
const navLinks = document.querySelector('.nav-links');
navLinks.classList.toggle('active');
this.classList.toggle('active');
});
// Smooth Scroll for Navigation Links
document.querySelectorAll('.nav-links a').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Form Validation and Submission
document.getElementById('contact-form').addEventListener('submit', function(e) {
e.preventDefault();
const name = document.getElementById('name').value.trim();
const email = document.getElementById('email').value.trim();
const message = document.getElementById('message').value.trim();
if (name === "" || email === "" || message === "") {
alert('Please fill in all fields.');
return;
}
// Here you would usually send the form data to a server
// For demo purposes, we'll just log the data
console.log({
name: name,
email: email,
message: message
});
alert('Thank you for your message!');
// Clear form fields
document.getElementById('contact-form').reset();
});
// Lightbox Functionality
function openLightbox(imageSrc) {
const lightbox = document.getElementById('lightbox');
const lightboxImage = document.getElementById('lightbox-image');
lightboxImage.src = imageSrc;
lightbox.style.display = 'flex';
lightbox.setAttribute('aria-hidden', 'false');
}
// Close Lightbox
document.querySelector('.lightbox .close').addEventListener('click', function() {
const lightbox = document.getElementById('lightbox');
lightbox.style.display = 'none';
lightbox.setAttribute('aria-hidden', 'true');
});
// Close Lightbox when clicking outside the image
document.getElementById('lightbox').addEventListener('click', function(e) {
if (e.target === this) {
this.style.display = 'none';
this.setAttribute('aria-hidden', 'true');
}
});
</script>
</body>
</html>