Skip to content

Commit e2a7281

Browse files
committed
Update Subscribers
1 parent 7678595 commit e2a7281

File tree

6 files changed

+10
-2
lines changed

6 files changed

+10
-2
lines changed

supporters.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ supporters:
4747
position: relative;
4848
}
4949

50+
.c-list-supporters__item:target {
51+
background-color: #ffc;
52+
outline: 0.75rem solid #ffc;
53+
scroll-margin-block-start: 1.5rem;
54+
}
55+
5056
.c-list-supporters__item::before {
5157
content: var(--tier);
5258
position: absolute;
@@ -90,7 +96,9 @@ or
9096
<ul id="jsSupportersList" class="c-list-supporters">
9197

9298
{% for person in page.supporters %}
93-
<li class="c-list-supporters__item" style="
99+
{% assign slug = person.name | slugify: 'default' %}
100+
101+
<li id="supporter:{{ slug }}" class="c-list-supporters__item" style="
94102
{% case person.tier %}
95103
{% when 'supporter' %}
96104
--tier: '☕️';
@@ -107,7 +115,7 @@ or
107115
">
108116
<a href="{{ person.url }}" class="c-list-supporters__link">
109117
<img
110-
src="/img/content/subscribers/{{ person.avatar }}"
118+
src="/img/content/supporters/{{ person.avatar }}"
111119
alt="{{ person.name }}’s avatar"
112120
width="48"
113121
height="48"

0 commit comments

Comments
 (0)