From a69d3f81ce93b3f41dfd873d14e994f4874261b0 Mon Sep 17 00:00:00 2001 From: passthem Date: Wed, 1 Apr 2026 01:45:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=99=E8=A8=80=E9=A1=B5=E6=90=9E=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MainpageComments.astro | 174 +++++++++++++++++++++++++ src/layout/BaseLayout.astro | 2 + src/layout/FullLayoutV1.astro | 4 +- src/pages/index.astro | 175 ++++++++++++++++++++++---- 4 files changed, 329 insertions(+), 26 deletions(-) create mode 100644 src/components/MainpageComments.astro diff --git a/src/components/MainpageComments.astro b/src/components/MainpageComments.astro new file mode 100644 index 0000000..4bff557 --- /dev/null +++ b/src/components/MainpageComments.astro @@ -0,0 +1,174 @@ +--- +// 不想写得屎长屎长,所以就用单独的文件写了 + +import { Image } from 'astro:assets' +--- + +
+ { + [ + [ + 'https://legacy.passthem.top/assets/ice-BN4Z25mt.jpg', + '超几何冰精', + '⑨', + <> +

+ @☀️ 可以当靶场玩吗 +

+

我喜欢passthem

+ , + ], + [ + 'https://legacy.passthem.top/assets/pigeon-16qh82EW.jpg', + 'pigeon某人', + '可爱的鸽子,Bilibili 著名 YTPMVer', + <> + 用户「pigeon某人」的个人形象的表情包 +

这个可以贴吗

+ , + ], + [ + 'https://legacy.passthem.top/assets/kio-DikBD7t4.jpg', + 'asynkio', + '西多kitaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', +

asynkio 祝 jazzwhom.top 開張大吉!

, + ], + [ + 'https://legacy.passthem.top/assets/leukos-Ci6_szKv.jpg', + 'leukos', + '冰镇西米露,在幻想乡被称作露米娅', +

帕,移动

, + ], + [ + 'https://legacy.passthem.top/assets/mono-BkJO6fUP.webp', + 'モノクロ子', + '全て変えるのなら黒にする。', + <> + <> +

pt的音mad做的特别厉害!当时给我看哭了……

+

谢谢你,pt。我希望有一天我也能做出那样的音mad。

+ + , + ], + [ + 'https://legacy.passthem.top/assets/graffiti-DHeEktlb.webp', + 'Graffiti_', + '泡壳老师,虽然是僵尸,却比人类都要暖', +

人与人之间是情感连接着的

, + ], + [ + 'https://legacy.passthem.top/assets/miskplar-CJpcFQZ_.webp', + 'miskplar', + '校友', +

后悔的时候,不要后悔

, + ], + [ + 'https://legacy.passthem.top/assets/sge-Da3d1ENG.webp', + '一根烤肠肠', + '小孩小孩你别馋,过了腊八就是年', +

产出作品是你持续站在舞台上的唯一方式

, + ], + [ + 'https://legacy.passthem.top/assets/aishi-OOmvQDjV.jpg', + '蔼石', + '校友,东方社团「有顶天变电站」运营中', + 表情包,东方project角色露娜萨·普莉兹姆利巴吃年糕, + ], + ].map((elements) => ( +
+
+ {`${elements[1]} +
+
{elements[1]}
+
{elements[2]}
+
+
+
{elements[3]}
+
+ )) + } +
+ + diff --git a/src/layout/BaseLayout.astro b/src/layout/BaseLayout.astro index 766647d..31bd852 100644 --- a/src/layout/BaseLayout.astro +++ b/src/layout/BaseLayout.astro @@ -3,6 +3,7 @@ import '../assets/style.css' import '../assets/fonts.css' import 'katex/dist/katex.min.css' import '@unocss/reset/tailwind-v4.css' +import { ClientRouter } from 'astro:transitions' interface Props { title?: string @@ -19,6 +20,7 @@ const { title = '小帕的小窝' } = Astro.props {title} + diff --git a/src/layout/FullLayoutV1.astro b/src/layout/FullLayoutV1.astro index e5ed0e6..aff162f 100644 --- a/src/layout/FullLayoutV1.astro +++ b/src/layout/FullLayoutV1.astro @@ -10,7 +10,7 @@ const { title = '小帕的小窝' } = Astro.props --- -
-
- -

当前页面还在开发中......

+ +
+

来自大家的留言

+
+ +
+
-
- +

当前页面还在开发中......

+ +