Add sponsors page skeleton
This commit is contained in:
parent
be8bfd73f6
commit
424090675c
3
_data/sponsors.yml
Normal file
3
_data/sponsors.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
- name: Work in Progress
|
||||
link: /install/
|
||||
image: ""
|
14
_sass/_sponsors.scss
Normal file
14
_sass/_sponsors.scss
Normal file
|
@ -0,0 +1,14 @@
|
|||
.sponsors {
|
||||
.sponsor-img {
|
||||
width: 100px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.sponsor-name {
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
color: $veryBlackColor;
|
||||
font-size: 24px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
|
@ -7,4 +7,5 @@
|
|||
@import '_install';
|
||||
@import '_donate';
|
||||
@import '_footer';
|
||||
@import '_docs';
|
||||
@import '_docs';
|
||||
@import '_sponsors';
|
26
sponsors.html
Normal file
26
sponsors.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
title: Sponsors
|
||||
layout: default
|
||||
showParticles: True
|
||||
---
|
||||
Many people helped espanso along the way, allowing me to stay motivated and focused on our mission. Thank you, there are no words to say how much I appreciate your help :)
|
||||
|
||||
<div class="mt-4">
|
||||
{% for item in site.data.sponsors %}
|
||||
{% assign remainder = forloop.index0 | modulo: 6 %}
|
||||
{% if remainder == 0 %}
|
||||
{% if forloop.index0 != 0 %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="row sponsors mt-4">
|
||||
{% endif %}
|
||||
<div class="col-md-2">
|
||||
<a href="{{item.link}}">
|
||||
<img src="{{item.image}}" class="rounded-circle sponsor-img" alt="{{item.name}}">
|
||||
<p class="sponsor-name">{{item.name}}</p>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user