diff --git a/src/assets/style.css b/src/assets/style.css index b60c61f..bf9fae4 100644 --- a/src/assets/style.css +++ b/src/assets/style.css @@ -9,6 +9,8 @@ --color-bg-0: light-dark(oklch(95% 0 0), oklch(30% 0.02 270)); --color-fg-0: light-dark(oklch(25% 0.02 270), oklch(90% 0.02 270)); + + --color-link: light-dark(oklch(40% 0.2 270), oklch(80% 0.2 270)); } /* == 页面设置 == */ diff --git a/src/components/BoringLayout.astro b/src/components/BoringLayout.astro new file mode 100644 index 0000000..29c841c --- /dev/null +++ b/src/components/BoringLayout.astro @@ -0,0 +1,54 @@ +--- +/* 在博客翻新时期使用的占位 Layout,讲究的就是极简 */ + +import BaseLayout from '../components/BaseLayout.astro' + +interface Props { + title?: string +} + +const { title = '小帕的小窝' } = Astro.props +--- + + +
+ +
+
+ + diff --git a/src/pages/about.astro b/src/pages/about.astro new file mode 100644 index 0000000..94176e2 --- /dev/null +++ b/src/pages/about.astro @@ -0,0 +1,35 @@ +--- +import BoringLayout from '../components/BoringLayout.astro' + +const friends = [ + ['https://omega98.top', '核子的博客'], + ['https://tnot.top', 'TNOT 的博客'], + ['https://ruusuge.top', 'ルース毛的博客'], + ['https://akarin.dev/', '宸佬的博客'], + ['https://wzq02.top', 'wzq02 的博客'], +] +--- + + +

关于这里

+

之前,我心血来潮,写了一个自己的博客系统,但是我把它的源代码搞丢了!

+

正好想重新设计,所以,我打算重构了。但是,重构它很漫长

+

这里的占位的东西,会慢慢填充的!

+

友链

+

+ { + friends + .map((friend) => { + return {friend[1]} + }) + .map((block, i) => { + if (i == friends.length - 1) { + return block + } else { + return [block, ] + } + }) + .flat() + } +

+
diff --git a/src/pages/index.astro b/src/pages/index.astro index 6d82765..6f69db6 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,35 +1,9 @@ --- -import BaseLayout from '../components/BaseLayout.astro' +import BoringLayout from '../components/BoringLayout.astro' --- - -
-

博客系统翻新中...

-

点击 这里 查看旧版博客

-
-
- - + +

博客系统翻新中...

+

点击 这里 查看旧版博客

+

或者了解更多 关于这里

+