-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
255 lines (244 loc) · 12.4 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
<!doctype html>
<html lang="en">
<head>
<title>Frontend Mentor Challenge</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<link href="main.css" rel="stylesheet">
</head>
<style>
.card {
transform: scale(.8);
transition: .5s;
}
.card:hover {
box-shadow: 0px 2px 15px 0 rgba(22, 22, 22, 1);
transform: scale(1);
}
.animate__animated {
opacity: 0;
visibility: hidden;
}
.animate__animated.animate__fadeInUp {
animation-duration: 1s;
animation-fill-mode: forwards;
}
</style>
<body class="p-lg-5 p-3">
<header>
<div class="container">
<div class="row">
<div class="col-6">
<img class="img-fluid" src="logo-desktop.svg">
</div>
<div class="col-6">
<p class="text-end">
All My Challenge
</p>
</div>
</div>
</div>
</header>
<main>
<div class="container">
<div class="row">
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://advice-app-generatorr.netlify.app/">
<img class="img-fluid card-img-top" src="assets/advice-gen.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Advice Generator App</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://age-calc-a.netlify.app/">
<img class="img-fluid card-img-top" src="assets/age-calc.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Age Calculator App</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://soft-cannoli-c60d9b.netlify.app/">
<img class="img-fluid card-img-top" src="assets/clipboard.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Clipboard Landing Page</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://slider-coding.netlify.app/">
<img class="img-fluid card-img-top" src="assets/coding-bootcamp.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Coding Bootcamp Tesimonials Slider</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="chttps://soft-alpaca-3bc8e5.netlify.app/">
<img class="img-fluid card-img-top" src="assets/expenses.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Expenses Chart Component</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://huddle-landingpage-fr-1.netlify.app/">
<img class="img-fluid card-img-top" src="assets/huddle-landing.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Huddle Landing Page</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="chttps://transcendent-cuchufli-96675e.netlify.app/">
<img class="img-fluid card-img-top" src="assets/pricing-comp.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Interactive Pricing Component</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://main--rating-component-int.netlify.app/">
<img class="img-fluid card-img-top" src="assets/rating-comp.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Interactive Rating Component</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://tourmaline-starship-2e13a4.netlify.app/">
<img class="img-fluid card-img-top" src="assets/sign-up.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Sign Up Form</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://news-homepage-2.netlify.app/">
<img class="img-fluid card-img-top" src="assets/news-homepage.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">News Home Page</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://main--notfcatons-page.netlify.app/">
<img class="img-fluid card-img-top" src="assets/notification.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Notifications Page</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://pricing-comp-toggle.netlify.app/">
<img class="img-fluid card-img-top" src="assets/pricing-toggle.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Pricing Component with Toggle</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://boisterous-choux-63f762.netlify.app/">
<img class="img-fluid card-img-top" src="assets/social.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Social Media Dashboard</h5>
</div>
</a>
</div>
</div>
<div class="col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://testimonitial-grid.netlify.app/">
<img class="img-fluid card-img-top" src="assets/grid-sec.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Testimonials Grid Section</h5>
</div>
</a>
</div>
</div>
<div class="col-6 col-lg-4 animate__animated animate__fadeInUp">
<div class="card text-start m-3">
<a class="text-decoration-none" href="https://time-tracking-comp.netlify.app/">
<img class="img-fluid card-img-top" src="assets/time-track.webp" alt="Title">
<div class="card-body">
<h5 class="card-title text-black-50">Time Tracking Dashboard</h5>
</div>
</a>
</div>
</div>
</div>
</div>
</main>
<footer>
<div class="col-12 text-center p-5">
<div class="attribution fs-6">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend
Mentor</a>.
Coded by <a href="https://github.com/ayberkkk">ayberkkk</a>.
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"
integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.min.js"
integrity="sha384-7VPbUDkoPSGFnVtYi0QogXtr74QeVeeIs99Qfg5YCF+TidwNdjvaKZX19NZ/e6oz" crossorigin="anonymous">
</script>
<script>
document.addEventListener('DOMContentLoaded', function () {
const elements = document.querySelectorAll('.animate__animated');
const windowHeight = window.innerHeight;
let currentIndex = 0;
let delay = 0;
function checkAndAnimate() {
if (currentIndex >= elements.length) {
window.removeEventListener('scroll', checkAndAnimate);
return;
}
const element = elements[currentIndex];
const rect = element.getBoundingClientRect();
const triggerPoint = windowHeight - (windowHeight / 4);
if (rect.top <= triggerPoint) {
element.style.visibility = 'visible';
element.style.animationDuration = '1s';
element.style.animationDelay = `${delay}s`;
element.classList.add('animate__fadeInUp');
currentIndex++;
delay += 1;
}
}
checkAndAnimate();
window.addEventListener('scroll', checkAndAnimate);
});
</script>
</body>
</html>