Skip to content

Commit 914499e

Browse files
Changes to the footer
1 parent e7a31d6 commit 914499e

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
@@ -729,7 +729,7 @@ a {
729729
}
730730

731731
.footer__sponsor-link {
732-
background: $very-dark-blue;
732+
background: white;
733733
border-radius: 5px;
734734
border: $light-blue 1px solid;
735735
text-align: center;
@@ -746,12 +746,9 @@ a {
746746
}
747747
}
748748

749-
.footer__img {
749+
.footer__sponsor-link img {
750750
padding: 10px;
751751
max-width: 100%;
752-
filter: gray;
753-
-webkit-filter: grayscale(1);
754-
transition: filter, .8s ease-in-out;
755752
}
756753

757754
.footer__link {
@@ -782,13 +779,14 @@ a {
782779
.footer__text-copyright {
783780
@extend .footer-font;
784781
text-align: center;
785-
font-size: 2em;
782+
font-size: 1.2em;
786783
color: $footer-text;
784+
margin-top: 130px;
787785
}
788786

789787
.footer__text-credits {
790788
@extend .footer-font;
791789
text-align: center;
792-
font-size: 1em;
790+
font-size: 0.8em;
793791
color: $footer-text;
794-
}
792+
}
-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)