Skip to content

Commit

Permalink
Adjust widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 29, 2016
1 parent b9c31ea commit f3e1722
Show file tree
Hide file tree
Showing 11 changed files with 68 additions and 16 deletions.
Binary file added assets/images/fbgroupbg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/ghostdev.png
Binary file not shown.
Binary file added assets/images/logo-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/twitterbg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions assets/scss/widgets/fbgroup-box.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
.fbgroup-box {
@extend .twitter-box;
@extend .twitter-box-dev;

.fbgroup-box-profilepic {
img {
width: 70px;
margin-top: 15px;
}
}
}

.fbgroup-box-content {
@extend .twitter-box-content;

> h4 {
margin: 1rem;
}

> p {
margin: 2rem 0;
}

> a {
margin: 1rem 0;
}

.button-add {
width: 60%;
}

}

.fbgroup-box-profilepic {
position: absolute;
top: 100px;
left: 50%;

display: block;
width: 100px;
height: 100px;
margin-left: -50px;

text-align: center;

border-radius: 100%;
background: $white;

img {
width: 80%;
height: auto;
margin-top: 6px;
}
}
1 change: 1 addition & 0 deletions assets/scss/widgets/popular-posts.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.feature-post,
.popular-posts {
padding: 0;

Expand Down
6 changes: 1 addition & 5 deletions partials/sidebar.hbs
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
<aside class="blog-sidebar">

{{> widgets/blog-subscribe}}
{{> widgets/popular-posts}}
{{> widgets/feature-post}}
{{> widgets/fbgroup-box}}
{{> widgets/facebook-box}}
{{> widgets/facebook-box}}
{{> widgets/twitter-box}}


{{!> widgets/blog-text}}
{{!> widgets/slack-box}}
{{!> widgets/ghost-love}}
{{!> widgets/gplus-box}}


</aside>
5 changes: 2 additions & 3 deletions partials/widgets/blog-subscribe.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<section class="blog-subscribe blog-subscribe-main widget">
<h3>Join Thousands</h3>
<p>of subscribers who get fresh content from us once per week.</p>
<a class="button-add large wide" data-toggle="modal" data-target="#blogsubscribe">Subscribe Now</a>
<h3>Recíbelo semanalmente</h3>
<a class="button-add large wide" data-toggle="modal" data-target="#blogsubscribe">Subscribirse ahora</a>
</section>
14 changes: 8 additions & 6 deletions partials/widgets/fbgroup-box.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<section class="slack-box widget">
<a class="twitter-box-profilepic" href="/unete"><img src="{{asset "images/slack.png"}}" alt="Twitter profile picture" /></a>
<img class="twitter-box-coverpic" src="{{asset "images/slackbg.jpg"}}" alt="Twitter cover image" nopin="nopin" />
<div class="slack-box-content">
<section class="fbgroup-box widget">
<div class="fbgroup-box-profilepic">
<img src="{{asset "images/logo-black.png"}}" alt="Twitter profile picture" />
</div>
<img class="fbgroup-box-coverpic" src="{{asset "images/fbgroupbg.jpg"}}" alt="Twitter cover image" nopin="nopin" />
<div class="fbgroup-box-content">
<h4>Únete a la comunidad</h4>
<p>Forma parte de la más vibrante comunidad alrededor del Mar Menor.</p>
<a class="button-add large wide" data-toggle="modal" data-target="#blogsubscribe">Unirme</a>
<p>Forma parte de la más vibrante comunidad de beatbox de habla hispana.</p>
<a class="button-add large wide" target="blank" href="https://www.facebook.com/groups/zombeats/">Unirme</a>
</div>
</section>
2 changes: 1 addition & 1 deletion partials/widgets/feature-post.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<section class="popular-posts widget">
<section class="feature-post widget">
<h3>Próximo Evento</h3>
<a href="/#">
<img src="{{asset "images/event.jpg"}}" style="width: 60%;">
Expand Down
2 changes: 1 addition & 1 deletion partials/widgets/twitter-box.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{! TODO: Extract twitter description as Ghost variable }}

<section class="twitter-box twitter-box-main widget">
<a class="twitter-box-profilepic" href="http://twitter.com/zombeats_es"><img src="{{asset "images/logo.png"}}" alt="Twitter profile picture" /></a>
<div class="twitter-box-profilepic"><img src="{{asset "images/logo.png"}}" alt="Twitter profile picture" /></div>
<img class="twitter-box-coverpic" src="{{asset "images/twitterbg.jpg"}}" alt="Twitter cover image" nopin="nopin" />
<div class="twitter-box-content">
<h4>Zombeats</h4>
Expand Down

0 comments on commit f3e1722

Please sign in to comment.