Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Commit

Permalink
Adicionada secao para followus: Acompanhe o evento e pagina da Python…
Browse files Browse the repository at this point in the history
… Brasil no FB
  • Loading branch information
suggiro committed Jun 3, 2016
1 parent 7a92c3b commit 5ffbbf0
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
"modules/schedule",
"modules/sponsors",
"modules/volunteers",
"modules/followus",
"modules/footer";
27 changes: 27 additions & 0 deletions theme/sass/modules/_followus.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.followus {
padding: 4em 0;

h1 {
color: #333;
text-align: center;
margin-bottom: 50px;
}

.social.facebook {
text-align: center;
}

ul {
$columns: 1;
-moz-column-count: $columns;
-moz-column-gap: 20px;
-webkit-column-count: $columns;
-webkit-column-gap: 20px;
column-count: $columns;
column-gap: 20px;
}

li {
list-style: none;
}
}
2 changes: 2 additions & 0 deletions theme/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@
{% include "includes/sponsors.html" %}

{% include "includes/volunteers.html" %}

{% include "includes/followus.html" %}
{% endblock %}
17 changes: 17 additions & 0 deletions theme/templates/includes/followus.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.6&appId=100732530004170";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<section class="followus">
<div class="row">
<h1>Acompanhe notícias do evento e da comunidade Python Brasil</h1>

<div class="social facebook">
<div class="fb-page" data-href="https://www.facebook.com/pythonbrasil" data-tabs="timeline,events" data-width="500" data-height="300" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/pythonbrasil"><a href="https://www.facebook.com/pythonbrasil">Python Brasil</a></blockquote></div></div>
</div>
</div>
</section>

0 comments on commit 5ffbbf0

Please sign in to comment.