Skip to content

Commit d6b537c

Browse files
committed
2 parents f399dda + 8bd10fd commit d6b537c

File tree

6 files changed

+129
-6
lines changed

6 files changed

+129
-6
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: Bug report
33
about: Create a report to help us improve.
44
title: Bug report
5-
labels: bug
65
assignees: ''
76

87
---

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: Feature request
33
about: Suggest an idea for this project
44
title: Feature request
5-
labels: feature
65
assignees: ''
76

87
---

404.html

Lines changed: 64 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@
8989
<main class="mdl-layout__content">
9090
<!-- Custom 404 page -->
9191
<div class="nwoc-content" style="height:calc(100vh - 235px)">
92-
<h3>Error: 404</h3>
92+
<h3><b>Error: 404</b></h3>
9393
<p>Sorry, the page you are looking for does not exist. You can look for it on the <a href="/">homepage</a>.</p>
9494
</div>
95-
95+
<!--
9696
<footer class="mdl-mini-footer">
9797
<div class="nwoc-footer">
9898
<div class="mdl-mini-footer__left-section">
@@ -106,7 +106,69 @@ <h3>Error: 404</h3>
106106
</div>
107107
</div>
108108
</footer>
109+
-->
110+
<footer>
111+
<svg viewBox="0 0 120 28">
112+
<defs>
113+
<filter id="goo">
114+
<feGaussianBlur in="SourceGraphic" stdDeviation="1" result="blur" />
115+
<feColorMatrix in="blur" mode="matrix" values="
116+
1 0 0 0 0
117+
0 1 0 0 0
118+
0 0 1 0 0
119+
0 0 0 13 -9" result="goo" />
120+
<xfeBlend in="SourceGraphic" in2="goo" />
121+
</filter>
122+
<path id="wave"
123+
d="M 0,10 C 30,10 30,15 60,15 90,15 90,10 120,10 150,10 150,15 180,15 210,15 210,10 240,10 v 28 h -240 z" />
124+
</defs>
125+
126+
<use id="wave3" class="wave" xlink:href="#wave" x="0" y="-2"></use>
127+
<use id="wave2" class="wave" xlink:href="#wave" x="0" y="0"></use>
128+
129+
130+
<g class="gooeff" filter="url(#goo)">
131+
<circle class="drop drop1" cx="20" cy="2" r="8.8" />
132+
<circle class="drop drop2" cx="25" cy="2.5" r="7.5" />
133+
<circle class="drop drop3" cx="16" cy="2.8" r="9.2" />
134+
<circle class="drop drop4" cx="18" cy="2" r="8.8" />
135+
<circle class="drop drop5" cx="22" cy="2.5" r="7.5" />
136+
<circle class="drop drop6" cx="26" cy="2.8" r="9.2" />
137+
<circle class="drop drop1" cx="5" cy="4.4" r="8.8" />
138+
<circle class="drop drop2" cx="5" cy="4.1" r="7.5" />
139+
<circle class="drop drop3" cx="8" cy="3.8" r="9.2" />
140+
<circle class="drop drop4" cx="3" cy="4.4" r="8.8" />
141+
<circle class="drop drop5" cx="7" cy="4.1" r="7.5" />
142+
<circle class="drop drop6" cx="10" cy="4.3" r="9.2" />
143+
144+
<circle class="drop drop1" cx="1.2" cy="5.4" r="8.8" />
145+
<circle class="drop drop2" cx="5.2" cy="5.1" r="7.5" />
146+
<circle class="drop drop3" cx="10.2" cy="5.3" r="9.2" />
147+
<circle class="drop drop4" cx="3.2" cy="5.4" r="8.8" />
148+
<circle class="drop drop5" cx="14.2" cy="5.1" r="7.5" />
149+
<circle class="drop drop6" cx="17.2" cy="4.8" r="9.2" />
150+
<use id="wave1" class="wave" xlink:href="#wave" x="0" y="1" />
151+
</g>
152+
<!-- g mask="url(#xxx)">
153+
<path id="wave1" class="wave" d="M 0,10 C 30,10 30,15 60,15 90,15 90,10 120,10 150,10 150,15 180,15 210,15 210,10 240,10 v 28 h -240 z" />
154+
</g>
155+
</g -->
156+
157+
</svg>
158+
<div class="footer-text2">
159+
<div>
160+
© NJACK, IIT Patna 2020
161+
<ul class="footer-contact">
162+
<li><a href="mailto:[email protected]?subject=[NWoC]" target="_blank">[email protected]</a></li>
163+
<li><a href="mailto:[email protected]?subject=[NWoC]" target="_blank">[email protected]</a></li>
164+
<li><a href="https://www.facebook.com/njack.iitp/" target="_blank">Facebook</a></li>
165+
<li><a href="https://twitter.com/njackiitp" target="_blank">Twitter</a></li>
166+
<li><a href="https://github.com/Njack-IITP/" target="_blank">GitHub</a></li>
167+
</ul>
168+
</div>
169+
</div>
109170

