-
Notifications
You must be signed in to change notification settings - Fork 105
/
Copy pathindex.html
303 lines (273 loc) · 9.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>100 Days 100 Web Projects</title>
<link rel="stylesheet" href="home.css" />
<link rel="icon" href="public/favv.png" type="image/x-icon" />
<meta content="100 Days, 100 Web Projects" property="og:title" />
<meta
content="A collection of 100 web projects from basic to intermediate using html css and js."
property="og:description"
/>
<meta content="/" property="og:url" />
<meta content="https://i.imgur.com/3cztaa9.png" property="og:image" />
<meta content="#c2a3d6" data-react-helmet="true" name="theme-color" />
<meta name="twitter:card" content="summary_large_image" />
<!-- Pushed CSS Code Here and Imported Bulma StyleSheet as well -->
<link rel="stylesheet" href="index.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
/>
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- Navbar -->
<nav
class="navbar is-primary"
role="navigation"
aria-label="main navigation"
>
<div class="navbar-brand">
<a class="navbar-item has-text-weight-bold" href="index.html">
<img src="https://i.pinimg.com/736x/1c/54/f7/1c54f7b06d7723c21afc5035bf88a5ef.jpg"/>
100 DAYS 100 WEB PROJECTS
</a>
<a
role="button"
class="navbar-burger"
aria-label="menu"
aria-expanded="false"
data-target="navbarBasicExample"
>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div class="navbar-menu is-active" id="navbar-menu">
<div class="navbar-end">
<div class="navbar-item">
<div class="buttons">
</div>
</div>
</div>
</div>
</nav>
<style>
nav.navbar {
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
background-color: #1abc9c;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#scrollBtn {
position: fixed;
bottom: 20px; /* Place closer to the bottom */
right: 20px; /* Place closer to the right */
display: none; /* Initially hidden */
background-color: #1abc9c;
color: rgb(247, 242, 242);
border: none;
border-radius: 50%;
padding: 15px;
font-size: 18px;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
z-index: 1000; /* Ensure visibility above other elements */
transition: background-color 0.3s ease, transform 0.3s ease;
}
#scrollBtn:hover {
background-color: #000; /* Change color on hover */
transform: scale(1.2); /* Slightly enlarge */
}
.contributors-btn {
background: linear-gradient(45deg, #10866f, #054135);
color: white;
padding: 10px 20px; /* Adjust padding to make the button rectangular */
font-size: 0.8rem; /* Font size */
font-weight: bold;
text-decoration: none;
border: none;
border-radius: 5px; /* Optional: Rounded corners */
position: absolute;
top: 60px; /* Shifted slightly upwards */
right: 6px;
transition: background 0.3s ease, transform 0.2s ease,
box-shadow 0.3s ease;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
cursor: pointer;
text-align: center;
display: inline-block;
z-index: 10; /* Ensures the button stays on top */
font-family: "Circular Std", "Arial", sans-serif; /* Circular font */
}
.contributors-btn:hover {
background: linear-gradient(45deg, #16a085, #1abc9c);
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.contributors-btn:active {
transform: translateY(0);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#title-heading {
margin-top: 3rem;
margin-bottom: 3rem;
color: white;
}
@media (max-width: 426px) {
#title-heading {
margin-top: 5rem;
margin-bottom: 3rem;
}
}
</style>
<!-- Main Page Starts Here -->
<div class="content" id="projects">
<div class="title is-2 has-text-centered" id="title-heading">
100 Days 100 Web Projects
</div>
<p class="subtitle has-text-centered" style="color: white;">
here are live demos of all the projects
</p>
<div id="search-bar">
<div class="control">
<input
class="input"
type="text"
id="searchInput"
placeholder="Search for projects..."
onkeyup="filterProjects()"
/>
</div>
<div class="control">
<button
id="searchButton"
class="button is-primary mx-4"
onclick="filterProjects()"
>
Go
</button>
</div>
</div>
<div class="links">
<table class="table is-fullwidth is-bordered is-striped is-hoverable">
<thead>
<tr>
<th>Day</th>
<th>Project Name</th>
<th>Demo Link</th>
</tr>
</thead>
<tbody id="tableBody"></tbody>
</table>
</div>
<div id="no-projects" style="display: none">No Projects Found</div>
</div>
<footer class="footer">
<div class="content">
<div class="columns is-vcentered">
<!-- Left Side -->
<div class="column has-text-left">
<div class="heading">
<h2 class="is-size-4">About</h2>
<p>This repository contains 100 web projects from basic to intermediate using HTML, CSS, and JS.</p>
<p>
<strong>
©
<script>
document.write(new Date().getFullYear());
</script>
100 Days, 100 Projects
</strong>
by <a href="#">Dhairya</a> and <a href="#">Contributors</a>.
</p>
</div>
</div>
<!-- Right Side -->
<div class="column">
<div class="heading">
<h2 class="is-size-4">Important Links</h2>
<!-- Social Media Icons -->
<div class="buttons">
<a class="button is-dark is-rounded" href="https://www.instagram.com/dhairyaa__31/" target="_blank" aria-label="Instagram">
<span class="icon">
<i class="fab fa-instagram"></i>
</span>
</a>
<a class="button is-dark is-rounded" href="https://github.com/dhairyagothi/100_days_100_web_project" target="_blank" aria-label="GitHub">
<span class="icon">
<i class="fab fa-github"></i>
</span>
</a>
<a class="button is-dark is-rounded" href="https://www.linkedin.com/in/dhairya-gothi-65945b288/" target="_blank" aria-label="LinkedIn">
<span class="icon">
<i class="fab fa-linkedin"></i>
</span>
</a>
</div>
<!-- Navigation Links -->
<div class="buttons">
<a class="button is-primary is-rounded" href="#">
<span class="icon">
<i class="fas fa-home"></i>
</span>
<span>Home</span>
</a>
<a class="button is-link is-rounded" href="contributors/contributor.html">
<span class="icon">
<i class="fas fa-users"></i>
</span>
<span>Contributors</span>
</a>
</div>
</div>
</div>
</div>
</div>
</footer>
<!-- Top scroll button -->
<button id="scrollBtn" title="Go to top">
<i class="fa-solid fa-arrow-up fa-lg"></i>
</button>
<!-- Pushed JavaScript Code To Here -->
<script src="index.js"></script>
<script src="bulma.js"></script>
<script>
// Get the button element
const scrollBtn = document.getElementById('scrollBtn');
// Show the button when the user scrolls down 100px from the top
window.onscroll = function () {
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
scrollBtn.style.display = "block";
} else {
scrollBtn.style.display = "none";
}
};
// Scroll to the top of the page when the button is clicked
scrollBtn.onclick = function () {
window.scrollTo({
top: 0,
behavior: "smooth"
});
};
</script>
</body>
</html>