Skip to content

Commit 190bcf2

Browse files
authored
Merge pull request #23 from BubuDavid/sm-icons
Closes #14
2 parents fd22df1 + ef9b249 commit 190bcf2

7 files changed

Lines changed: 40 additions & 21 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ gem "jekyll", ">= 3.7.4"
44
gem "ffi", ">= 1.9.24"
55
gem 'jekyll-admin', group: :jekyll_plugins
66
gem 'rouge', '~> 3.5', '>= 3.5.1'
7+
gem 'tzinfo-data'
78

89
group :jekyll_plugins do
910
gem 'jekyll-archives', '2.1.1'

Gemfile.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ GEM
1010
eventmachine (>= 0.12.9)
1111
http_parser.rb (~> 0.6.0)
1212
eventmachine (1.2.7)
13+
eventmachine (1.2.7-x64-mingw32)
1314
ffi (1.10.0)
15+
ffi (1.10.0-x64-mingw32)
1416
forwardable-extended (2.6.0)
1517
http_parser.rb (0.6.0)
1618
i18n (0.9.5)
@@ -85,9 +87,14 @@ GEM
8587
sinatra (~> 1.4.0)
8688
tilt (>= 1.3, < 3)
8789
tilt (2.0.9)
90+
tzinfo (2.0.0)
91+
concurrent-ruby (~> 1.0)
92+
tzinfo-data (1.2019.3)
93+
tzinfo (>= 1.0.0)
8894

8995
PLATFORMS
9096
ruby
97+
x64-mingw32
9198

9299
DEPENDENCIES
93100
ffi (>= 1.9.24)
@@ -99,6 +106,7 @@ DEPENDENCIES
99106
jekyll-seo-tag (= 2.4.0)
100107
jekyll-sitemap (= 1.2.0)
101108
rouge (~> 3.5, >= 3.5.1)
109+
tzinfo-data
102110

103111
BUNDLED WITH
104112
2.0.2

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ social_icons:
108108
- Twitter
109109
- YouTube
110110
- RSS
111+
- GitHub
111112

112113
_comments:
113114
map: Update the map location and display settings.

_data/footer.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@
2020
# - name: Status
2121
# link: /
2222
# new_window: true
23-
# - links:
24-
# - name: Facebook
25-
# link: https://www.facebook.com/f.lab.mx/
26-
# new_window: true
27-
# social_icon: Facebook
28-
# - name: Twitter
29-
# link: https://twitter.com
30-
# social_icon: Twitter
31-
# new_window: true
32-
# - name: YouTube
33-
# link: https://youtube.com
34-
# social_icon: YouTube
35-
# new_window: true
36-
# - name: RSS
37-
# link: /feed.xml
38-
# social_icon: RSS
39-
# new_window: false
23+
- links:
24+
- name: Facebook
25+
link: https://www.facebook.com/f.lab.mx/
26+
new_window: true
27+
social_icon: Facebook
28+
- name: Twitter
29+
link: https://twitter.com/futurelabmx
30+
social_icon: Twitter
31+
new_window: true
32+
- name: Instagram
33+
link: https://www.instagram.com/futurelabmx/
34+
social_icon: Instagram
35+
new_window: true
36+
- name: GitHub
37+
link: https://github.com/futurelabmx
38+
social_icon: GitHub
39+
new_window: true

_includes/social-icon.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@
1717
<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M10,16.5V7.5L16,12M20,4.4C19.4,4.2 15.7,4 12,4C8.3,4 4.6,4.19 4,4.38C2.44,4.9 2,8.4 2,12C2,15.59 2.44,19.1 4,19.61C4.6,19.81 8.3,20 12,20C15.7,20 19.4,19.81 20,19.61C21.56,19.1 22,15.59 22,12C22,8.4 21.56,4.91 20,4.4Z" /></svg>
1818
{% when "RSS" %}
1919
<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"/><circle cx="6.18" cy="17.82" r="2.18"/><path d="M4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83c0-8.59-6.97-15.56-15.56-15.56zm0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9z"/></svg>
20-
{% endcase %}
20+
21+
{% when "GitHub" %}
22+
<svg fill="#000000" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="24"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
23+
24+
{% endcase %}

_layouts/default.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,19 @@
2323
</div>
2424
</header>
2525
{{ content }}
26+
27+
2628
<footer>
2729
<div class="container">
2830
<p class="editor-link"><a href="cloudcannon:collections/_data/footer.yml" class="btn"><strong>&#9998;</strong> Edit footer</a></p>
2931
<div class="footer-columns">
3032
{% for column in site.data.footer %}
3133
<ul class="footer-links">
3234
{% for link in column.links %}
33-
<li><a {% if link.new_window %}target="_blank"{% endif %} href="{% include relative-src.html src=link.link %}" {% if link.social_icon %}class="{{ link.social_icon }}-icon"{% endif %}>
35+
<li class="bubu_style_li"><a {% if link.new_window %}target="_blank"{% endif %} href="{% include relative-src.html src=link.link %}" {% if link.social_icon %}class="{{ link.social_icon }}-icon"{% endif %}>
3436
{% if link.social_icon %}
3537
{% include social-icon.html icon=link.social_icon %}
36-
{% endif %}
37-
{{ link.name }}</a></li>
38+
{% endif %}</a></li>
3839
{% endfor %}
3940
</ul>
4041
{% endfor %}
@@ -46,6 +47,8 @@
4647
</center>
4748
</div>
4849
</footer>
50+
51+
4952
<!-- Chatfuel plugin-->
5053
<script>
5154
var div = document.createElement('div');

_sass/footer.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
width: 100%;
33
margin: 10px;
44
padding: 0;
5+
text-align: center;
56

67
@media #{$tablet} {
78
-webkit-flex: 1 0 180px;
@@ -11,6 +12,7 @@
1112
li {
1213
list-style: none;
1314
margin: 15px auto;
15+
display: inline;
1416

1517
@media #{$tablet} {
1618
max-width: 150px;

0 commit comments

Comments
 (0)