Fix Docs layout: theme in zh-tw (#2100)
This commit is contained in:
parent
a4322d0ae3
commit
7265ca4ea8
1 changed files with 12 additions and 12 deletions
|
@ -1,20 +1,20 @@
|
||||||
---
|
---
|
||||||
import Layout from '../../layouts/MainLayout.astro';
|
import Layout from '../../layouts/MainLayout.astro';
|
||||||
import Card from '../../components/Card.astro';
|
import Card from '../../components/Card.astro';
|
||||||
import {Markdown} from 'astro/components';
|
import { Markdown } from 'astro/components';
|
||||||
import themes from '../../data/themes.json';
|
import themes from '../../data/themes.json';
|
||||||
import components from '../../data/components.json';
|
import components from '../../data/components.json';
|
||||||
---
|
---
|
||||||
<style>
|
<Layout content={{title: '佈景主題'}} hideRightSidebar>
|
||||||
.card-grid {
|
<style>
|
||||||
display: grid;
|
.card-grid {
|
||||||
grid-column-gap: 15px;
|
display: grid;
|
||||||
grid-row-gap: 15px;
|
grid-column-gap: 15px;
|
||||||
grid-auto-flow: dense;
|
grid-row-gap: 15px;
|
||||||
grid-template-columns: repeat(auto-fit,minmax(300px,1fr))
|
grid-auto-flow: dense;
|
||||||
}
|
grid-template-columns: repeat(auto-fit,minmax(300px,1fr))
|
||||||
</style>
|
}
|
||||||
<Layout content={{title: 'Themes'}} hideRightSidebar>
|
</style>
|
||||||
<Markdown>
|
<Markdown>
|
||||||
## 精選佈景主題
|
## 精選佈景主題
|
||||||
</Markdown>
|
</Markdown>
|
||||||
|
@ -46,7 +46,7 @@ import components from '../../data/components.json';
|
||||||
{components.community.map((item)=>(<Card data={item} />))}
|
{components.community.map((item)=>(<Card data={item} />))}
|
||||||
</div>
|
</div>
|
||||||
<Markdown>
|
<Markdown>
|
||||||
> 想要讓自己的作品成為精選嗎?[在 Discord 分享!](https://astro.build/chat)
|
> 想要讓自己的作品成為精選嗎?[在 Discord 分享!](https://astro.build/chat)
|
||||||
我們常在 `#showcase` 頻道取材,把深受喜愛的在這裡發布。
|
我們常在 `#showcase` 頻道取材,把深受喜愛的在這裡發布。
|
||||||
</Markdown>
|
</Markdown>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
Loading…
Reference in a new issue