This commit is contained in:
BIN
src/assets/mainpage_avatars/passthem.png
Normal file
BIN
src/assets/mainpage_avatars/passthem.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 675 KiB |
@ -8,13 +8,10 @@ import MainpageComments from '../components/MainpageComments.astro'
|
||||
import MainpageTypewriter from '../components/MainpageTypewriter.svelte'
|
||||
import { Image } from 'astro:assets'
|
||||
import { Icon } from 'astro-icon/components'
|
||||
import PassthemAvatar from '../assets/mainpage_avatars/passthem.png'
|
||||
|
||||
import { mainpageGetClick } from '../lib/apis/legacy/mainpage'
|
||||
|
||||
// 常量定义
|
||||
const AVATAR_URL =
|
||||
'https://cdn.passthem.top/sharex/2026/03/%E6%93%A6%E6%B1%97%E5%90%8E_%E6%96%B9%E5%BD%A2.png.upscale.png'
|
||||
|
||||
// 无用按钮的数字预注入
|
||||
let initialClicks = 0
|
||||
|
||||
@ -33,11 +30,12 @@ try {
|
||||
<div class="self-introduction">
|
||||
<figure class="avatar">
|
||||
<Image
|
||||
src={AVATAR_URL}
|
||||
src={PassthemAvatar}
|
||||
alt="passthem 的头像,一个戴眼镜的男孩"
|
||||
loading="eager"
|
||||
width={240}
|
||||
height={240}
|
||||
densities={[1.5, 2]}
|
||||
/>
|
||||
</figure>
|
||||
<div class="descriptions">
|
||||
|
||||
Reference in New Issue
Block a user