forked from alchemist95/RECursion-Website
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html.erb
More file actions
208 lines (193 loc) · 9.77 KB
/
index.html.erb
File metadata and controls
208 lines (193 loc) · 9.77 KB
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
<% content_for :heading do %>
<a style="text-decoration:none;" href="/">RECursion</a>
<% end %>
<style>
.card-title{
font-size: 14px !important;
}
</style>
<div class="intro-header scrollspy" id="home" >
<div class="row">
<div class="col-lg-12">
<div class="intro-message">
<h1>RECursion</h1>
<hr class="intro-divider">
<h3>Programming Club of NIT Durgapur</h3>
</div>
</div>
</div>
</div>
<div class= "section scrollspy" id="about">
<div class="section no-pad-bot white scrollspy" id="about">
<div class="container">
<h2 >Who are we?</h2>
</div>
<div class="container">
<img class="TextWrap" src="icons/show.jpg">
<p style="line-height: 1.15em;">RECursion NIT Durgapur is an initiative to embolden the budding coding minds through regular Code Classes, robust coding competitions and geeky sessions.<br>
Pioneered by a faction of enthusiasts in 2014, RECursion has continued to evolve ever since. Besides a fancy placement package, we seek to ameliorate participation in programming competitions like ACM ICPC etc. <br>
Our dynamic panel is invariably available to sort any techie doubts and cultivate positivity in you. We intend to create an intriguing ambience where coding is more of a mental sport and after every green tick, the Coder in you gets bigger and wittier. So if you have those bits hovering over your head 24*7, RECursion is your Solution!<Br>
<P align="Center">
<blockquote>
"Coding is a Choice, not a Compulsion.<Br>When you are doing it, just do it with a smile."
</blockquote>
</div>
<div style="text-align: center;">
<a href='/getstarted'><button class="waves-effect waves-light btn">How to Get Started</button></a>
</div>
</div>
</div>
<div class="section no-pad-bot white scrollspy" id="event">
<div class="container">
<h2>Events</h2>
<div class="row">
<div class="col s12">
<ul class="tabs">
<li class="tab col s6"><a class="active" href="#future">Future</a></li>
<li class="tab col s6"><a class="active" href="#past">Past </a></li>
</ul>
</div>
<div id="future" class="col s12">
<div class="row" style="padding-top:5%">
<% @future_events.each do |event| %>
<div class="col-sm-4">
<div class="card">
<div class="card-image waves-effect waves-block waves-light">
<img class="img-responsive activator" src="icons/7.jpg">
</div>
<div class="card-content">
<span style="font-size: 16px" class="card-title activator grey-text text-darken-4"><%= event.title.truncate(22) %><i class="material-icons right" aria-hidden="true">expand_less</i></span>
<p><%= event.start_time.strftime('%b %d, %Y') %></p>
</div>
<div class="card-reveal">
<span class="card-title grey-text text-darken-4"><%= event.title %><i class="material-icons right">close</i></span>
<hr />
<p><%= event.description.truncate(150) %></p>
</div>
</div>
</div>
<% end %>
</div>
</div>
<div id="past" class="col s12">
<div class="row" style="padding-top:5%">
<% @past_events.each do |event| %>
<div class="col-sm-4">
<div class="card">
<div class="card-image">
<img class="img-responsive activator" src="icons/7.jpg">
</div>
<div class="card-content">
<span style="font-size: 16px" class="card-title activator grey-text text-darken-4"><%= event.title.truncate(22) %><i class="material-icons right" aria-hidden="true">expand_less</i></span>
<p><%= event.start_time.strftime('%b %d, %Y') %></p>
</div>
<div class="card-reveal">
<span class="card-title grey-text text-darken-4"><%= event.title %><i class="material-icons right">close</i></span>
<hr />
<p><%= event.description.truncate(150) %></p>
</div>
</div>
</div>
<% end %>
</div>
</div>
</div>
</div>
</div>
<!-- PARALLAX 2 -->
<div class="parallax-container">
<!-- <div class="parallax"><img src="img/7.jpg" width=500px ></div> -->
<div id="owl-ca" class="owl-carousel owl-theme">
<div class="item"><img src="icons/rechase1.jpg" style="max-height: 300px; max-width: 500px;"></div>
<div class="item"><img src="icons/rechase2.jpg" style="max-height: 300px; max-width: 500px;"></div>
<div class="item"><img src="icons/rechase3.jpg" style="max-height: 300px; max-width: 500px;"></div>
<div class="item"><img src="icons/rechase4.jpg" style="max-height: 300px; max-width: 500px;"></div>
<div class="item"><img src="icons/first-yearclass2.jpg" style="max-height: 300px; max-width: 500px;"></div>
<div class="item"><img src="icons/first-yearclass4.jpg" style="height:300px; max-width: 500px;"></div>
<div class="item"><img src="icons/first-yearclass5.jpg" style="max-height: 300px; max-width: 500px;"></div>
<div class="item"><img src="icons/first-yearclass6.jpg" style="max-height: 300px; max-width: 500px;"></div>
</div>
</div>
<div class="section scrollspy" id="team">
<div id="firstPage">
<div class="container">
<h2 class="header text_b" style="color: #212121;"> Our Team </h2>
<div class="row">
<div class="col s12 m4">
<div class="card card-avatar">
<img class="activator" src="/icons/chetan.jpg">
<div class="card-content">
<span class="card-title activator grey-text text-darken-4">Chetan Garg <br/>
<small><em><h6 class="red-text text-darken-1">President</h6></em></small></span>
<a href="https://www.facebook.com/chetan.garg.927" target="_blank">
<i class="fa fa-facebook"></i>
</a>
<a class="tooltipped" data-position="bottom" data-delay="50" data-tooltip="9475616155">
<i class="material-icons">phone</i>
</a>
<a class="tooltipped" data-position="bottom" data-delay="50" data-tooltip="chetangarg1102@gmail.com">
<i class="material-icons">email</i>
</a>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card card-avatar">
<img class=" activator" src="/icons/sourav.jpg">
<div class="card-content">
<span class="card-title activator grey-text text-darken-4">Sourav Agarwal <br/>
<small><em><h6 class="red-text text-darken-1">Treasurer</h6></em></small></span>
<a href="https://www.facebook.com/sourav.agarwal.56829" target="_blank">
<i class="fa fa-facebook"></i>
</a>
<a class="tooltipped" data-position="bottom" data-delay="50" data-tooltip="8981775377">
<i class="material-icons">phone</i>
</a>
<a class="tooltipped" data-position="bottom" data-delay="50" data-tooltip="souravagarwal5377@gmail.com">
<i class="material-icons">email</i>
</a>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card card-avatar">
<div class="card card-avatar">
<img class=" activator" src="/icons/vishvanath.jpg">
<div class="card-content">
<span class="card-title activator grey-text text-darken-4">Vishvanath Dutt Sharma<br/>
<small><em><h6 class="red-text text-darken-1">Convener</h6></em></small>
</span>
<a href="https://www.facebook.com/vishvanath.duttsharma" target="_blank">
<i class="fa fa-facebook"></i>
</a>
<a class="tooltipped" data-position="bottom" data-delay="50" data-tooltip="9005559991">
<i class="material-icons">phone</i>
</a>
<a class="tooltipped" data-position="bottom" data-delay="50" data-tooltip="visitdutt@gmail.com">
<i class="material-icons">email</i>
</a>
</div>
</div>
</div>
</div>
</div>
<div style="text-align: center;">
<a href='/team' class="waves-effect waves-light btn" style="color: #fff;">All</a>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
$('.modal').modal();
$('.modal-trigger').modal();
$("#owl-ca").owlCarousel({
autoPlay: 5000, //Set AutoPlay to 3 seconds
items : 3,
itemsDesktop : [1199,3],
itemsDesktopSmall : [979,3],
slideSpeed: 200,
responsive: true
});
});
</script>