-
Notifications
You must be signed in to change notification settings - Fork 5
/
home.html
283 lines (256 loc) · 11.3 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-177345647-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-177345647-1');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pentaprism | The Photography Club of IIIT-H</title>
<link rel="stylesheet" href="res/styles/style.css">
<link rel="stylesheet" href="res/styles/home.css">
<link rel="stylesheet" href="res/styles/bootstrap.min.css">
<link rel="shortcut icon" href="res/images/pentaprism_logo_icon.png">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
</head>
<body>
<div id="main-wrapper">
<!-- NAVBAR BEGIN -->
<nav id="navbar" class="navbar m-3 shadow-lg fixed-top navbar-expand-lg navbar-light">
<a class="navbar-brand m-0 pl-2" href="./home.html"><img src="res/images/logo_animated.gif"
style="width: 80px; max-width:15%"> <img src="res/images/pentaprism_logo_text.png"
style="width: 200px; max-width:50%"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item active px-4">
<a class="nav-link" href="#">home</a>
</li>
<li class="nav-item px-4">
<a class="nav-link" href="./activities.html">activities</a>
</li>
<li class="nav-item px-4">
<a class="nav-link" href="./events.html">events</a>
</li>
<li class="nav-item px-4">
<a class="nav-link" href="./team.html">our team</a>
</li>
</ul>
</div>
</nav>
<!-- NAVBAR END -->
<!-- PAGE-1 BEGIN -->
<div id="page1" class="row page m-0">
<div class="col">
<div class="mx-auto my-auto container-fluid">
<div>
<h1>Pentaprism</h1>
<h3>The Photography Club of IIIT Hyderabad</h3>
</div>
</div>
</div>
</div>
<!-- PAGE-1 END -->
<!-- PAGE-2 BEGIN -->
<div id="page2" class="row page px-0 pt-5 pb-5 m-0">
<div class="mb-5 mx-auto">
<div id="left-section" class="section container shadow-lg p-5 ml-0 my-4">
<h1>recent events</h1>
<br />
<div class="mt-2 mb-3 p-0 shadow-lg">
<div class="m-0 p-4"
style="background-color: rgba(255, 255, 255, 0.7); height: 100%; width: 100%; border-radius: 6px;">
<span class="event-heading h3">IIIT Hyderabad Campus Tour 2020</span>
<span> | Sept 2020</span>
<div class="mx-auto my-4"
style="position:relative;padding-bottom:56.25%;z-index: 100; width: 80%; height: auto;">
<iframe
style="display:block; width: 100%; height: 100%; position:absolute;left:0px;top:0px; border-radius: 6px;"
class="shadow-lg" src="https://www.youtube.com/embed/50QaGauEoHk" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
</div>
</div>
<div class="event-card mt-2 mb-3 p-0 shadow-lg"
style="background-image: url('./res/images/events/flatlay-banner.png'); background-size: cover; background-position: center;">
<div class="m-0 p-4"
style="background-color: rgba(255, 255, 255, 0.8); height: 100%; width: 100%; border-radius: 6px;">
<span class="event-heading h3">Flatlay</span>
<span> | August 2020</span>
<p class="mt-2 mb-0">A contest to explore a type of photography known as "Flatlay" or
"Birds-eye view" photography. <a href="./events.html#event-flatlay">Read More</a></p>
</div>
</div>
<!-- <div class="event-card mt-2 mb-3 p-0 shadow-lg"
style="background-image: url('./res/images/events/swachitra-banner.jpg'); background-size: cover; background-position: center;">
<div class="m-0 p-4"
style="background-color: rgba(255, 255, 255, 0.9); height: 100%; width: 100%; border-radius: 6px;">
<span class="event-heading h3">Swachitra</span>
<span> | August 2020</span>
<p class="mt-2 mb-0">A collaboration between Pentaprism and The Art Society on the occasion
of India's 73rd
Independance day. <a href="./events.html#event-swachitra">Read More</a></p>
</div>
</div> -->
<!-- <div class="event-card mt-2 mb-3 p-0 shadow-lg"
style="background-image: url('./res/images/events/witchplease-banner.png'); background-size: cover; background-position: center;">
<div class="m-0 p-4"
style="background-color: rgba(255, 255, 255, 0.9); height: 100%; width: 100%; border-radius: 6px;">
<span class="event-heading h3">Witch Please</span>
<span> | July 2020</span>
<p class="mt-2 mb-0">A collaboration between Pentaprism and Lit club on the occasion of
Harry Potter's 40th
birthday. <a href="./events.html#event-witchplease">Read More</a></p>
</div>
</div> -->
<div class="event-card mt-2 mb-3 p-0 shadow-lg"
style="background-image: url('./res/images/lens-490806.jpg'); background-size: cover; background-position: center;">
<div class="m-0 p-4"
style="background-color: rgba(255, 255, 255, 0.8); height: 100%; width: 100%; border-radius: 6px;">
<span class="event-heading h3">Creative Eye Contest</span>
<span> | Every Month</span>
<p class="mt-2 mb-0">A monthly contest in which we select few of the best pics posted on the
Creative Eye group and put them up for a poll. The photographer whose picture wins gets
exciting prizes. <a href="./events.html#event-creativeEyeContest">Read More</a></p>
</div>
</div>
</div>
</div>
<!-- <div class="col-xl-6 pl-4 pr-0 mb-5">
<div id="right-section" class="section container shadow-lg py-5 px-4 my-4 mr-0">
<h1>contest poll. </h1>
<br />
<iframe id="fbpoll"
src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fphotography.iiith%2Fposts%2F3015876265179984&show_text=true&width=500"
class="mx-auto mt-2" style="overflow: scroll; border-radius: 8px;" scrolling="auto"
frameborder="0" allowTransparency="true" allow="encrypted-media"></iframe>
</div>
</div> -->
</div>
<!-- PAGE-2 END -->
<!-- PAGE-3 BEGIN -->
<div id="page3" class="row p-0 m-0">
<h1 class="h1 heading m-0 py-3">Creative Eye: Previous Contest Winners</h1>
<div class="col-12 m-0 p-0">
<div class="carousel slide" id="ceye-past-carousel" data-ride="carousel">
<ol class="carousel-indicators">
<!-- <li data-target="#ceye-past-carousel" data-slide-to="0" class="active"></li>
<li data-target="#ceye-past-carousel" data-slide-to="1"></li>
<li data-target="#ceye-past-carousel" data-slide-to="2"></li>
<li data-target="#ceye-past-carousel" data-slide-to="3"></li>
<li data-target="#ceye-past-carousel" data-slide-to="4"></li>
<li data-target="#ceye-past-carousel" data-slide-to="5"></li> -->
</ol>
<div class="carousel-inner">
<!-- <div class="carousel-item active" id="img6">
<div class="carousel-caption d-none d-md-block">
<h2>"There is no light at the end of the tunnel. There is only you. You are the light."</h2>
<h3>by Brijesh Singh</h3>
<p>Month: August'20</p>
</div>
</div>
<div class="carousel-item" id="img5">
<div class="carousel-caption d-none d-md-block">
<h2>"Even the Darkest Night will End and the Sun will Rise.. "</h2>
<h3>by Jalpreet Singh Nanda</h3>
<p>Month: July'20</p>
</div>
</div>
<div class="carousel-item" id="img4">
<div class="carousel-caption d-none d-md-block">
<h2>"Batu Caves, Malaysia"</h2>
<h3>by Meher Shashwat Nigam</h3>
<p>Month: June'20</p>
</div>
</div>
<div class="carousel-item" id="img3">
<div class="carousel-caption d-none d-md-block">
<h2>"Visitor"</h2>
<h3>by Indranil Pradhan</h3>
<p>Month: May'20</p>
</div>
</div>
<div class="carousel-item" id="img2">
<div class="carousel-caption d-none d-md-block">
<h2>"Ranges and Ganges"</h2>
<h3>by Shivam Bansal</h3>
<p>Month: April'20</p>
</div>
</div>
<div class="carousel-item" id="img1">
<div class="carousel-caption d-none d-md-block">
<h2>"DJ Night @Felicity2020"</h2>
<h3>by Sai Vineesh C</h3>
<p>Month: March'20</p>
</div>
</div> -->
</div>
<script src="imageDetails.js"></script>
<script>
// Adding carousel indicators
let carouselIndicators = document.getElementsByClassName("carousel-indicators")[0];
let numItems = imageDetails.length;
for (let i = 0; i < numItems; i++) {
let indicator = document.createElement("li");
indicator.setAttribute("data-target", "#ceye-past-carousel");
indicator.setAttribute("data-slide-to", String(i));
if (i == 0)
indicator.className = "active";
carouselIndicators.appendChild(indicator);
}
// Adding carousel items
let carouselItems = document.getElementsByClassName("carousel-inner")[0];
for (let i = 0; i < numItems; i++) {
let item = document.createElement("div");
if (i == 0)
item.className = "carousel-item active";
else
item.className = "carousel-item";
item.style.backgroundImage = "url('" + imageDetails[i].url + "')";
let caption = document.createElement("h2");
let ct = document.createTextNode('"' + imageDetails[i].caption + '"')
caption.appendChild(ct);
let author = document.createElement("h3");
let at = document.createTextNode("by " + imageDetails[i].author);
author.appendChild(at);
let month = document.createElement("p");
let mt = document.createTextNode("Month: " + imageDetails[i].month);
month.appendChild(mt);
let subitem = document.createElement("div");
subitem. className = "carousel-caption d-none d-md-block";
subitem.appendChild(caption);
subitem.appendChild(author);
subitem.appendChild(month);
item.appendChild(subitem);
carouselItems.appendChild(item);
}
</script>
<a href="#ceye-past-carousel" class="carousel-control-prev" data-slide="prev">
<span class="carousel-control-prev-icon"></span>
<span class="sr-only" aria-hidden="true">Prev</span>
</a>
<a href="#ceye-past-carousel" class="carousel-control-next" data-slide="next">
<span class="carousel-control-next-icon"></span>
<span class="sr-only" aria-hidden="true">Next</span>
</a>
</div>
</div>
<h1 class="heading m-0 py-2"> </h1>
</div>
</div>
<!-- PAGE-3 END -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="res/scripts/navhide.js"></script>
</body>
</html>