diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 02fffbe66..cedf6fc95 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -97,5 +97,9 @@ export default defineConfig({ socialLinks: [ { icon: "github", link: "https://github.com/drwpow/openapi-typescript" }, ], + footer: { + message: + 'Released under the MIT License.', + }, }, }); diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index d1e8d5c27..b8b5b94a2 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -180,3 +180,38 @@ code { .DocSearch { --docsearch-primary-color: var(--vp-c-brand-1) !important; } + +/** + * Component: Homepage logos + * -------------------------------------------------------------------------- */ +.logo-salad { + display: flex; + flex-direction: column; + justify-content: center; + margin-left: 2.5rem; + margin-right: 2.5rem; + margin-top: 3rem; + text-align: center; +} + +.logo-salad h3 { + color: var(--vp-c-text-3); + font-size: 0.875rem; + font-weight: 600; + letter-spacing: 0.0625em; + margin-bottom: 2rem; + text-transform: uppercase; +} + +.logo-salad-list { + align-items: center; + display: flex; + flex-wrap: wrap; + gap: 2.5rem; + justify-content: center; +} + +.logo-salad-list svg { + fill: var(--vp-c-text-1); + width: auto; +} diff --git a/docs/index.md b/docs/index.md index d182ae158..9be73008f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -14,10 +14,26 @@ hero: link: https://github.com/drwpow/openapi-typescript features: - - title: Extremely lightweight - details: Static TypeScript types are runtime-free for maximum performance and minimal client weight. - - title: Type-safe fetch client - details: Validate requests & responses automatically using your OpenAPI schema, and throw TypeScript errors on mismatches. - - title: Built on Redocly CLI - details: Use Redocly’s powerful validation and schema authoring tools while reducing configuration. + - title: Blazing Fast + details: Nothing is faster than instant. Static TypeScript types provide zero runtime performance and zero client weight. + - title: Type-safe + details: Use your OpenAPI schema to typecheck your entire codebase with no setup and no tests. + - title: Works anywhere + details: Runs anywhere TypeScript does. Works for any stack and any framework. --- + +
+ +### Used by + + + +
diff --git a/docs/public/assets/bigcommerce.svg b/docs/public/assets/bigcommerce.svg new file mode 100644 index 000000000..8711416a2 --- /dev/null +++ b/docs/public/assets/bigcommerce.svg @@ -0,0 +1 @@ + diff --git a/docs/public/assets/fedora.svg b/docs/public/assets/fedora.svg new file mode 100644 index 000000000..4743289ae --- /dev/null +++ b/docs/public/assets/fedora.svg @@ -0,0 +1 @@ + diff --git a/docs/public/assets/firebase.svg b/docs/public/assets/firebase.svg new file mode 100644 index 000000000..448a17e91 --- /dev/null +++ b/docs/public/assets/firebase.svg @@ -0,0 +1 @@ + diff --git a/docs/public/assets/github-wordmark.svg b/docs/public/assets/github-wordmark.svg new file mode 100644 index 000000000..5880b0333 --- /dev/null +++ b/docs/public/assets/github-wordmark.svg @@ -0,0 +1 @@ + diff --git a/docs/public/assets/netlify.svg b/docs/public/assets/netlify.svg new file mode 100644 index 000000000..d6abc2e55 --- /dev/null +++ b/docs/public/assets/netlify.svg @@ -0,0 +1 @@ + diff --git a/docs/public/assets/nuxt.svg b/docs/public/assets/nuxt.svg new file mode 100644 index 000000000..9d1903130 --- /dev/null +++ b/docs/public/assets/nuxt.svg @@ -0,0 +1 @@ + diff --git a/docs/public/assets/supabase.svg b/docs/public/assets/supabase.svg new file mode 100644 index 000000000..a8fce38af --- /dev/null +++ b/docs/public/assets/supabase.svg @@ -0,0 +1 @@ +