Skip to content

Commit b2a9c8f

Browse files
authored
Add logos to docs (#1540)
1 parent 6e77865 commit b2a9c8f

File tree

10 files changed

+68
-6
lines changed

10 files changed

+68
-6
lines changed

docs/.vitepress/config.ts

+4
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,9 @@ export default defineConfig({
9797
socialLinks: [
9898
{ icon: "github", link: "https://github.com/drwpow/openapi-typescript" },
9999
],
100+
footer: {
101+
message:
102+
'Released under the <a href="https://github.com/drwpow/openapi-typescript/blob/main/packages/openapi-typescript/LICENSE">MIT License</a>.',
103+
},
100104
},
101105
});

docs/.vitepress/theme/style.css

+35
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,38 @@ code {
180180
.DocSearch {
181181
--docsearch-primary-color: var(--vp-c-brand-1) !important;
182182
}
183+
184+
/**
185+
* Component: Homepage logos
186+
* -------------------------------------------------------------------------- */
187+
.logo-salad {
188+
display: flex;
189+
flex-direction: column;
190+
justify-content: center;
191+
margin-left: 2.5rem;
192+
margin-right: 2.5rem;
193+
margin-top: 3rem;
194+
text-align: center;
195+
}
196+
197+
.logo-salad h3 {
198+
color: var(--vp-c-text-3);
199+
font-size: 0.875rem;
200+
font-weight: 600;
201+
letter-spacing: 0.0625em;
202+
margin-bottom: 2rem;
203+
text-transform: uppercase;
204+
}
205+
206+
.logo-salad-list {
207+
align-items: center;
208+
display: flex;
209+
flex-wrap: wrap;
210+
gap: 2.5rem;
211+
justify-content: center;
212+
}
213+
214+
.logo-salad-list svg {
215+
fill: var(--vp-c-text-1);
216+
width: auto;
217+
}

docs/index.md

+22-6
Large diffs are not rendered by default.

docs/public/assets/bigcommerce.svg

+1
Loading

docs/public/assets/fedora.svg

+1
Loading

docs/public/assets/firebase.svg

+1
Loading

0 commit comments

Comments
 (0)