Add sponsors page

This commit is contained in:
Federico Terzi 2020-03-20 21:16:38 +01:00
parent 71cbccde7b
commit 67b09c6f5c
16 changed files with 104 additions and 7 deletions

View File

@ -1,3 +1,67 @@
- name: Work in Progress
link: /install/
- name: Andy Hunt
link: http://toolshed.com/
image: "andy.png"
- name: Niklas Vest
link: ""
image: "niklas.jpg"
- name: John Eriksen
link: ""
image: ""
- name: DutchPete
link: ""
image: ""
- name: Simon Wolf
link: https://www.swwritings.com/
image: ""
- name: Christian Raunitschka
link: http://raunitschka.de/
image: "christian.jpg"
- name: John Ennion
link: ""
image: ""
- name: Gide Wilder
link: ""
image: "rigel.jpg"
- name: mrgnw
link: https://github.com/mrgnw
image: "morgan.jpeg"
- name: Raimund S.
link: http://mrsweb.de/
image: ""
- name: William Luke
link: https://www.ordino.ai/
image: william.jpeg
- name: Richard Lissimore
link: https://github.com/richardlissimore
image: "richard.png"
- name: Marcelo Subtil Marcal
link: http://smarcal.com/
image: "marcelo.jpeg"
- name: threeforks
link: ""
image: ""
- name: Masayuki Higashino
link: http://msyk.hgsn.info/
image: "masayuki.png"
- name: Scott Dillman
link: http://dreamcyclestudios.com/
image: "scott.jpeg"
- name: Steven Schmutz
link: ""
image: ""

View File

@ -17,4 +17,11 @@
<a class="btn btn-lg sponsor" target="_blank" href="https://github.com/sponsors/federico-terzi" role="button">Become a GitHub Sponsor</a>
</div>
</div>
<div class="sponsor-pane">
<h5>A special thanks goes to all the wonderful people who supported espanso along the way</h5>
<p>Together, we will make espanso the first universal text expander, open to everyone.</p>
<a class="btn btn-lg" href="/sponsors" role="button">See the Sponsors</a>
</div>
</div>

View File

@ -59,7 +59,6 @@ If you want to see more interesting projects, visit my website: https://federico
{% endunless %}
{% include donate.html %}
{% include footer.html %}
<script src="/assets/js/jquery.slim.min.js"></script>

View File

@ -47,4 +47,13 @@
height: 60px;
display: inline;
}
.sponsor-pane {
text-align: center;
margin-top: 80px;
.btn {
background-color: $mainColor;
}
}
}

View File

@ -1,4 +1,10 @@
.sponsors {
text-align: center;
.heading {
text-align: center;
}
.sponsor-img {
width: 100px;
margin: auto;

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -3,9 +3,11 @@ 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">
<div class="mt-4 sponsors">
<h5>A special thanks goes to all the wonderful people who supported espanso along the way</h5>
<p>Together, we will make espanso the first universal text expander, open to everyone.</p>
{% for item in site.data.sponsors %}
{% assign remainder = forloop.index0 | modulo: 6 %}
{% if remainder == 0 %}
@ -17,10 +19,20 @@ Many people helped espanso along the way, allowing me to stay motivated and focu
{% endif %}
<div class="col-md-2">
<a href="{{item.link}}">
<img src="{{item.image}}" class="rounded-circle sponsor-img" alt="{{item.name}}">
{% if item.image != "" %}
<img src="/assets/images/sponsors/{{item.image}}" class="rounded-circle sponsor-img" alt="{{item.name}}">
{% else %}
<svg class="rounded-circle sponsor-img" data-jdenticon-value="{{item.name}}">
Fallback text or image for browsers not supporting inline svg.
</svg>
{% endif %}
<p class="sponsor-name">{{item.name}}</p>
</a>
</div>
{% endfor %}
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/jdenticon@2.2.0" async>
</script>