Skip to content

Commit a6f5b23

Browse files
committed
update sponsors
1 parent 17ecb3f commit a6f5b23

2 files changed

Lines changed: 34 additions & 26 deletions

File tree

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.root {
22
text-align: center;
3-
margin: 1rem 0 1rem 0;
3+
margin: 1rem 0;
44
font-size: 0.8rem;
55
border-top: 1px solid var(--color-black);
66
padding-top: 1.5rem;
77
}
88

99
.heading {
10-
margin-bottom: 2rem;
10+
margin-bottom: 1.5rem;
1111
opacity: 0.7;
1212
font-weight: 500;
1313
}
@@ -16,50 +16,51 @@
1616
color: white;
1717
text-decoration: none;
1818
display: flex;
19-
align-content: center;
19+
align-items: center;
2020
justify-content: center;
2121
}
2222

2323
.root a img {
24-
width: 120px;
25-
height: auto;
26-
margin: auto 0;
24+
width: 72px;
25+
height: 72px;
26+
object-fit: contain;
2727
}
2828

2929
.logoGroup {
30-
display: grid;
31-
grid-template-columns: repeat(2, 1fr);
30+
display: flex;
31+
flex-wrap: wrap;
32+
justify-content: center;
33+
align-items: center;
3234
gap: 1rem;
3335
margin: 0 1rem;
3436
}
3537

36-
.logoGroup > div {
37-
border-radius: 4px;
38-
padding: 0.5rem;
39-
}
40-
41-
.placeholder {
42-
border: 1px dashed #ccc;
43-
border-radius: 4px;
44-
padding: 0.5rem;
45-
}
46-
4738
.twicsy {
48-
border-radius: 50px;
39+
border-radius: 10%;
4940
}
5041

5142
.add {
52-
border: 1px dashed #ccc;
53-
border-radius: 50px;
54-
font-size: 12px;
43+
border: 1px solid #ccc;
44+
border-radius: 10%;
45+
font-size: 13px;
46+
white-space: nowrap;
5547
}
5648

5749
@media (min-width: 768px) {
5850
.logoGroup {
59-
display: grid;
6051
max-width: 600px;
6152
margin: 0 auto;
62-
grid-template-columns: repeat(4, 1fr);
6353
gap: 1.5rem;
6454
}
55+
56+
.root a img {
57+
width: 100px;
58+
height: 100px;
59+
}
60+
61+
.add {
62+
height: 100px;
63+
width: 100px;
64+
padding: 0 1.5rem;
65+
}
6566
}

src/components/sponsorsList.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,17 @@ export function SponsorsList() {
1313
>
1414
<img
1515
className={styles.twicsy}
16-
src="/images/follower24.png"
16+
src="https://camo.githubusercontent.com/18448c6df47adb0b54376469641667a63005b6cc9bc402d9475a42e06b525c2f/68747470733a2f2f696d616765732e6f70656e636f6c6c6563746976652e636f6d2f666f6c6c6f77657232342f303032393766382f6176617461722f3235362e706e673f6865696768743d323536"
1717
alt="follower24"
1818
/>
1919
</a>
20+
<a href="https://buy.fans/" target="_blank" rel="noopener noreferrer">
21+
<img
22+
className={styles.twicsy}
23+
src="https://images.opencollective.com/buy-instagram-followers-buyfans/2b97c05/logo/256.png?height=256"
24+
alt="BuyFans"
25+
/>
26+
</a>
2027
<a
2128
href="https://opencollective.com/react-hook-form"
2229
target="_blank"

0 commit comments

Comments
 (0)