Skip to content

Commit 90da02c

Browse files
committed
added social links
1 parent b2819f4 commit 90da02c

File tree

9 files changed

+53
-31
lines changed

9 files changed

+53
-31
lines changed

dist/index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
<div class="image"></div>
1717
<div class="typewriter" id="typewriter"></div>
1818
<div class="links">
19-
<div class="link-wrap">
19+
<a class="link-wrap" href="https://www.linkedin.com/in/nidhin-joseph-225b49a3/" target="_blank">
20+
<i class="fab fa-linkedin"></i>
21+
</a>
22+
<a class="link-wrap" href="https://github.com/nj-coder" target="_blank">
23+
<i class="fab fa-github"></i>
24+
</a>
25+
<a class="link-wrap" href="https://stackoverflow.com/users/3289660/nidhin-joseph" target="_blank">
2026
<i class="fab fa-stack-overflow"></i>
21-
</div>
22-
<div class="link-wrap">
23-
<i class="fab fa-stack-overflow"></i>
24-
</div>
25-
<div class="link-wrap">
26-
<i class="fab fa-stack-overflow"></i>
27-
</div>
28-
<div class="link-wrap">
29-
<i class="fab fa-stack-overflow"></i>
30-
</div>
27+
</a>
28+
<a class="link-wrap" href="https://www.facebook.com/nidhin.joseph.1992" target="_blank">
29+
<i class="fab fa-facebook-square"></i>
30+
</a>
3131
</div>
3232
</div>
3333
<script src="script.min.js" type="text/javascript"></script>

dist/script.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/script.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/style.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,22 @@ body {
3939
.container .links {
4040
position: fixed;
4141
width: 100%;
42-
bottom: 0;
42+
bottom: -50px;
4343
padding: 1em;
4444
text-align: center;
4545
display: flex;
4646
flex-flow: row;
47-
justify-content: center; }
47+
justify-content: center;
48+
transition: all 0.5s; }
4849
.container .links .link-wrap {
4950
padding: 0.5em 1em;
50-
background: rgba(0, 0, 0, 0.1);
51+
background: rgba(0, 0, 0, 0.2);
52+
color: #fff;
5153
border-radius: 7px;
52-
margin-right: 1em; }
54+
margin-right: 1em;
55+
transition: all 0.2s; }
5356
.container .links .link-wrap:last-child {
5457
margin: 0; }
58+
.container .links .link-wrap:hover {
59+
transform: scale(1.2);
60+
background: rgba(0, 0, 0, 0.4); }

dist/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ gulp.task('styles', function () {
2525
// build js
2626
gulp.task('scripts', function () {
2727
return gulp.src(['./src/libs/**/*.js', './src/main.js'])
28-
//.pipe(babel())
28+
// .pipe(babel())
2929
.pipe(concat('script.js'))
3030
.pipe(gulp.dest('dist'))
3131
.pipe(rename('script.min.js'))

src/index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
<div class="image"></div>
1717
<div class="typewriter" id="typewriter"></div>
1818
<div class="links">
19-
<div class="link-wrap">
19+
<a class="link-wrap" href="https://www.linkedin.com/in/nidhin-joseph-225b49a3/" target="_blank">
20+
<i class="fab fa-linkedin"></i>
21+
</a>
22+
<a class="link-wrap" href="https://github.com/nj-coder" target="_blank">
23+
<i class="fab fa-github"></i>
24+
</a>
25+
<a class="link-wrap" href="https://stackoverflow.com/users/3289660/nidhin-joseph" target="_blank">
2026
<i class="fab fa-stack-overflow"></i>
21-
</div>
22-
<div class="link-wrap">
23-
<i class="fab fa-stack-overflow"></i>
24-
</div>
25-
<div class="link-wrap">
26-
<i class="fab fa-stack-overflow"></i>
27-
</div>
28-
<div class="link-wrap">
29-
<i class="fab fa-stack-overflow"></i>
30-
</div>
27+
</a>
28+
<a class="link-wrap" href="https://www.facebook.com/nidhin.joseph.1992" target="_blank">
29+
<i class="fab fa-facebook-square"></i>
30+
</a>
3131
</div>
3232
</div>
3333
<script src="script.min.js" type="text/javascript"></script>

src/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@
1212
.typeString('I\'m <b>Nidhin Joseph</b>')
1313
.start();
1414

15+
setTimeout(function () {
16+
document.querySelector('.links').style.bottom = '-0px';
17+
}, 5000);
18+
1519
})();

src/main.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,30 @@ body {
4848
.links {
4949
position: fixed;
5050
width: 100%;
51-
bottom: 0;
51+
bottom: -50px;
5252
padding: 1em;
5353
text-align: center;
5454
display: flex;
5555
flex-flow: row;
5656
justify-content: center;
57+
transition: all 0.5s;
5758

5859
.link-wrap {
5960
padding: 0.5em 1em;
60-
background: rgba(0, 0, 0, .1);
61+
background: rgba(0, 0, 0, .2);
62+
color: #fff;
6163
border-radius: 7px;
6264
margin-right: 1em;
65+
transition: all 0.2s;
6366

6467
&:last-child {
6568
margin: 0;
6669
}
70+
71+
&:hover {
72+
transform: scale(1.2);
73+
background: rgba(0, 0, 0, .4);
74+
}
6775
}
6876
}
6977
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy