Skip to content

Commit

Permalink
Merge pull request #1 from komorebitech/feature/menu-store-buttons
Browse files Browse the repository at this point in the history
added app download buttons on home screen
  • Loading branch information
nakulrathore authored Dec 24, 2020
2 parents 5e25f1c + cdc27f6 commit e13af9f
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/css/style.css

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
{{#if @site.description}}
<span class="blog-description">{{@site.description}}</span>
{{/if}}
<div class="store-download-buttons">
<a target="_blank" href="https://itunes.apple.com/in/app/cityflo/id1060733672?mt=8">
<img class="icon-apple-store" src="https://s3.ap-south-1.amazonaws.com/cityflo.com/appbadge.svg" />
</a>
<a target="_blank" href="https://play.google.com/store/apps/details?id=com.cityflo.customer&hl=en_IN">
<img class="icon-play-store" src="https://s3.ap-south-1.amazonaws.com/cityflo.com/playbadge.png" />
</a>
</div>
{{#if @site.cover_image}}
</div>
<div class="blog-cover cover">
Expand Down
24 changes: 24 additions & 0 deletions src/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,30 @@ textarea {
}
}

.store-download-buttons{
display: flex;
align-items: center;
align-content: center;
justify-content: center;
margin-top: 20px;

@media only screen and (max-width: $breakpoint-medium) {
flex-direction: column;
}
a{
img{
// height: 130px;
&.icon-play-store{
width: 210px;

}
&.icon-apple-store{
width: 185px;
}
}
}
}

.has-cover .blog-description {
color: #FFF;
}
Expand Down

0 comments on commit e13af9f

Please sign in to comment.