forked from aslams2020/Stark-Tech-Portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
309 lines (268 loc) · 14.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stark Tech Portfolio</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="website icon" href="/assets/logo/icon.png">
<link rel="icon" href="https://images.wallpapersden.com/image/download/marvel-iron-man-art_68122_2160x3840.jpg" type="image/png">
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<style>
/* Circle styles */
.circle {
height: 24px;
width: 24px;
border-radius: 24px;
background-color: black;
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999999;
/* Stays on top of all elements */
}
</style>
</head>
<body>
<!-- Circles -->
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div id="progress-container">
<div id="progress-bar"></div>
</div>
<nav class="navbar h-nav background">
<ul class="nav-list visibility">
<div class="logo" id="ironmask" ><a href="/index.html"><img src="assets\logo\icon.png" alt="logo" srcset=""></a></div>
<li> <a href="#home" class="active" onclick="scrollToSection(event, 'home')" >Home</a></li>
<li> <a href="#about" onclick="scrollToSection(event, 'about')">About</a></li>
<li> <a href="Appearances.html">Appearances</a></li>
<li> <a href="Comics.html">Comics</a></li>
<li> <a href="#contact">Contact</a></li>
</ul>
<div class="rightNav visibility">
<form class="search-bar">
<input type="text" id="search-bar" name="search" placeholder="Search the website">
<button type="submit"><i class="fa-solid fa-magnifying-glass"></i></button>
</form>
</div>
<div class="burger">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</nav>
<section class="background1 firstSection" id="home">
<div class="box-main">
<div class="firstHalf DoAnimation">
<img id="img" class="ironman-illustration" src="assets/ironman_illustration.png" alt="Ironman Illustration">
</div>
<div class="secondHalf">
<h1 class="txt-big">Who is Ironman?</h1>
<p class="txt-small">
Iron Man is a superhero appearing in American comic books published by Marvel Comics. The character was co-created by writer and editor Stan Lee, developed by scripter Larry Lieber, and designed by artists Don Heck and Jack Kirby. The character made his first appearance in Tales of Suspense and received his own title in Iron Man. In 1963, the character founded the Avengers superhero team with Thor, Ant-Man, Wasp, and the Hulk.
</p>
<div class="buttons">
<button class="btn btn-invert" onclick="window.location.href='movies.html'">Movies</button>
<button class="btn btn-transparent " onclick="window.location.href='videos.html'" target="_blank">Watch Video</button>
</div>
</div>
</div>
</section>
<section class="sec">
<section class="section" id="about">
<div class="paras" data-aos="fade-up-right">
<p class="sectionTag text-big" >Which Cinematic Universe Does He Belong?</p>
<p class="sectionSubTag text-small"><strong>Iron Man (real name Anthony Edward "Tony" Stark) is a superhero from Marvel Comics and the Marvel Cinematic Universe, first appearing in the 2008 film Iron Man. He is also one of the protagonists of the TV series The Avengers: Earth's Mightiest Heroes and Avengers Assemble.</strong>
<br>The Marvel Cinematic Universe (MCU) is an American media franchise and shared universe centered on a series of superhero films produced by Marvel Studios. The films are based on characters that appear in American comic books published by Marvel Comics.Marvel Studios releases its films in groups called "Phases", with the first three phases collectively known as "The Infinity Saga" and the following three phases as "The Multiverse Saga". </p>
</div>
<div class="thumbnail">
<img data-aos="fade-up-left" src="./assets/marvel.jpg" alt="Tony" class="imgFluid">
</div>
</section>
<section class="section left" id="services">
<div class="paras paraRight" data-aos="fade-up-left">
<p class="sectionTag text-big">Tony Stark</p>
<p class="sectionSubTag text-small">Tony Stark is a genius, billionaire, and philanthropist. He not only invented the Iron Man Armor, but wears the suit himself. He is a resourceful co-leader and one of the founding members of the Avengers. He is the CEO of Stark Industries, which once sold highly sophisticated weapons systems technologies to the government defense organizations such as S.H.I.E.L.D. who uses them to maintain peace and order, but has pulled his company away from the weapons business once he saw the damage they caused.Combining their genius, Tony and Yinsen built a mighty suit of iron armor that would be dubbed Iron Man. This first suit left a lot of room for improvement, but it still did what Tony couldn’t do <br></alone> <strong>"My armor, it was never a distraction or a hobby, it was a cocoon. And now, I'm a changed man. You can take away my house, all my tricks and toys. But one thing you can't take away... I am Iron Man."
―Tony Stark</strong></p>
<a href="variants.html" target="_blank">VARIANTS</a>
</div>
<div class="thumbnail">
<img data-aos="fade-up-right" src="./assets/tony2.jpg" alt="Tony" class="imgFluid">
</div>
</section>
<section class="section" id="services">
<div class="paras" data-aos="fade-up-right">
<p class="sectionTag text-big">Robert Downey Jr</p>
<p class="sectionSubTag text-small">Robert John Downey Jr. (born April 4, 1965) is an American actor and producer. His career has been characterized by critical and popular success in his youth, followed by a period of substance abuse and legal troubles, before a resurgence of commercial success later in his career. <br> RDJ gained global recognition for starring as Tony Stark/Iron Man in ten films within the Marvel Cinematic Universe, beginning with Iron Man (2008), and leading up to Avengers: Endgame (2019). He has also played the title character in Guy Ritchie's Sherlock Holmes (2009), which earned him his second Golden Globe, and its sequel, Sherlock Holmes: A Game of Shadows (2011). <br> <strong>Robert Downey Jr. has evolved into one of the most respected actors in Hollywood. With an amazing list of credits to his name, he has managed to stay new and fresh even after over four decades in the business. </strong>
</p>
</div>
<div class="thumbnail">
<img src="./assets/robert.jpg" data-aos="fade-up-left" alt="Tony" class="imgFluid">
</div>
</section>
<section class="contact" id="contact" >
<h2 class="text-center" >Contact Us</h2>
<p>Want to get in touch? We'd love to hear from you. Here's how you can reach us.</p>
<div class="form">
<input type="text" name="name" id="name" placeholder="Name">
<input type="number" name="phone" id="name" placeholder="Phone number">
<input type="email" name="email" id="name" placeholder="Email - Id">
<button class="btn submit-btn">Submit</button>
</div>
</section>
</section>
<div class="footer-list">
<h3>Follow Us On</h3>
<ul class="social-icons">
<li><a href="https://github.com" target="_blank" style="color: white; font-size: 18px;"><i class="fab fa-github"></i></a></li>
<li><a href="https://instagram.com" target="_blank" style="color: white; font-size: 18px; margin-bottom:20px;"><i class="fab fa-instagram"></i></a></li>
<li><a href="https://x.com" target="_blank" style="color: white; font-size: 18px;"><i class="fa-brands fa-x-twitter"></i></a></li>
<li><a href="https://facebook.com" target="_blank" style="color: white;font-size: 18px;"><i class="fab fa-facebook"></i></a></li>
<li><a href="https://linkedin.com" target="_blank" style="color: white; font-size: 18px;"><i class="fab fa-linkedin"></i></a></li>
</ul>
</div>
<footer class="background">
<p class="text-footer">
© Copyright <span id="year"></span>- All Rights Reserved
- Made With ❤️ by <span><a class="mygithub" href="https://github.com/aslams2020">Aslam Sayyad</a></span>
</p>
<button id="BacktoTop">
<div class="circle1">
<svg id="back-to-top" xmlns="http://www.w3.org/2000/svg" width="30" height="30" fill="currentColor" class="bi bi-arrow-up-circle-fill" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 0 0 8a8 8 0 0 0 16 0m-7.5 3.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707z"></path>
</svg>
</div>
</button>
</footer>
<script>
/* Back to Top Button */
const scrollToTopBtn = document.getElementById("BacktoTop");
window.onscroll = function() {
scrollFunction();
};
function scrollFunction() {
if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) {
scrollToTopBtn.style.visibility = 'visible';
scrollToTopBtn.style.opacity = '1';
} else {
scrollToTopBtn.style.visibility = 'hidden';
scrollToTopBtn.style.opacity = '0';
}
}
scrollToTopBtn.addEventListener("click", function() {
// Smooth scroll back to top
window.scrollTo({ top: 0, behavior: 'smooth' });
});
</script>
<script>
window.addEventListener('scroll', function() {
const winScroll = document.body.scrollTop || document.documentElement.scrollTop;
const height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
const scrolled = (winScroll / height) * 100;
document.getElementById('progress-bar').style.width = scrolled + '%';
});
</script>
<!-- form name -->
<script>
function validateText(input) {
const errorMessage = document.getElementById('error-message');
const invalidChars = /[^a-zA-Z\s]/g;
if (invalidChars.test(input.value)) {
errorMessage.style.display = 'inline';
} else {
errorMessage.style.display = 'none';
}
input.value = input.value.replace(invalidChars, '');
}
</script>
<script src="./Js/script.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script>
AOS.init();
</script>
<!-- adding automatic focus of cursor -->
<script>
window.onload = function() {
document.getElementById('search-bar').focus();
};
</script>
<!-- making the about section clealy visible when "about" or "home" is clicked -->
<script>
function scrollToSection(event, sectionId) {
event.preventDefault();
const section = document.getElementById(sectionId);
const navbarHeight = 85; // Fixed navbar height
window.scrollTo({
top: section.offsetTop - navbarHeight,
behavior: 'smooth'
});
}
</script>
<script>
// Coordinates for the cursor
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
// Colors for the circles
const colors = [
"#ffb56b", "#fdaf69", "#f89d63", "#f59761", "#ef865e", "#ec805d",
"#e36e5c", "#df685c", "#d5585c", "#d1525c", "#c5415d", "#c03b5d",
"#b22c5e", "#ac265e", "#9c155f", "#950f5f", "#830060", "#7c0060",
"#680060", "#60005f", "#48005f", "#3d005e"
];
// Assign colors and initial position to each circle
circles.forEach(function (circle, index) {
circle.x = 0;
circle.y = 0;
circle.style.backgroundColor = colors[index % colors.length];
});
// Update the coordinates when the mouse moves
window.addEventListener("mousemove", function (e) {
coords.x = e.clientX;
coords.y = e.clientY;
});
// Animation function to move the circles
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
// Update the position and scale of each circle
circle.style.left = x - 12 + "px";
circle.style.top = y - 12 + "px";
circle.style.scale = (circles.length - index) / circles.length;
circle.x = x;
circle.y = y;
// Get the next circle in the sequence
const nextCircle = circles[index + 1] || circles[0];
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
// Repeat the animation
requestAnimationFrame(animateCircles);
}
// Start the animation
animateCircles();
</script>
</body>
</html>