-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgallery.php
199 lines (174 loc) · 6.72 KB
/
gallery.php
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
<?php include "_libs/load.php" ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>St.Joseph's MHSS, Ondipudur</title>
<link rel="icon" href="/photos/logo-main.png" type="image/x-icon">
<link rel="stylesheet" href="/css/gallery.css?v=<?php echo time(); ?>">
<link href="https://fonts.googleapis.com/css2?family=Fjalla+One&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
</head>
<body class="gallery">
<?php get_templates('navbar');?>
<?php get_templates('scroll-up');?>
<!-- gallery starts -->
<div class="gallery-text gallery-text-reveal">
<h4>School Gallery</h4>
<p>Tons of Memories carry our Gallery</p>
</div>
<?php get_templates('gal-slider');?>
<section class="gallery-card gallery-card-reveal">
<div class="row mt-5">
<div class="col-md-4">
<div class="card">
<img src="/photos/annualday12.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">Annual Day</h3>
<p class="card-text">2023</p>
<a href="gal-annual.php" class="btn btn-primary">More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="photos/sportsday20.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">Sports Day</h3>
<p class="card-text">2023</p>
<a href="gal-sports.php" class="btn btn-primary">More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="photos/indday1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">Independence Day</h3>
<p class="card-text">2023</p>
<a href="gal-independence.php" class="btn btn-primary">More</a>
</div>
</div>
</div>
</section>
<!-- sec -2 -->
<section class="gallery-card gallery-card-reveal2">
<div class="row mt-5">
<div class="col-md-4">
<div class="card">
<img src="photos/childday1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">Children's Day</h3>
<p class="card-text">2023</p>
<a href="gal-children.php" class="btn btn-primary">More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="photos/teachday1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">Teachers Day</h3>
<p class="card-text">2023</p>
<a href="gal-teacher.php" class="btn btn-primary">More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="photos/expressday20.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">Expressionz Day</h3>
<p class="card-text">2023</p>
<a href="gal-expressionz.php" class="btn btn-primary">More</a>
</div>
</div>
</div>
</section>
<!-- sec-3 -->
<section class="gallery-card gallery-card-reveal3">
<div class="row mt-5">
<div class="col-md-4">
<div class="card">
<img src="photos/expo1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">Science Expo</h3>
<p class="card-text">2023</p>
<a href="gal-expo.php" class="btn btn-primary">More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="photos/gradday1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">KG Graduation</h3>
<p class="card-text">2023</p>
<a href="gal-grad.php" class="btn btn-primary">More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="photos/alumni1.png" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">Alumni</h3>
<p class="card-text">2023</p>
<a href="gal-alumni.php" class="btn btn-primary">More</a>
</div>
</div>
</div>
</section>
<section class="gallery-card gallery-card-reveal3">
<div class="row mt-5">
<div class="col-md-4">
<div class="card">
<img src="photos/spach14.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">Sports Achivements</h3>
<p class="card-text">2023</p>
<a href="gal-spach.php" class="btn btn-primary">More</a>
</div>
</div>
</div>
<!-- <div class="col-md-4">
<div class="card">
<img src="photos/inf-2.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">KG Graduation</h3>
<p class="card-text">2023</p>
<a href="academics.html" class="btn btn-primary">More</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="photos/inf-3.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h3 class="card-title">Alumni</h3>
<p class="card-text">2023</p>
<a href="academics.html" class="btn btn-primary">More</a>
</div>
</div>
</div> -->
</section>
<?php get_templates('footer');?>
<script>
window.addEventListener('DOMContentLoaded', reveal);
window.addEventListener('scroll', reveal);
function reveal() {
var reveals = document.querySelectorAll('.gallery-carousel-reveal,.gallery-card-reveal,.gallery-text-reveal,.gallery-card-reveal2,.gallery-card-reveal3,.gallery-card-reveal4,.gallery-card-reveal5');
var windowHeight = window.innerHeight;
var revealPoint = 150;
reveals.forEach(function(revealElement) {
var revealTop = revealElement.getBoundingClientRect().top;
if (revealTop < windowHeight - revealPoint) {
revealElement.classList.add('active');
} else {
revealElement.classList.remove('active');
}
});
}
</script>
</body>
</html>