调整关于页面
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-01 22:57:24 +08:00
parent 8fa4ed1b0d
commit 14c30a2a30
2 changed files with 7 additions and 26 deletions

View File

@ -35,6 +35,10 @@ const { title = '小帕的小窝' } = Astro.props
margin-block: 1rem;
}
& :global(p) {
margin-block: 0.25rem;
}
& :global(a) {
color: var(--color-link);
text-decoration: none;

View File

@ -1,36 +1,13 @@
---
import BoringLayout from '../layout/BoringLayout.astro'
const friends = [
['https://omega98.top', '核子的博客'],
['https://tnot.top', 'TNOT 的博客'],
['https://ruusuge.top', 'ルース毛的博客'],
['https://akarin.dev/', '宸佬的博客'],
['https://wzq02.top', 'wzq02 的博客'],
['https://r1kka.one/', "Rikka's Blog"],
]
---
<BoringLayout title="关于">
<h1>关于<a href="/">这里</a></h1>
<p>这里是 passthem 和他朋友们的博客</p>
<p>主要由我也就是 passthem 运维这个网站,但是我会接收朋友们的投稿</p>
<h1>怎么感觉有点未完成</h1>
<p>之前,我心血来潮,写了一个自己的博客系统,但是我把它的源代码搞丢了!</p>
<p>正好想重新设计,所以,我打算重构了。但是,重构它很漫长</p>
<p>这里的占位的东西,会慢慢填充的!</p>
<h1>友链</h1>
<p>
{
friends
.map((friend) => {
return <a href={friend[0]}>{friend[1]}</a>
})
.map((block, i) => {
if (i == friends.length - 1) {
return block
} else {
return [block, <span>・</span>]
}
})
.flat()
}
</p>
</BoringLayout>