Skip to content

Commit e98caec

Browse files
committed
index.html: Update footer design
This commit updates the current footer design, similar to that of [coala](coala.io) website. CLoses #184
1 parent 1ece2dd commit e98caec

File tree

3 files changed

+85
-5
lines changed

3 files changed

+85
-5
lines changed

_config.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,29 @@
11
title: coala Projects
2-
license: GNU AFFERO GENERAL PUBLIC LICENSE V3.0
2+
license:
3+
full_form: GNU AFFERO GENERAL PUBLIC LICENSE V3.0
4+
short_form: GNU AGPL v3.0
35
organization: coala
46
description: A website that showcases interesting projects, using Angular JS.
57
baseurl: "" # the subpath of your site, e.g. /blog
68
url: "" # the base hostname & protocol for your site
79
githuburl: "https://github.com/coala/projects"
810

11+
gitter:
12+
gsoc:
13+
room: "https://gitter.im/coala/coala/gsoc"
14+
915
gsoc_switch_month: 6
1016

17+
org:
18+
site_links:
19+
documentation: "https://coala.io/docs"
20+
newcomer_doc: "https://coala.io/newcomer"
21+
code_of_conduct: "https://coala.io/coc"
22+
blog: "https://blog.coala.io"
23+
24+
twitter:
25+
username: coala_io
26+
1127
plugins:
1228
- jekyll-netlify
1329

index.html

+59-4
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,65 @@
7474
</select>
7575
</div>
7676
</main>
77-
<footer class="page-footer footer-light transparent">
78-
<div class="row">
79-
<div class="col m6 offset-m3 center"> <img class="footer-logo" src="https://api.coala.io/en/latest/_static/images/coala_logo.svg" alt="coala"> <span class="footer-title">{{ site.organization }}</span> </div>
77+
<footer class="page-footer">
78+
<div class="row center for-mobile"> <a class="github-button" href="{{ site.githuburl }}" data-size="large">Fork</a> </div>
79+
<div class="container">
80+
<div class="row">
81+
<div class="col m3 s12">
82+
<h5 class="white-text fine">Site Links</h5>
83+
<ul>
84+
<li><a class="grey-text text-lighten-3" href="{{ site.org.site_links.documentation }}">Documentation</a></li>
85+
<li><a class="grey-text text-lighten-3" href="{{ site.org.site_links.newcomer_doc }}">Newcomer Docs</a></li>
86+
<li><a class="grey-text text-lighten-3" href="{{ site.org.site_links.code_of_conduct }}">Code of Conduct</a></li>
87+
<li><a class="grey-text text-lighten-3" href="{{ site.org.site_links.blog }}">Blog</a></li>
88+
</ul>
89+
</div>
90+
<div class="col m9 s12 center">
91+
<div class="center">
92+
<h3 class="fine white-text">
93+
<span>
94+
<img class="footer-logo" src="https://api.coala.io/en/latest/_static/images/coala_logo.svg" alt="coala">
95+
</span>
96+
<span>{{ site.organization }}</span>
97+
</h3>
98+
</div>
99+
<div class="center footer-icons">
100+
<span class="icon">
101+
<a href="https://twitter.com/{{ site.twitter.username }}" target="_blank" class="btn center">
102+
<i class="fa fa-twitter" aria-hidden="true">
103+
Follow us on Twitter
104+
</i>
105+
</a>
106+
</span>
107+
<span class="icon">
108+
<a href="{{ site.gitter.gsoc.room }}" target="_blank" class="btn center">
109+
<i class="fa fa-commenting-o" aria-hidden="true">
110+
Join Chat on Gitter
111+
</i>
112+
</a>
113+
</span>
114+
<span class="icon">
115+
<a href="{{ site.githuburl }}" target="_blank" class="btn center">
116+
<i class="fa fa-github" aria-hidden="true">
117+
Star us on GitHub
118+
</i>
119+
</a>
120+
</span>
121+
</div>
122+
</div>
123+
</div>
124+
</div>
125+
</div>
126+
<div class="footer-copyright">
127+
<div class="container">
128+
<span class="left">
129+
©
130+
<span id="current-year"></span>
131+
coala
132+
</span>
133+
<span class="grey-text text-lighten-4 right">{{ site.licence.short_form }}</span>
134+
</div>
80135
</div>
81-
<div class="footer-small-title center"> <span class="blue-grey-text text-lighten-3 uppercase"> Licensed under {{ site.license }}</span> </div>
82136
</footer>
83137
</body>
84138

@@ -89,6 +143,7 @@
89143
$(document).ready(function () {
90144
$('select').material_select();
91145
$(".button-collapse").sideNav();
146+
$('#current-year').html(new Date().getFullYear());
92147
$('.github-card').html('<img src="http://placehold.it/100x100" />')
93148
})
94149
</script>

resources/css/style.css

+9
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,18 @@
3535
.fa-clipboard:hover .hinttext {
3636
visibility: visible;
3737
}
38+
.footer-icons {
39+
display: flex;
40+
flex-wrap: wrap;
41+
justify-content: space-evenly;
42+
line-height: 3em;
43+
}
3844
.gsoc-students {
3945
margin-top: 1em;
4046
}
47+
.icon {
48+
color: white;
49+
}
4150
.justify-text {
4251
text-align: justify;
4352
}

0 commit comments

Comments
 (0)