Skip to content

Commit 2bf959e

Browse files
committed
change: prettify sponsors list in readme
1 parent 5c589a9 commit 2bf959e

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

.github/workflows/sponsors-readme.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
token: ${{ secrets.READER_PAT }}
1919
file: 'README.md'
20-
template: '<a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="100px" alt="User avatar: {{ name }}" /><br /><sub><b>{{ name }}</b></sub></a>'
20+
template: '<div class="grid-item"><a href="https://github.com/{{ login }}"><img src="{{ avatarUrl }}" width="100px" alt="User avatar: {{ name }}" /><br /><sub><b>{{ name }}</b></sub></a></div>'
2121
organization: true
2222

2323
- name: Deploy to GitHub Pages 🚀

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,21 @@ This project follows the [all-contributors](https://github.com/all-contributors/
182182

183183
## Sponsors
184184

185-
Thanks to our amazing sponsors! 🙏
186-
187-
<ul>
188-
<!-- sponsors --><a href="https://github.com/j7nw4r"><img src="https:&#x2F;&#x2F;github.com&#x2F;j7nw4r.png" width="100px" alt="User avatar: Johnathan W" /><br /><sub><b>Johnathan W</b></sub></a><a href="https://github.com/stackabletech"><img src="https:&#x2F;&#x2F;github.com&#x2F;stackabletech.png" width="100px" alt="User avatar: Stackable" /><br /><sub><b>Stackable</b></sub></a><!-- sponsors -->
189-
</ul>
185+
**Thanks to our amazing sponsors!** 🙏
186+
187+
<style>
188+
.grid {
189+
display: grid;
190+
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
191+
gap: 8px;
192+
}
193+
194+
.grid-item {
195+
padding: 20px;
196+
text-align: center;
197+
}
198+
</style>
199+
<div class="grid">
200+
<div class="grid-item"><a href="https://github.com/j7nw4r"><img src="https:&#x2F;&#x2F;github.com&#x2F;j7nw4r.png" width="100px" alt="User avatar: Johnathan W" /><br /><sub><b>Johnathan W</b></sub></a></div>
201+
<div class="grid-item"><a href="https://github.com/stackabletech"><img src="https:&#x2F;&#x2F;github.com&#x2F;stackabletech.png" width="100px" alt="User avatar: Stackable" /><br /><sub><b>Stackable</b></sub></a></div>
202+
</div>

0 commit comments

Comments
 (0)