2023-09-29 11:58:14 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
import MainGridLayout from "../layouts/MainGridLayout.astro";
|
|
|
|
|
|
|
|
import { getEntry } from 'astro:content'
|
2023-10-06 02:53:47 +08:00
|
|
|
import {i18n} from "../i18n/translation";
|
|
|
|
import I18nKey from "../i18n/i18nKey";
|
2024-01-21 13:54:41 +09:00
|
|
|
import Markdown from "@components/misc/Markdown.astro";
|
2023-09-29 11:58:14 +08:00
|
|
|
|
|
|
|
const aboutPost = await getEntry('spec', 'about')
|
|
|
|
|
|
|
|
const { Content } = await aboutPost.render()
|
|
|
|
|
|
|
|
---
|
2023-10-06 02:53:47 +08:00
|
|
|
<MainGridLayout title={i18n(I18nKey.about)}>
|
2023-09-29 11:58:14 +08:00
|
|
|
<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 ">
|
2023-11-03 16:22:33 +08:00
|
|
|
<Markdown class="mt-2">
|
2023-09-29 11:58:14 +08:00
|
|
|
<Content />
|
2023-11-03 16:22:33 +08:00
|
|
|
</Markdown>
|
2023-09-29 11:58:14 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</MainGridLayout>
|