diff --git a/src/assets/mainpage_avatars/igbt.png b/src/assets/mainpage_avatars/igbt.png new file mode 100755 index 0000000..38f8ebe Binary files /dev/null and b/src/assets/mainpage_avatars/igbt.png differ diff --git a/src/pages/index.astro b/src/pages/index.astro index 2fe0312..0c5ab95 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,15 +1,18 @@ --- export const prerender = false -// import BoringLayout from '../layout/BoringLayout.astro' import FullLayoutV1 from '../layout/FullLayoutV1.astro' + import MainpageButton from '../components/MainpageButton.svelte' import MainpageComments from '../components/MainpageComments.astro' import MainpageTypewriter from '../components/MainpageTypewriter.svelte' import MainpageContactMe from '../components/MainpageContactMe.svelte' + import { Image } from 'astro:assets' import { Icon } from 'astro-icon/components' + import PassthemAvatar from '../assets/mainpage_avatars/passthem.png' +import IgbtAvatar from '../assets/mainpage_avatars/igbt.png' import { mainpageGetClick } from '../lib/apis/legacy/mainpage' @@ -121,63 +124,75 @@ try {
{ [ - [ - 'https://omega98.top/images/blog_avatar.jpg', - 'https://omega98.top', - '核子的博客', - ], - ['https://www.tnot.top/logo.png', 'https://tnot.top', 'TNOT 的博客'], - [ - 'https://ruusuge.top/img/logo_hu_cc283ac364b1bc0b.png', - 'https://ruusuge.top', - 'ルース毛的博客', - ], - [ - 'https://cdn.jsdelivr.net/gh/TransparentLC/transparentlc.github.io/img/avatar.jpg', - 'https://akarin.dev', - '存在感消失的地方', - ], - [ - 'https://wzq02.top/assets/icons/favicon-96x96.png', - 'https://wzq02.top', - 'wzq02 的博客', - ], - [ - 'https://pics.r1kka.one/file/1738764637932_-305500c1acccdf39.jpg', - 'https://r1kka.one/', - "Rikka's Blog", - ], - [ - 'https://shimizukaede.top/vite.svg', - 'https://shimizukaede.top', - 'Kaede 的博客', - ], - [ - 'https://nonerd.tech/assets/apple-touch-icon.png', - 'https://nonerd.tech/', - '废柴铁克诺', - ], - [ - 'https://legacy.passthem.top/assets/ydt-DIeb2Djx.png', - 'https://qm.qq.com/q/nDnHUy9KQo', - '有顶天变电站 (QQ)', - ], - [ - 'https://legacy.passthem.top/assets/lfxdxy-BogfTZvz.png', - 'https://qm.qq.com/q/QOpCVZcvyS', - '六方相的新月 (QQ)', - ], + { + avatar: 'https://omega98.top/images/blog_avatar.jpg', + href: 'https://omega98.top', + name: '核子的博客', + }, + { + avatar: 'https://www.tnot.top/logo.png', + href: 'https://tnot.top', + name: 'TNOT 的博客', + }, + { + avatar: 'https://ruusuge.top/img/logo_hu_cc283ac364b1bc0b.png', + href: 'https://ruusuge.top', + name: 'ルース毛的博客', + }, + { + avatar: IgbtAvatar, + href: 'https://zetsuengate.org', + name: 'IGBT :: Home', + }, + { + avatar: + 'https://cdn.jsdelivr.net/gh/TransparentLC/transparentlc.github.io/img/avatar.jpg', + href: 'https://akarin.dev', + name: '存在感消失的地方', + }, + { + avatar: 'https://wzq02.top/assets/icons/favicon-96x96.png', + href: 'https://wzq02.top', + name: 'wzq02 的博客', + }, + { + avatar: + 'https://pics.r1kka.one/file/1738764637932_-305500c1acccdf39.jpg', + href: 'https://r1kka.one/', + name: "Rikka's Blog", + }, + { + avatar: 'https://shimizukaede.top/vite.svg', + href: 'https://shimizukaede.top', + name: 'Kaede 的博客', + }, + { + avatar: 'https://nonerd.tech/assets/apple-touch-icon.png', + href: 'https://nonerd.tech/', + name: '废柴铁克诺', + }, + { + avatar: 'https://legacy.passthem.top/assets/ydt-DIeb2Djx.png', + href: 'https://qm.qq.com/q/nDnHUy9KQo', + name: '有顶天变电站 (QQ)', + }, + { + avatar: 'https://legacy.passthem.top/assets/lfxdxy-BogfTZvz.png', + href: 'https://qm.qq.com/q/QOpCVZcvyS', + name: '六方相的新月 (QQ)', + }, ].map((b) => ( - +
{`网站「${b[2]}」的图标`}
-
{b[2]}
+
{b.name}
)) }