Skip to content

Commit 4ffd1a1

Browse files
Merge branch 'footer' of https://github.com/datapythonista/python-sprints.github.io into datapythonista-footer
2 parents 2b569b3 + 914499e commit 4ffd1a1

File tree

5 files changed

+33
-54
lines changed

5 files changed

+33
-54
lines changed

_includes/footer.html

Lines changed: 27 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,33 @@
11
<footer class="footer">
22
<div class="row container-fluid">
3-
<div class="col-md-3 text-center">
4-
<h2 class="footer__section-title">Find Us Online</h2>
5-
<hr class="footer__divider">
6-
<a href="https://www.meetup.com/Python-Sprints/" target="_blank"><i class="footer__icon fab fa-meetup"></i></a>
7-
<a href="https://twitter.com/py_sprints" target="_blank"><i class="footer__icon fab fa-twitter"></i></a>
8-
</div>
9-
<div class="col-md-6">
10-
<h2 class="footer__section-title">Our Sponsors</h2>
11-
<hr class="footer__divider">
12-
<!--Create an array of permanent sponsors-->
13-
{% assign sponsors = "" | split: ',' %}
14-
{% for sponsor in site.sponsors %}
15-
{% if sponsor.permanent %}
16-
{% assign sponsors = sponsors | push: sponsor %}
17-
{% endif %}
18-
{% endfor %}
19-
20-
{%
21-
include row_display_outer_loop.html
22-
items_array = sponsors
23-
inner_layout = "footer_sponsors_inner_layout.html"
24-
%}
3+
<div class="col-md-5 text-center" style="padding-top: 30px;">
4+
<a class="twitter-timeline" data-width="400" data-height="400" data-theme="light" data-link-color="#2B7BB9" href="https://twitter.com/py_sprints?ref_src=twsrc%5Etfw">Tweets by py_sprints</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
255
</div>
26-
<div class="col-md-3">
27-
<h2 class="footer__section-title">Python Sprints</h2>
6+
<div class="col-md-7">
7+
<h2 class="footer__section-title">With the support of...</h2>
288
<hr class="footer__divider">
29-
<ul class="footer__navigation-list text-center">
30-
<li><a class="footer__link" href="{{ '/' | prepend: site.baseurl }}">Home</a></li>
31-
{% for page in site.pages %}
32-
{% if page.title %}
33-
<li><a class="footer__link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
34-
{% endif %}
35-
{% endfor %}
36-
</ul>
37-
38-
</div>
39-
</div>
40-
41-
<div class="footer__content row container-fluid">
42-
<div class="col-md-12">
43-
<p class="footer__text-copyright">
44-
©
45-
<img class="footer__brand-img" src="{{ site.baseurl }}/static/images/site_logo/python_sprints_logo_triangles_flat_light_text_502x100px.png" alt="Python Sprints Logo">
46-
<script>document.write(new Date().getFullYear())</script>
47-
</p>
48-
<p class="footer__text-credits">Created by: <a href="http://tomasz-kluczkowski.com/">Tomasz Kluczkowski</a></p>
49-
<p class="footer__text-credits">Site logo: <a href="https://www.linkedin.com/in/marcelgarciadesigner/">Marcel Garcia</a></p>
9+
<div class="row">
10+
<div class="footer__sponsor-col col-md-6 col-lg-6">
11+
<a class="footer__sponsor-link" href="https://www.python.org/psf/">
12+
<img src="{{ site.baseurl }}/static/images/sponsors/psf.png">
13+
</a>
14+
</div>
15+
<div class="footer__sponsor-col col-md-6 col-lg-6">
16+
<a class="footer__sponsor-link" href="https://www.numfocus.org/">
17+
<img src="{{ site.baseurl }}/static/images/sponsors/numfocus.png">
18+
</a>
19+
</div>
20+
</div>
21+
<p class="footer__text-copyright">
22+
©
23+
<img class="footer__brand-img" src="{{ site.baseurl }}/static/images/site_logo/python_sprints_logo_triangles_flat_light_text_502x100px.png" alt="Python Sprints Logo">
24+
<script>document.write(new Date().getFullYear())</script>
25+
</p>
26+
<p class="footer__text-credits">
27+
Website created by: <a href="http://tomasz-kluczkowski.com/">Tomasz Kluczkowski</a>
28+
|
29+
Python Sprints logo: <a href="https://www.linkedin.com/in/marcelgarciadesigner/">Marcel Garcia</a>
30+
</p>
5031
</div>
5132
</div>
52-
</footer>
33+
</footer>

_sass/style.scss

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ a {
794794
}
795795

796796
.footer__sponsor-link {
797-
background: $very-dark-blue;
797+
background: white;
798798
border-radius: 5px;
799799
border: $light-blue 1px solid;
800800
text-align: center;
@@ -811,12 +811,9 @@ a {
811811
}
812812
}
813813

814-
.footer__img {
814+
.footer__sponsor-link img {
815815
padding: 10px;
816816
max-width: 100%;
817-
filter: gray;
818-
-webkit-filter: grayscale(1);
819-
transition: filter, .8s ease-in-out;
820817
}
821818

822819
.footer__link {
@@ -847,13 +844,14 @@ a {
847844
.footer__text-copyright {
848845
@extend .footer-font;
849846
text-align: center;
850-
font-size: 2em;
847+
font-size: 1.2em;
851848
color: $footer-text;
849+
margin-top: 130px;
852850
}
853851

854852
.footer__text-credits {
855853
@extend .footer-font;
856854
text-align: center;
857-
font-size: 1em;
855+
font-size: 0.8em;
858856
color: $footer-text;
859-
}
857+
}
-1.71 KB
Loading

static/images/sponsors/psf.png

43.4 KB
Loading
-9.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)