mirror of
https://github.com/saicaca/fuwari.git
synced 2025-02-12 16:30:06 +08:00
![L4Ph](/assets/img/avatar_default.png)
* add Frontmatter CMS * add biome * update * update * fixed & add docs * fix translation.ts * fix translation
23 lines
687 B
Plaintext
23 lines
687 B
Plaintext
---
|
|
|
|
import MainGridLayout from "../layouts/MainGridLayout.astro";
|
|
|
|
import { getEntry } from 'astro:content'
|
|
import {i18n} from "../i18n/translation";
|
|
import I18nKey from "../i18n/i18nKey";
|
|
import Markdown from "@components/misc/Markdown.astro";
|
|
|
|
const aboutPost = await getEntry('spec', 'about')
|
|
|
|
const { Content } = await aboutPost.render()
|
|
|
|
---
|
|
<MainGridLayout title={i18n(I18nKey.about)}>
|
|
<div class="flex w-full rounded-[var(--radius-large)] overflow-hidden relative min-h-[120px]">
|
|
<div class="card-base z-10 px-9 py-6 relative w-full ">
|
|
<Markdown class="mt-2">
|
|
<Content />
|
|
</Markdown>
|
|
</div>
|
|
</div>
|
|
</MainGridLayout> |