chore: limit in badge grid component

This commit is contained in:
Cory Dransfeldt 2024-07-10 09:59:55 -07:00
parent 5440b89c20
commit 43247423ea
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "20.0.3", "version": "20.0.4",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "20.0.3", "version": "20.0.4",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.4.0", "@cdransf/api-text": "^1.4.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "20.0.3", "version": "20.0.4",
"description": "The source for my personal site. Built using 11ty.", "description": "The source for my personal site. Built using 11ty.",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -1,5 +1,5 @@
<div class="badge-grid"> <div class="badge-grid">
{% for badge in badges %} {% for badge in badges limit: 8 %}
<a href="{{ badge.url }}"> <a href="{{ badge.url }}">
<img srcset=" <img srcset="
https://cdn.coryd.dev/{{ badge.image }}?class=w50 50w, https://cdn.coryd.dev/{{ badge.image }}?class=w50 50w,