mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
docs: bump vitepress version + add new sponsor
This commit is contained in:
parent
baa8c39074
commit
fb712732d6
@ -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 {
|
||||
|
@ -1,4 +1,11 @@
|
||||
[
|
||||
{
|
||||
"id": "stackblitz",
|
||||
"name": "StackBlitz",
|
||||
"href": "https://stackblitz.com/",
|
||||
"src": "/stackblitz.svg",
|
||||
"tier": "platinum"
|
||||
},
|
||||
{
|
||||
"id": "tailwind",
|
||||
"name": "Tailwind Labs",
|
||||
|
@ -25,7 +25,11 @@ footer: MIT Licensed | Copyright © 2019-present Evan You & Vite Contributors
|
||||
|
||||
<div class="frontpage sponsors">
|
||||
<h2>Sponsors</h2>
|
||||
<a v-for="{ href, src, name, id } of sponsors" :href="href" target="_blank" rel="noopener" aria-label="sponsor-img">
|
||||
<a v-for="{ href, src, name, id } of sponsors.filter(s => s.tier === 'platinum')" class="platinum" :href="href" target="_blank" rel="noopener" aria-label="sponsor-img">
|
||||
<img :src="src" :alt="name" :id="`sponsor-${id}`">
|
||||
</a>
|
||||
<br>
|
||||
<a v-for="{ href, src, name, id } of sponsors.filter(s => s.tier !== 'platinum')" :href="href" target="_blank" rel="noopener" aria-label="sponsor-img">
|
||||
<img :src="src" :alt="name" :id="`sponsor-${id}`">
|
||||
</a>
|
||||
<br>
|
||||
|
@ -1,3 +1,11 @@
|
||||
/assets/*
|
||||
cache-control: max-age=31536000
|
||||
cache-control: immutable
|
||||
cache-control: immutable
|
||||
|
||||
/*.svg
|
||||
cache-control: max-age=604800
|
||||
cache-control: immutable
|
||||
|
||||
/*.png
|
||||
cache-control: max-age=604800
|
||||
cache-control: immutable
|
||||
|
31
docs/public/stackblitz.svg
Normal file
31
docs/public/stackblitz.svg
Normal file
@ -0,0 +1,31 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 168 35">
|
||||
<g>
|
||||
<path fill="#1389FD" d="M10.344,20.653H0L18.909,0.167l-5.09,14.183h10.344L5.253,34.833L10.344,20.653z"/>
|
||||
<g>
|
||||
<path d="M40.873,23.036l3.336-1.95c0.707,1.838,2.092,3.025,4.554,3.025c2.346,0,3.166-0.99,3.166-2.093
|
||||
c0-1.47-1.328-2.035-4.271-2.884c-3.025-0.877-5.965-2.149-5.965-5.91c0-3.732,3.109-5.882,6.503-5.882
|
||||
c3.252,0,5.74,1.669,7.069,4.439l-3.28,1.895c-0.707-1.499-1.781-2.545-3.789-2.545c-1.641,0-2.602,0.849-2.602,1.979
|
||||
c0,1.216,0.763,1.866,3.762,2.771c3.139,0.99,6.475,2.036,6.475,6.079c0,3.704-2.969,5.967-7.182,5.967
|
||||
C44.605,27.928,41.947,25.977,40.873,23.036z"/>
|
||||
<path d="M62.678,16.901v5.881c0,1.526,1.103,1.555,3.195,1.441v3.31c-5.118,0.565-6.845-0.934-6.845-4.751v-5.881h-2.459v-3.508
|
||||
h2.459v-2.855l3.649-1.103v3.958h3.195v3.508H62.678z"/>
|
||||
<path d="M82.416,13.393v14.14h-3.647v-1.669c-1.018,1.272-2.545,2.064-4.609,2.064c-3.761,0-6.871-3.252-6.871-7.465
|
||||
s3.11-7.466,6.871-7.466c2.064,0,3.592,0.792,4.609,2.064v-1.669H82.416z M78.769,20.463c0-2.375-1.668-3.987-3.93-3.987
|
||||
c-2.234,0-3.903,1.612-3.903,3.987s1.669,3.986,3.903,3.986C77.101,24.45,78.769,22.838,78.769,20.463z"/>
|
||||
<path d="M84.994,20.463c0-4.213,3.166-7.466,7.464-7.466c2.771,0,5.176,1.471,6.334,3.648l-3.139,1.838
|
||||
c-0.565-1.159-1.782-1.895-3.224-1.895c-2.178,0-3.789,1.611-3.789,3.874c0,2.233,1.611,3.845,3.789,3.845
|
||||
c1.471,0,2.686-0.706,3.252-1.866l3.167,1.81c-1.215,2.206-3.62,3.677-6.391,3.677C88.16,27.928,84.994,24.676,84.994,20.463z"/>
|
||||
<path d="M109.568,27.533l-5.146-6.419v6.419h-3.647V7.739h3.647v11.876l4.864-6.222h4.354l-5.684,6.985l5.854,7.154H109.568z"/>
|
||||
<path d="M130.354,21.792c0,3.393-2.743,5.74-6.164,5.74h-8.398V7.739h7.805c3.336,0,6.022,2.262,6.022,5.57
|
||||
c0,1.696-0.707,3.026-1.866,3.959C129.337,18.173,130.354,19.728,130.354,21.792z M119.693,11.386v4.355h3.903
|
||||
c1.216,0,2.121-0.935,2.121-2.179s-0.877-2.177-2.121-2.177H119.693z M126.48,21.538c0-1.329-0.961-2.318-2.29-2.318h-4.497v4.665
|
||||
h4.497C125.52,23.884,126.48,22.895,126.48,21.538z"/>
|
||||
<path d="M132.733,6.89h3.647v20.643h-3.647V6.89z"/>
|
||||
<path d="M139.295,9.463c0-1.216,1.018-2.262,2.233-2.262c1.244,0,2.262,1.046,2.262,2.262s-1.018,2.233-2.262,2.233
|
||||
C140.313,11.697,139.295,10.679,139.295,9.463z M139.719,13.393h3.647v14.14h-3.647V13.393z"/>
|
||||
<path d="M151.597,16.901v5.881c0,1.526,1.103,1.555,3.195,1.441v3.31c-5.118,0.565-6.843-0.934-6.843-4.751v-5.881h-2.46v-3.508
|
||||
h2.46v-2.855l3.647-1.103v3.958h3.195v3.508H151.597z"/>
|
||||
<path d="M168,24.111v3.422h-11.169V25.1l5.966-8.284h-5.683v-3.423h10.603v2.433l-5.994,8.285H168z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.6 KiB |
@ -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",
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user