Skip to content

Commit

Permalink
Test layout for 'others' sponsors
Browse files Browse the repository at this point in the history
  • Loading branch information
borisschapira committed Aug 27, 2018
1 parent 4cdc1bb commit 9744c1e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions _data/sponsors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,6 @@ gold:
description: >-
Ekino is an agency specializing in digital transformation. We are part of the Havas group and we design, build, and industrialize innovative digital services for large accounts and startups. Ekino is close to 400 digital experts (development engineers, consultants, technicians, designers) who come from 7 agencies in France (Paris & Bordeaux) and internationally (London, Ho Chi Minh, Singapore, Bangalore, New York).
others:
- name: Davidson Consulting
logo: /assets/images/thanks/davidson.png
url: https://www.davidson.fr/
2 changes: 1 addition & 1 deletion _includes/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>
{% if othersCount > 0 %}
<hr>
<div class="grid-6 text-center">
<div class="grid-4 text-center grid-other-sponsors">
{% for sponsor in site.data.sponsors.others %}
<figure class="company-logo-big">
<a title="{{ "En savoir plus sur %s" | t: include.locale | replace:"%s",sponsor.name }}" href="{{ sponsor.url }}"><img src="{{ site.lazyload.placeholder }}" class="lozad" data-src="{{ sponsor.logo | relative_url }}" alt="{{sponsor.name}}" width="100" height="100"></a>
Expand Down
6 changes: 6 additions & 0 deletions _sass/base/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@
.grid-item-full {
grid-column: 1 / -1;
}

.grid-other-sponsors {
@include media('<large') {
--grid-item-min-width: 15rem;
}
}
Binary file added assets/images/thanks/davidson.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9744c1e

Please sign in to comment.