-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathcountingpage.html
364 lines (355 loc) · 11.6 KB
/
countingpage.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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="DALL·E 2024-08-28 12.19.31 - A clean and moderately detailed logo for a Sanskrit education website. T.webp">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>मातृबोधः</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="animations.css">
<link rel="stylesheet" href="scontentcss.css">
<link rel="stylesheet" href="footercss.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
body{
background-image: url('image.png');
background-attachment: fixed;
}
.image-gallery {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
padding: 20px;
margin-top: 150px;
}
.image-container {
margin: 10px;
border: 2px solid rgba(128, 128, 128, 0.5);
box-shadow: 0 0 10px rgba(128, 128, 128, 0.5);
overflow: hidden;
height: 300px;
width: 400px;
border-radius: 10px;
}
.image-container img {
width: 400px;
height: 300px;
object-fit: cover;
display: block;
border-radius: 10px;
}
/*Animation sliders*/
.wrapper{
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.wrapper1{
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.container{
height: 400px;
display: flex;
flex-wrap: nowrap;
justify-content: start;
}
.card{
width: 80px;
border-radius: .75rem;
background-size: cover;
cursor: pointer;
overflow: hidden;
border-radius: 2rem;
margin: 0 10px;
display: flex;
flex-direction: row;
align-items: flex-end;
transition: .6s cubic-bezier(.28,-0.03,0,.99);
box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.8);
}
.card > .row{
color: white;
display: flex;
flex-wrap: nowrap;
}
.card > .row > .icon{
background: #223;
color: white;
border-radius: 50%;
width: 50px;
display: flex;
justify-content: center;
align-items: center;
margin: 15px;
}
input{
display: none;
}
input:checked+label{
width: 700px;
}
input:checked+label .description{
opacity: 1 !important;
transform: translateY(0) !important;
}
.card[for="c1"]{
background-image: url(FOUR.png);
}
.card[for="c2"]{
background-image: url(FOUR.png);
}
.card[for="c3"]{
background-image: url(FOUR.png);
}
.card[for="c4"]{
background-image: url(FOUR.png);
}
.card[for="c5"]{
background-image: url(FOUR.png);
}
.card[for="c6"]{
background-image: url(FOUR.png);
}
.card[for="c7"]{
background-image: url(FOUR.png);
}
.card[for="c8"]{
background-image: url(FOUR.png);
}
.card[for="c9"]{
background-image: url(FOUR.png);
}
.card[for="c10"]{
background-image: url(FOUR.png);
}
</style>
</head>
<body>
<!-- Scroll -->
<div id="scrollButton" class="hidden">
<div class="outer-circle">
<div class="inner-circle">
<div class="arrow">↑</div>
</div>
</div>
</div>
<header>
<nav>
<a href="index.html" class="logo">मातृबोधः</a>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="index.html#wisdom">About</a></li>
<li class="dropdown">
<a href="#">Content</a>
<ul class="dropdown-content">
<li><a href="countingpage.html">Counting</a></li>
<li><a href="#">Days</a></li>
<li><a href="activities.html">Activities</a></li>
<li><a href="feedback.html">Feedback</a></li>
</ul>
</li>
<li><a href="login.html">Login</a></li>
<li><a href="faq.html">FAQ</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
<div class="toggle-menu">☰</div>
</nav>
</header>
<div class="wrapper">
<div class="container">
<input type="radio" name="slide" id="c1">
<label for="c1" class="card">
<div class="row">
<div class="icon">1</div>
</div>
</label>
<input type="radio" name="slide" id="c2">
<label for="c2" class="card">
<div class="row">
<div class="icon">2</div>
</div>
</label>
<input type="radio" name="slide" id="c3" checked>
<label for="c3" class="card">
<div class="row">
<div class="icon">3</div>
</div>
</label>
<input type="radio" name="slide" id="c4">
<label for="c4" class="card">
<div class="row">
<div class="icon">4</div>
</div>
</label>
<input type="radio" name="slide" id="c5">
<label for="c5" class="card">
<div class="row">
<div class="icon">5</div>
</div>
</label>
</div>
</div>
<div class="wrapper1">
<div class="container">
<input type="radio" name="slide" id="c6">
<label for="c6" class="card">
<div class="row">
<div class="icon">6</div>
</div>
</label>
<input type="radio" name="slide" id="c7">
<label for="c7" class="card">
<div class="row">
<div class="icon">7</div>
</div>
</label>
<input type="radio" name="slide" id="c8">
<label for="c8" class="card">
<div class="row">
<div class="icon">8</div>
</div>
</label>
<input type="radio" name="slide" id="c9">
<label for="c9" class="card">
<div class="row">
<div class="icon">9</div>
</div>
</label>
<input type="radio" name="slide" id="c10">
<label for="c10" class="card">
<div class="row">
<div class="icon">10</div>
</div>
</label>
</div>
</div>
<!-- Updated Footer Section -->
<footer class="main-footer">
<div class="footer-content">
<div class="footer-section">
<h3>मातृबोधः</h3>
<p>
Educating children through India's timeless wisdom and cultural
heritage.
</p>
<div class="social-links">
<a
href="https://github.com/Anjaliavv51/Matrubodhah"
target="_blank"
aria-label="Facebook"
><i class="fab fa-facebook"></i
></a>
<a
href="https://github.com/Anjaliavv51/Matrubodhah"
target="_blank"
aria-label="Twitter"
><i class="fab fa-twitter"></i
></a>
<a
href="https://github.com/Anjaliavv51/Matrubodhah"
target="_blank"
aria-label="Instagram"
><i class="fab fa-instagram"></i
></a>
<a
href="https://github.com/Anjaliavv51/Matrubodhah"
target="_blank"
aria-label="YouTube"
><i class="fab fa-youtube"></i
></a>
<a
href="https://github.com/Anjaliavv51/Matrubodhah"
target="_blank"
aria-label="Linkedin"
><i class="fa-brands fa-linkedin-in"></i
></a>
</div>
<!-- GitHub Star Button -->
<div class="github-star">
<a href="https://github.com/Anjaliavv51/Matrubodhah" target="_blank">
<i class="fab fa-github"></i> Star on GitHub
</a>
</div>
</div>
<div class="footer-section">
<h4>Quick Links <div class="underline"><span></span></div></h4>
<ul>
<li><a href="#hero">Home</a></li>
<li><a href="#wisdom">About Us</a></li>
<li><a href="#content">Our Courses</a></li>
<li><a href="#hero">Contact</a></li>
</ul>
</div>
<div class="footer-section">
<h4>Learning Paths <div class="underline"><span></span></div></h4>
<ul>
<li><a href="countingpage.html">Counting</a></li>
<li><a href="#hero">Days</a></li>
<li><a href="#hero">Activities</a></li>
</ul>
</div>
<div class="footer-section">
<h4>Newsletter <div class="underline"><span></span></div></h4>
<form>
<i class="fas fa-envelope"></i>
<input type="email" placeholder="Enter your email id" required>
<button type="submit"><i class="fas fa-arrow-right"></i></button>
</form>
<br>
<h4>Contact Us <div class="underline"><span></span></div></h4>
<ul class="contact-info">
<li>
<i class="fas fa-envelope"></i
><a href="mailto:[email protected]">[email protected]</a>
</li>
<li><i class="fas fa-map-marker-alt"></i><span>India</span></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>
© 2024 मातृबोधः. Made with <span class="heart">❤️</span> by
<a href="https://github.com/Anjaliavv51/Matrubodhah" target="_blank"
>@Sakthi</a>
</p>
</div>
</footer>
<script
src="//code.tidio.co/5w3m6cpl10rvqjkkmhv1nx8p0fqloyq6.js"
async>
</script>
<script src="scrollscript.js"></script>
<script src="audio.js"></script>
<!-- Scroll to Top Button -->
<script>
const scrollButton = document.getElementById('scrollButton');
const outerCircle = document.querySelector('.outer-circle');
const arrow = document.querySelector('.arrow');
// Function to handle scroll behavior
window.addEventListener('scroll', () => {
const scrollTop = window.scrollY;
const scrollHeight = document.documentElement.scrollHeight - window.innerHeight;
const scrollProgress = (scrollTop / scrollHeight) * 360;
// Show button after scrolling 7-8 lines (~100px)
if (scrollTop > 100) {
scrollButton.classList.add('visible');
} else {
scrollButton.classList.remove('visible');
}
// Update the circular progress
outerCircle.style.setProperty('--scroll-progress', `${scrollProgress}deg`);
});
// Scroll-to-top functionality
scrollButton.addEventListener('click', () => {
window.scrollTo({ top: 0, behavior: 'smooth' });
});
</script>
<script src="index.js"></script>
</body>
</html>