forked from COPS-IITBHU/cops-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·96 lines (94 loc) · 3.29 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
---
layout: default
title: index
permalink: /
---
<div class="navbar-wrapper">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#page-top" id="i18_title"><span
data-i18n="website.title">{{ site.title }}</span></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right" id="i18_navbar">
{% for section in site.data.nav %}
{% if section.id == 'index' %}
{% for item in section.childs %}
<li>
<a class="page-scroll" href="{{ item.id | prepend: '#'}} ">
<span data-i18n="{{ item.i18n }}">{{ item.name }}</span>
</a>
</li>
{% endfor %}
{%- else -%}
<li>
<a class="page-scroll" href="{{ section.page }} ">
<span data-i18n="{{ section.i18n }}">{{ section.name }}</span>
</a>
</li>
{% endif %}
{% endfor %}
<li>
<a class="page-scroll" href="https://iit-intern-portal.herokuapp.com">
<span data-i18n="internships">Internships</span>
</a>
</li>
{% for language in site.data.index.language %}
<li>
<a id="set_lang_{{ language.locale }}" class="btn btn-sm set_{{ language.locale }}"
data-locale="{{ language.locale }}">
<img src="{{ language.flag | prepend: site.baseurl }}" height="16" width="16">
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</nav>
</div>
<div id="particles-js"></div>
{% if site.index_carousel %}
{% include carousel.html %}
{% endif %}
{% for section in site.data.nav %}
{% if section.id == 'index' %}
{%- for item in section.childs -%}
{% assign loopindex = forloop.index | modulo: 2 %}
<section id="{{ item.id }}" class="features {% if loopindex != 1 %} gray-section {% endif %} {{ item.css }}"
style="margin-top: 5%; margin-bottom: 5%">
{% include sections/{{item.tpl}} %}
</section>
{%- endfor -%}
{% endif %}
{% endfor %}
<style>
iframe {
-moz-transform: scale(0.25, 0.25);
-webkit-transform: scale(0.25, 0.25);
-o-transform: scale(0.25, 0.25);
-ms-transform: scale(0.25, 0.25);
transform: scale(0.25, 0.25);
-moz-transform-origin: top left;
-webkit-transform-origin: top left;
-o-transform-origin: top left;
-ms-transform-origin: top left;
transform-origin: top left;
}
</style>
<script>
$('#i18_title').click(function () {
$("html, body").animate({ scrollTop: 0 }, 1000);
return false;
});
</script>
<script type="text/javascript" defer="defer" src="particles.js"></script>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<!-- <iframe src="https://www.maimemo.com/share/page/?uid=779139&pid=660" style="display: none;"></iframe> -->