diff --git a/docs/.vitepress/theme/sponsors.css b/docs/.vitepress/theme/sponsors.css index d069d7bc7..00b1e8e5f 100644 --- a/docs/.vitepress/theme/sponsors.css +++ b/docs/.vitepress/theme/sponsors.css @@ -8,10 +8,15 @@ } .sponsors img { - max-width: 200px; + max-width: 180px; height: 40px; display: block; - margin: 1.25rem 0; + margin-top: 1em; +} + +.sponsors a.platinum img { + max-width: 240px; + height: 60px; } .sponsors.frontpage { diff --git a/docs/.vitepress/theme/sponsors.json b/docs/.vitepress/theme/sponsors.json index fd4a2e944..93e1ee385 100644 --- a/docs/.vitepress/theme/sponsors.json +++ b/docs/.vitepress/theme/sponsors.json @@ -1,4 +1,11 @@ [ + { + "id": "stackblitz", + "name": "StackBlitz", + "href": "https://stackblitz.com/", + "src": "/stackblitz.svg", + "tier": "platinum" + }, { "id": "tailwind", "name": "Tailwind Labs", diff --git a/docs/index.md b/docs/index.md index 317d510f8..bed942c95 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,7 +25,11 @@ footer: MIT Licensed | Copyright © 2019-present Evan You & Vite Contributors

Sponsors

- + + + +
+
diff --git a/docs/public/_headers b/docs/public/_headers index f7fa3afc6..00f819dff 100644 --- a/docs/public/_headers +++ b/docs/public/_headers @@ -1,3 +1,11 @@ /assets/* cache-control: max-age=31536000 - cache-control: immutable \ No newline at end of file + cache-control: immutable + +/*.svg + cache-control: max-age=604800 + cache-control: immutable + +/*.png + cache-control: max-age=604800 + cache-control: immutable diff --git a/docs/public/stackblitz.svg b/docs/public/stackblitz.svg new file mode 100644 index 000000000..2c356bdfb --- /dev/null +++ b/docs/public/stackblitz.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/package.json b/package.json index f91ff6563..d180f1c2e 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "ts-jest": "^27.0.7", "ts-node": "^10.1.0", "typescript": "~4.4.3", - "vitepress": "^0.19.2", + "vitepress": "^0.20.0", "yorkie": "^2.0.0", "rollup": "^2.57.0", "esbuild": "^0.13.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c3dfa2c43..238fe7680 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -40,7 +40,7 @@ importers: ts-node: ^10.1.0 typescript: ~4.4.3 vite: workspace:* - vitepress: ^0.19.2 + vitepress: ^0.20.0 yorkie: ^2.0.0 devDependencies: '@microsoft/api-extractor': 7.18.17 @@ -75,7 +75,7 @@ importers: ts-node: 10.4.0_d3e11751f498564481cc5d710b5b838a typescript: 4.4.4 vite: link:packages/vite - vitepress: 0.19.2 + vitepress: 0.20.0 yorkie: 2.0.0 packages/create-app: @@ -8576,8 +8576,8 @@ packages: engines: {node: '>= 0.8'} dev: true - /vitepress/0.19.2: - resolution: {integrity: sha512-F8KY5gTfIa9B61by6rlGQE2K/fw2FIflld6UuB3SHTp0E5cblYGUkGfVwMiai+ets2ztDqWIiJJqpDBm/Cam1Q==} + /vitepress/0.20.0: + resolution: {integrity: sha512-+PZy1BAWha46hcaWqhB1Vet+2dwhebTnk900ZzrAgLiw4Dx0dQpnMRnDlrp5HR8fgmLNB1Ij9PJO4gh4tvb6gQ==} engines: {node: '>=12.0.0'} hasBin: true dependencies: