Skip to content

Commit 29bdb4d

Browse files
authored
Add Speakeasy sponsor (#1919)
1 parent 29bd162 commit 29bdb4d

File tree

6 files changed

+56
-16
lines changed

6 files changed

+56
-16
lines changed

README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,23 @@ Ultra-fast fetching for TypeScript generated automatically from your OpenAPI sch
1616

1717
### 🥇 Gold Sponsors
1818

19-
<p align="center"><a href="https://zuplo.link/openapi-ts-gh"><img width="128" height="128" alt="Zuplo" src="https://avatars.githubusercontent.com/u/85497839?s=200&v=4"></a></p>
19+
<p align="center">
20+
<a href="https://zuplo.link/openapi-ts-gh"><img width="120" height="120" alt="Zuplo" src="https://avatars.githubusercontent.com/u/85497839?s=200&v=4"></a>
21+
<a href="https://www.speakeasy.com/product/sdk-generation?utm_source=pow_openapi_ts" target="_blank"><img width="276" height="120" src="./docs/public/assets/speakeasy.svg" /></a>
22+
</p>
2023

2124
### 🥈 Silver Sponsors
2225

2326
<p align="center"><a href="https://github.com/nanabit-inc"><img width="128" height="128" alt="nanabit" src="https://avatars.githubusercontent.com/u/154126976?s=200&v=4"></a></p>
2427

2528
### Backers
2629

27-
<p align="center"><a href="https://github.com/customerio"><img width="64" height="64" alt="@customerio on GitHub" src="https://avatars.githubusercontent.com/u/1152079?s=200&v=4"></a>
28-
<a href="https://github.com/shaunpersad"><img width="64" height="64" alt="@shaunpersad on GitHub" src="https://avatars.githubusercontent.com/u/1702976?s=52&v=4"></a><a href="https://github.com/yoshi2no"><img width="64" height="64" alt="@yoshi2no on GitHub" src="https://avatars.githubusercontent.com/u/57059705?v=4"></a></p>
30+
<p align="center">
31+
<a href="https://github.com/customerio"><img width="64" height="64" alt="@customerio on GitHub" src="https://avatars.githubusercontent.com/u/1152079?s=200&v=4"></a>
32+
<a href="https://github.com/shaunpersad"><img width="64" height="64" alt="@shaunpersad on GitHub" src="https://avatars.githubusercontent.com/u/1702976?s=52&v=4"></a>
33+
<a href="https://github.com/yoshi2no"><img width="64" height="64" alt="@yoshi2no on GitHub" src="https://avatars.githubusercontent.com/u/57059705?v=4"></a>
34+
<a href="https://github.com/siketyan"><img width="64" height="64" alt="@siketyan on GitHub" src="https://avatars.githubusercontent.com/u/12772118?v=4"></a>
35+
</p>
2936

3037
Become a sponsor by supporting this project on [OpenCollective](https://opencollective.com/openapi-ts)!
3138

docs/.vitepress/theme/CustomLayout.vue

+18-3
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,16 @@ const { Layout } = DefaultTheme;
4242
<!-- Silver sponsor logos -->
4343
<template #sidebar-nav-after>
4444
<div class="sidenav-sponsors">
45+
<h5>Gold Sponsors</h5>
46+
<ul class="sponsor-list sponsor-list--gold">
47+
<li v-for="sponsor in sponsors.gold" :key="sponsor.name">
48+
<a :href="sponsor.url" target="_blank" :title="sponsor.name">
49+
<img :src="sponsor.logo" :alt="sponsor.description" />
50+
</a>
51+
</li>
52+
</ul>
4553
<h5>Silver Sponsors</h5>
46-
<ul>
54+
<ul class="sponsor-list sponsor-list--silver">
4755
<li v-for="sponsor in sponsors.silver" :key="sponsor.name">
4856
<a :href="sponsor.url" target="_blank" :title="sponsor.name">
4957
<img :src="sponsor.logo" :alt="sponsor.description" />
@@ -124,11 +132,18 @@ const { Layout } = DefaultTheme;
124132
flex-wrap: wrap;
125133
gap: 1.25rem;
126134
list-style: none;
127-
margin: 1.5rem 0 0;
135+
margin: 1rem 0;
128136
padding: 0;
129137
}
130138
131-
.sidenav-sponsors img {
139+
.sponsor-list--gold {
140+
img {
141+
height: auto;
142+
width: 100%;
143+
}
144+
}
145+
146+
.sponsor-list--silver img {
132147
height: 3rem;
133148
width: auto;
134149
}

docs/.vitepress/theme/SponsorList.vue

+23-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,19 @@ import sponsors from "../../data/sponsors.json";
55
<template>
66
<ul class="sponsors-list">
77
<li
8-
v-for="sponsor in [...sponsors.gold, ...sponsors.silver]"
8+
v-for="sponsor in sponsors.gold"
9+
class="sponsor sponsor--gold"
10+
:key="sponsor.name"
11+
>
12+
<a :href="sponsor.url" target="_blank" :title="sponsor.name">
13+
<img :src="sponsor.logo" :alt="sponsor.description" />
14+
</a>
15+
</li>
16+
</ul>
17+
<ul class="sponsors-list">
18+
<li
19+
v-for="sponsor in sponsors.silver"
20+
class="sponsor sponsor--silver"
921
:key="sponsor.name"
1022
>
1123
<a :href="sponsor.url" target="_blank" :title="sponsor.name">
@@ -23,17 +35,22 @@ import sponsors from "../../data/sponsors.json";
2335
list-style: none;
2436
justify-content: center;
2537
gap: 1.5rem;
26-
margin: 0;
38+
margin: 0 auto 3rem;
2739
padding: 0;
2840
}
2941
30-
.sponsors-list li {
31-
margin: 0;
32-
padding: 0;
42+
.sponsor--gold img {
43+
height: 8rem;
44+
width: auto;
3345
}
3446
35-
.sponsors-list img {
47+
.sponsor--silver img {
3648
height: 3rem;
3749
width: auto;
3850
}
51+
52+
.sponsors-list li {
53+
margin: 0;
54+
padding: 0;
55+
}
3956
</style>

docs/data/contributors.json

+1-1
Large diffs are not rendered by default.

docs/data/sponsors.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"gold": [
33
{
4-
"name": "Zuplo",
5-
"logo": "https://avatars.githubusercontent.com/u/85497839?s=200&v=4",
6-
"url": "https://zuplo.link/openapi-ts-web"
4+
"name": "Speakeasy",
5+
"logo": "/assets/speakeasy.svg",
6+
"url": "https://www.speakeasy.com/product/sdk-generation?utm_source=pow_openapi_ts"
77
}
88
],
99
"silver": [

docs/public/assets/speakeasy.svg

+1
Loading

0 commit comments

Comments
 (0)