Skip to content

Commit

Permalink
enlarge cornelis logo
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopo-massa committed May 16, 2024
1 parent 76029a8 commit 50de95e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions _data/conference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ sponsors:
logo: ./assets/images/sponsors/vastdata-logo.png
- name: Cornelis Networks
logo: ./assets/images/sponsors/cornelis-logo.png
shape: rectangle
- name: silver
display: "Silver Sponsors:"
list:
Expand Down
9 changes: 7 additions & 2 deletions _includes/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@
<p class="h6">{{ category.display }}</p>
{% if category.list %}
{% for sponsor in category.list %}
<img class="img-fluid mr-auto d-inline-block mb-2 mt-2 pr-3" src="{{ sponsor.logo }}" alt="{{ sponsor.name }}"
width="20%">
{% if sponsor.shape == "rectangle" %}
{% assign img_width = 35 %}
{% else %}
{% assign img_width = 20 %}
{% endif %}
<img class="mr-auto d-inline-block mb-2 mt-2 pr-3" src="{{ sponsor.logo }}" alt="{{ sponsor.name }}"
width="{{ img_width }}%" height="auto">
{% endfor %}
{% else %}
{% include tba.html %}
Expand Down

0 comments on commit 50de95e

Please sign in to comment.