Revert "Docs: Add Themes page in Zh-TW (#1725)"

This reverts commit 3a8c9a6408.
This commit is contained in:
Fred K. Schott 2021-12-02 20:51:25 -08:00
parent df47077978
commit b098f04dc3
2 changed files with 0 additions and 53 deletions

View file

@ -135,7 +135,6 @@ export const SIDEBAR = {
{ text: '新手上路', link: 'zh-TW/getting-started' },
{ text: '快速開始', link: 'zh-TW/quick-start' },
{ text: '安裝', link: 'zh-TW/installation' },
{ text: '佈景主題', link: 'zh-TW/themes' },
],
bg: [
{ text: 'Главни', header: true },

View file

@ -1,52 +0,0 @@
---
import Layout from '../../layouts/MainLayout.astro';
import Card from '../../components/Card.astro';
import {Markdown} from 'astro/components';
import themes from '../../data/themes.json';
import components from '../../data/components.json';
---
<style>
.card-grid {
display: grid;
grid-column-gap: 15px;
grid-row-gap: 15px;
grid-auto-flow: dense;
grid-template-columns: repeat(auto-fit,minmax(300px,1fr))
}
</style>
<Layout content={{title: 'Themes'}} hideRightSidebar>
<Markdown>
## 精選佈景主題
</Markdown>
<div class="card-grid">
{themes.featured.map((item)=>(<Card data={item} />))}
</div>
<Markdown>
## 官方佈景主題
Astro 維護的文件網站、作品集⋯等官方佈景主題。
</Markdown>
<div class="card-grid">
{themes.official.map((item)=>(<Card data={item} />))}
</div>
<Markdown>
## 社群佈景主題
趕緊來看看社群開發的佈景主題!
</Markdown>
<div class="card-grid">
{themes.community.map((item)=>(<Card data={item} />))}
</div>
<Markdown>
## 精選套件
我們的套件生態持續成長!所有精選社群套件都可以在 [npm](https://www.npmjs.com/search?q=keywords%3Aastro-component) 發掘。
</Markdown>
<div class="card-grid">
{components.community.map((item)=>(<Card data={item} />))}
</div>
<Markdown>
> 想要讓自己的作品成為精選嗎?[在 Discord 分享!](https://astro.build/chat)
我們常在 `#showcase` 頻道取材,把深受喜愛的在這裡發布。
</Markdown>
</Layout>