Skip to content

Commit 8edefea

Browse files
committed
Add links to sponsors
1 parent f977617 commit 8edefea

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

site/src/landing/sponsors.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,19 @@ function Sponsors({ sponsors }) {
88
<section>
99
<ul className={s.sponsors}>
1010
{sponsors.map(sponsor => (
11-
<li key={s.login} tabIndex={5}>
12-
<div className={s.sponsor}>
11+
<li key={s.login}>
12+
<a className={s.sponsor} href={sponsor.url}>
1313
<img src={sponsor.avatarUrl} />
1414
<div className={s.details}>
1515
<h4>{sponsor.name}</h4>
16-
<span>{sponsor.login}</span>
16+
<span className={s.login}>
17+
{sponsor.login}
18+
</span>
19+
<span className={s.location}>
20+
{sponsor.location}
21+
</span>
1722
</div>
18-
</div>
23+
</a>
1924
</li>
2025
))}
2126
</ul>

site/src/landing/sponsors.module.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
.sponsor {
1616
/* border: 1px solid blue; */
1717
display: flex;
18+
color: inherit;
19+
cursor: pointer;
20+
}
21+
22+
.sponsor:hover {
23+
text-decoration: none;
24+
color: var(--accent-500);
1825
}
1926

2027
.sponsor img {
@@ -34,3 +41,9 @@
3441
flex-flow: column;
3542
justify-content: center;
3643
}
44+
45+
.sponsor .location {
46+
font-size: 0.9em;
47+
color: #666;
48+
margin-top: 2px;
49+
}

0 commit comments

Comments
 (0)