Skip to content

Commit d750586

Browse files
committed
docs: add Jacob to Fastify plugin collaborators
1 parent f017284 commit d750586

29 files changed

+151
-9
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<script setup lang="ts">
2+
type Person = {
3+
github: string;
4+
name: string;
5+
};
6+
7+
defineProps<{
8+
people: Person[];
9+
}>();
10+
</script>
11+
12+
<template>
13+
<ul class="authors-list">
14+
<li v-for="person in people" :key="person.github">
15+
<a :href="person.github" rel="noopener noreferrer" target="_blank">
16+
<img :alt="person.name" :src="`${person.github}.png`" />
17+
<h3>{{ person.name }}</h3>
18+
</a>
19+
</li>
20+
</ul>
21+
</template>

docs/.vitepress/theme/custom.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,51 @@ iframe {
4848
margin: 0;
4949
}
5050

51+
.authors-list {
52+
display: flex;
53+
flex-wrap: wrap;
54+
font-size: 1rem;
55+
gap: 1em;
56+
padding: 0 !important;
57+
}
58+
59+
.authors-list img {
60+
border-radius: 50%;
61+
display: block;
62+
height: 2rem;
63+
width: 2rem;
64+
}
65+
66+
.authors-list a {
67+
align-items: center;
68+
border: 1px solid transparent;
69+
border-radius: 10px;
70+
display: flex;
71+
column-gap: 0.4em;
72+
padding: 0.4em 0.6em;
73+
text-decoration: none;
74+
transition: border-color ease-out 300ms;
75+
}
76+
77+
.authors-list h3 {
78+
color: var(--vp-c-text-1);
79+
font-size: inherit;
80+
margin: 0;
81+
}
82+
83+
.authors-list a::after {
84+
display: none !important;
85+
}
86+
87+
.authors-list li {
88+
margin: 0 !important;
89+
}
90+
91+
h3#demo + iframe,
92+
h3#demo + button {
93+
margin: 1rem 0 0;
94+
}
95+
5196
.buttonLink {
5297
color: var(--vp-c-brand-1);
5398
font-size: 16px;
@@ -67,6 +112,7 @@ iframe {
67112
text-align: center;
68113
}
69114

115+
.authors-list li,
70116
.home-list li,
71117
.sponsors-list li {
72118
list-style: none;
@@ -129,6 +175,7 @@ iframe {
129175
width: 100%;
130176
}
131177

178+
html.dark .authors-list li > a,
132179
html.dark .sponsors-list li > a {
133180
background-color: var(--vp-button-brand-bg);
134181
}
@@ -138,6 +185,8 @@ html.dark .sponsors-list li > a {
138185
display: none;
139186
}
140187

188+
.authors-list li > a:hover,
189+
.authors-list li > a:focus,
141190
.sponsors-list li > a:hover,
142191
.sponsors-list li > a:focus {
143192
border-color: var(--vp-c-brand-1);

docs/.vitepress/theme/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ import DefaultTheme from 'vitepress/theme';
55
// custom CSS must be imported after default theme to correctly apply styles
66
import './custom.css';
77

8+
import AuthorsList from './components/AuthorsList.vue';
89
import Layout from './Layout.vue';
910

1011
export default {
1112
Layout,
13+
enhanceApp: ({ app }) => {
14+
app.component('AuthorsList', AuthorsList);
15+
},
1216
extends: DefaultTheme,
1317
} satisfies Theme;

docs/openapi-ts/clients/axios.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ import { embedProject } from '../../embed'
1313
Axios client is currently in beta. The interface might change before it becomes stable. We encourage you to leave feedback on [GitHub](https://github.com/hey-api/openapi-ts/issues).
1414
:::
1515

16+
### About
17+
1618
[Axios](https://axios-http.com/) is a simple promise based HTTP client for the browser and Node.js. Axios provides a simple to use library in a small package with a very extensible interface.
1719

20+
### Demo
21+
1822
<button class="buttonLink" @click="(event) => embedProject('hey-api-client-axios-example')(event)">
19-
Live demo
23+
Launch demo
2024
</button>
2125

2226
## Installation

docs/openapi-ts/clients/fetch.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ import { embedProject } from '../../embed'
1313
Fetch API client is currently in beta. The interface might change before it becomes stable. We encourage you to leave feedback on [GitHub](https://github.com/hey-api/openapi-ts/issues).
1414
:::
1515

16+
### About
17+
1618
The [Fetch API](https://developer.mozilla.org/docs/Web/API/Fetch_API) provides an interface for fetching resources (including across the network). It is a more powerful and flexible replacement for XMLHttpRequest.
1719

20+
### Demo
21+
1822
<button class="buttonLink" @click="(event) => embedProject('hey-api-client-fetch-example')(event)">
19-
Live demo
23+
Launch demo
2024
</button>
2125

2226
## Installation

docs/openapi-ts/clients/next-js.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ description: Next.js client for Hey API. Compatible with all our features.
99
Next.js client is currently in beta. The interface might change before it becomes stable. We encourage you to leave feedback on [GitHub](https://github.com/hey-api/openapi-ts/issues).
1010
:::
1111

12+
### About
13+
1214
[Next.js](https://nextjs.org/) is the React framework for the web. Used by some of the world's largest companies, Next.js enables you to create high-quality web applications with the power of React components.
1315

1416
<!-- <button class="buttonLink" @click="(event) => embedProject('hey-api-client-next-example')(event)">
15-
Live demo
17+
Launch demo
1618
</button> -->
1719

1820
## Installation

docs/openapi-ts/clients/nuxt.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ description: Nuxt client for Hey API. Compatible with all our features.
99
Nuxt client is currently in beta. The interface might change before it becomes stable. We encourage you to leave feedback on [GitHub](https://github.com/hey-api/openapi-ts/issues).
1010
:::
1111

12+
### About
13+
1214
[Nuxt](https://nuxt.com/) is an open source framework that makes web development intuitive and powerful.
1315

1416
<!-- <button class="buttonLink" @click="(event) => embedProject('hey-api-client-fetch-example')(event)">
15-
Live demo
17+
Launch demo
1618
</button> -->
1719

1820
## Installation

docs/openapi-ts/get-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ This package is in initial development. The interface might change before it bec
1515

1616
[@hey-api/openapi-ts](https://github.com/hey-api/openapi-ts) is an OpenAPI to TypeScript codegen trusted more than 800k times each month to generate reliable API clients and SDKs. The code is [MIT-licensed](/license) and free to use. Discover available features below or view our [roadmap](https://github.com/orgs/hey-api/discussions/1495) to learn what's coming next.
1717

18+
### Demo
19+
1820
<button class="buttonLink" @click="(event) => embedProject('hey-api-example')(event)">
19-
Live demo
21+
Launch demo
2022
</button>
2123

2224
## Features

docs/openapi-ts/plugins/ajv.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ description: Ajv plugin for Hey API. Compatible with all our features.
99
This feature isn't in development yet. Help us prioritize it by voting on [GitHub](https://github.com/hey-api/openapi-ts/issues/1476).
1010
:::
1111

12+
### About
13+
1214
[Ajv](https://ajv.js.org/) is the fastest JSON validator for Node.js and browser.
1315

1416
<!--@include: ../../sponsors.md-->

docs/openapi-ts/plugins/arktype.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ description: Arktype plugin for Hey API. Compatible with all our features.
99
This feature isn't in development yet. Help us prioritize it by voting on [GitHub](https://github.com/hey-api/openapi-ts/issues/1473).
1010
:::
1111

12+
### About
13+
1214
[Arktype](https://arktype.io/) is a TypeScript's 1:1 validator, optimized from editor to runtime.
1315

1416
<!--@include: ../../sponsors.md-->

0 commit comments

Comments
 (0)