mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 02:08:36 +02:00
docs: add Seven-innovation-base to showcase (#7144)
* Update users.tsx * Add files via upload * Update users.tsx * Update users.tsx * Delete 1.png * Add files via upload * optimize image * fix tags Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
f4ab7c65ac
commit
0abf4d706c
3 changed files with 9 additions and 1 deletions
|
@ -25,7 +25,7 @@ await Promise.all(
|
|||
new URL(`../../website/src/data/showcase/${img}`, import.meta.url),
|
||||
);
|
||||
const {width, height} = imageSize(imgPath);
|
||||
if (width === 640 && height === 320) {
|
||||
if (width === 640 && height === 320 && imgPath.endsWith('.png')) {
|
||||
// Do not emit if not resized. Important because we can't guarantee
|
||||
// idempotency during resize -> optimization
|
||||
return;
|
||||
|
|
BIN
website/src/data/showcase/seven-innovation-base.png
Normal file
BIN
website/src/data/showcase/seven-innovation-base.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
|
@ -1617,6 +1617,14 @@ const Users: User[] = [
|
|||
source: 'https://github.com/sciwp/docs',
|
||||
tags: ['opensource'],
|
||||
},
|
||||
{
|
||||
title: 'Seven-innovation-base official website',
|
||||
description: 'About seven-innovation-base',
|
||||
preview: require('./showcase/seven-innovation-base.png'),
|
||||
website: 'https://七院创新基地.cn',
|
||||
source: 'https://github.com/seven-innovation-base/official-website',
|
||||
tags: ['opensource', 'personal'],
|
||||
},
|
||||
{
|
||||
title: 'Single SPA',
|
||||
description: 'A javascript router for front-end microservices',
|
||||
|
|
Loading…
Add table
Reference in a new issue