Skip to content

Commit

Permalink
Create Motorola logo component and add it to the footer
Browse files Browse the repository at this point in the history
  • Loading branch information
cetinajero committed Jul 12, 2019
1 parent fd7aaa8 commit 319af13
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 24 deletions.
3 changes: 1 addition & 2 deletions _includes/components/contact-cards/phone-card.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<div class="phone-card text-center col-md-5">
<div class="phone-card text-center">
<a href="tel:{{ site.address[0].phone[0].number }}">
<i class="fas fa-phone-square"></i>
{{ site.address[0].phone[0].number }}
</a>
<p><img class="pt-5" src="https://s3-us-west-2.amazonaws.com/grupopv-public/assets/img/catalog/thumbnails/radios/motorola/motorola_logo.png" alt="motorola" height="34" width="195"><p>
</div>
30 changes: 10 additions & 20 deletions _includes/components/copyrights/progressive.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,19 @@
{% if site.original -%}
{% if site.title == 'Grupo PV' %}
{% assign classes = "col-md-8" %}
<div class="copyright {{ classes }} d-flex align-items-center">
<div>
<p>{{ site.data.i18n.common.footer[site.lang].price_list_message.title }}</p>
<p>{{ site.data.i18n.common.footer[site.lang].price_changes.title }}</p>
</div>
</div>
{% else -%}
{% assign classes = "col-md-11" %}
<div class="copyright {{ classes }} d-flex align-items-center">
<div>
<p>{{ site.data.i18n.common.footer[site.lang].price_list_message.title }}</p>
<p>{{ site.data.i18n.common.footer[site.lang].price_changes.title }}</p>
<p>{{ site.data.i18n.common.footer[site.lang].motorola.title }}<a href="https://www.motorolasolutions.com/es_xl/partner-central.html"> Motorola Solutions</a> </p>
</div>
</div>
{% endif -%}
{% else -%}
{% assign classes = "col-md-6" %}
<div class="copyright {{ classes }} d-flex align-items-center">
<div>
<p>{{ site.data.i18n.common.footer[site.lang].price_list_message.title }}</p>
<p>{{ site.data.i18n.common.footer[site.lang].price_changes.title }}</p>
<p>{{ site.data.i18n.common.footer[site.lang].motorola.title }}<a href="https://www.motorolasolutions.com/es_xl/partner-central.html"> Motorola Solutions</a> </p>
</div>
</div>
{% endif -%}

<div class="copyright {{ classes }} d-flex align-items-center">
<div>
<p>{{ site.data.i18n.common.footer[site.lang].price_list_message.title }}</p>
<p>{{ site.data.i18n.common.footer[site.lang].price_changes.title }}</p>
{% if site.original == false %}
<p>{{ site.data.i18n.common.footer[site.lang].motorola_legend.title }}</p>
{% endif %}
</div>
</div>
5 changes: 4 additions & 1 deletion _includes/components/footers/progressive/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
{% include components/social-media/progressive.html %}
</aside>
{% elsif site.original == false %}
{% include components/contact-cards/phone-card.html %}
<div class="col-md-5 text-center">
{% include components/contact-cards/phone-card.html %}
{% include components/logos/motorola.html %}
</div>
{% endif %}

<div class="col-md-1">
Expand Down
3 changes: 3 additions & 0 deletions _includes/components/logos/motorola.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<a class="d-block pt-5 pb-3" href="//www.motorolasolutions.com/" data-component="logos/motorola">
<img src="{{ site.amazon-s3 }}/components/logos/motorola/img/motorola.png" alt="Motorola" height="34" width="195">
</a>
2 changes: 1 addition & 1 deletion _sass/components/contact-cards/_phone-card.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
div.phone-card{
margin: 40px 0px;
margin: 10px 0px;

a{
font-size: 25px;
Expand Down

0 comments on commit 319af13

Please sign in to comment.