171+
</footer>
110172
</main>
111173
</div>
112174
</body>

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<h1> NWoC - NJACK Winter of Code</h1>
22
<img src="nwocLogo.jpg"/>
33

4+
**This repository is the source code of the official website of NJACK Winter of Code, which is deployed live at: https://njackwinterofcode.github.io/**
5+
46
<h2>About Us</h2>
57
<p>NJACK Winter of Code is an initiative by NJACK, IIT Patna, targeted at students who have never participated in <b>Free or Open Source Software (FOSS)</b> development before, as well as at those who have already become an expert in Open Source Development and are currently contributing to projects of any domain, say Web, Mobile, Machine Learning, Blockchain, IoT etc. It also aims to prepare them for bigger programs and opportunities like Google Summer of Code, Outreachy etc.</p>
68

@@ -29,5 +31,4 @@
2931
</ul>
3032

3133

32-
Visit our website <a href="https://njackwinterofcode.github.io/">here</a> .
33-
34+
Contributions are welcome here :tada:

index.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
5757
<link rel="stylesheet" href="/materialjs/material.min.css" />
5858
<link rel="stylesheet" href="style.css" />
59+
5960
<script defer src="/materialjs/material.min.js"></script>
6061
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
6162

@@ -132,6 +133,8 @@
132133
</div>
133134
</div>
134135

136+
<button onclick="topFunction()" id="myBtn" title="Go to top"><i class="fa fa-angle-double-up p-1 font-weight-bold" aria-hidden="true" style="color: black;"></i></button>
137+
135138
<div class="nwoc-content">
136139
<a id="about"></a>
137140
<h3>About</h3>
@@ -520,6 +523,27 @@ <h4>Tell your friends about NWoC</h4>
520523

521524
}());
522525
</script>
526+
<script>
527+
//Get the button
528+
var mybutton = document.getElementById("myBtn");
529+
530+
// When the user scrolls down 20px from the top of the document, show the button
531+
window.onscroll = function() {scrollFunction()};
532+
533+
function scrollFunction() {
534+
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
535+
mybutton.style.display = "block";
536+
} else {
537+
mybutton.style.display = "none";
538+
}
539+
}
540+
541+
// When the user clicks on the button, scroll to the top of the document
542+
function topFunction() {
543+
document.body.scrollTop = 0;
544+
document.documentElement.scrollTop = 0;
545+
}
546+
</script>
523547

524548
<script src="https://cdnjs.cloudflare.com/ajax/libs/tilt.js/1.2.1/tilt.jquery.min.js"></script>
525549
<script>

style.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,37 @@ body {
99
background-color: #cbeef8;
1010
}
1111

12+
html {
13+
scroll-behavior: smooth;
14+
}
15+
16+
#myBtn {
17+
display: none;
18+
position: fixed;
19+
bottom: 20px;
20+
right: 30px;
21+
z-index: 99;
22+
font-size: 25px;
23+
border: none;
24+
outline: none;
25+
background-color: #87CEFA;
26+
color: white;
27+
font-color: blue;
28+
cursor: pointer;
29+
padding: 6px;
30+
border-radius: 50%;
31+
height: 50px;
32+
width: 50px;
33+
}
34+
35+
.fa-angle-double-up {
36+
font-weight: bolder;
37+
}
38+
39+
#myBtn:hover {
40+
background-color: #D3D3D3;
41+
}
42+
1243
p {
1344
font-size: 16px;
1445
}
@@ -103,6 +134,13 @@ a {
103134
}
104135
}
105136

137+
@media screen and (max-width: 961px) {
138+
#myBtn {
139+
bottom: 38px;
140+
right: 20px;
141+
}
142+
}
143+
106144
@media screen and (max-width: 960px) {
107145
.mdl-layout__header-row {
108146
padding: 0 10px 0 20px;

0 commit comments

Comments
 (0)