Skip to content

Commit 0a75a6b

Browse files
committed
Tweaking the sponsor boxes such as putting the title at the bottom.
1 parent 5616967 commit 0a75a6b

3 files changed

Lines changed: 23 additions & 15 deletions

File tree

data/sponsors.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ sponsors:
3737
links:
3838
- label: Website
3939
url: https://saturdaymp.com/
40+
- label: GitHub Sponsors
41+
url: https://github.com/sponsors/saturdaymp
4042

4143
dev-edmonton:
4244
name: Dev Edmonton Society
4345
image: devEd.png
4446
tier: Community Partner
45-
description: Slack and other promotional support.
47+
description: Slack workspace and other promotional support.
4648
links:
4749
- label: Website
4850
url: https://devedmonton.com/
@@ -56,18 +58,17 @@ sponsors:
5658
links:
5759
- label: Website
5860
url: https://edmontonunlimited.com/
61+
- label: Meetup
62+
url: https://www.meetup.com/Edmonton-Unlimited/
5963

6064
years:
6165
2026:
62-
corporate:
63-
- saturday-mp
64-
- dev-edmonton
65-
- edmonton-unlimited
66-
individual: []
66+
- saturday-mp
67+
- dev-edmonton
68+
- edmonton-unlimited
69+
- chris-cumming
6770

6871
2025:
69-
corporate:
70-
- saturday-mp
71-
- dev-edmonton
72-
- edmonton-unlimited
73-
individual: []
72+
- saturday-mp
73+
- dev-edmonton
74+
- edmonton-unlimited

docs/sponsors/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ hide:
3636
</section>
3737

3838
{% for year in sponsors.years.keys() | sort(reverse=true) %}
39-
{% set ids = (sponsors.years[year].corporate or []) + (sponsors.years[year].individual or []) %}
39+
{% set ids = sponsors.years[year] or [] %}
4040
<section class="year-group" data-year="{{ year }}">
4141
<div class="year-header">
4242
<h2 class="year-num" id="year-{{ year }}">{{ year }}</h2>
@@ -54,7 +54,7 @@ hide:
5454
{% if s.image %}<img src="{{ s.image }}" alt="{{ s.name }}">{% else %}<div class="card-logo-placeholder">{{ s.name[0] }}</div>{% endif %}
5555
</div>
5656
<div class="card-footer">
57-
<span class="card-tier">{{ s.tier or 'Sponsor' }}</span>
57+
<span class="card-tier">{{ s.name or 'Sponsor' }}</span>
5858
</div>
5959
</div>
6060
<div class="card-face card-back">

docs/stylesheets/sponsors.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
display: flex;
125125
align-items: center;
126126
justify-content: center;
127-
padding: 12px;
127+
padding: 2px;
128128
min-height: 0;
129129
}
130130
.wdc-sponsors-page .card-logo img {
@@ -154,7 +154,14 @@
154154
letter-spacing: 0.06em;
155155
text-transform: uppercase;
156156
}
157-
.wdc-sponsors-page .card-tier { color: var(--ink-2); font-weight: 600; }
157+
.wdc-sponsors-page .card-tier {
158+
color: var(--ink-2);
159+
font-weight: 600;
160+
white-space: nowrap;
161+
overflow: hidden;
162+
text-overflow: ellipsis;
163+
min-width: 0;
164+
}
158165

159166
.wdc-sponsors-page .card-back {
160167
background: var(--teal-dark);

0 commit comments

Comments
 (0)