2 Commits

Author SHA1 Message Date
75cd6ce315 Merge branch 'dev' of code.2ha.me:dev.2ha.me/dev.2ha.me into dev 2025-05-09 15:53:04 +08:00
fe3978ddbf 添加缺少的gif资源 2025-05-09 15:53:01 +08:00
4 changed files with 4 additions and 43 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 MiB

View File

@@ -13,7 +13,7 @@ interface Track {
outerurl: string
}
const SpotifyPresence = () => {
const Music163Player = () => {
const [displayData, setDisplayData] = useState<Track | null>(null)
const [isLoading, setIsLoading] = useState(true)
const [isPlaying, setIsPlaying] = useState(false);
@@ -47,7 +47,7 @@ const SpotifyPresence = () => {
album: {
'#text': lastweekFirstSong.al.name
},
image: [{'#text': lastweekFirstSong.al.picUrl}],
image: [{'#text': lastweekFirstSong.al.picUrl.replace('http:', 'https:')}],
url: 'https://music.163.com/song?id=' + lastweekFirstSong.id,
outerurl: "https://music.163.com/song/media/outer/url?id=" + lastweekFirstSong.id + ".mp3"
}
@@ -160,4 +160,4 @@ const SpotifyPresence = () => {
)
}
export default SpotifyPresence
export default Music163Player

View File

@@ -143,7 +143,7 @@ const authors = await getCollection('authors')
</TableCell>
<TableCell className="text-right">
<Link href="https://www.bilibili.com/video/BV1462uY8Eo4" target="_blank">
<img class="h-12 w-25" src="/static/images/output.gif" />
<img class="h-12 w-25" src="/static/images/maoliang.gif" />
</Link>
</TableCell>
</TableRow>

View File

@@ -36,46 +36,7 @@ const latestPost = await getCollection('blog').then((posts: any[]) =>
role="img"
aria-label="Introduction"
>
<!-- <div
class="overlay size-full rounded-3xl bg-[url('/static/404.webp')] bg-cover bg-center bg-no-repeat opacity-0 transition-opacity duration-200"
>
</div> -->
<!-- class="first relative flex aspect-square justify-center rounded-3xl border [grid-area:a] sm:aspect-[2.1/1] xl:aspect-auto" -->
<!-- {
bgIndex && (<img
class="no-repeat relative w-full max-w-fit justify-center rounded-3xl object-cover"
src="/static/images/tou.gif"
style="filter: contrast(2) saturate(0) invert(100) sepia(100); border-color: #afafaf;"
/>)
}
{
!bgIndex && (
<img
class="no-repeat relative w-full max-w-fit justify-center rounded-3xl object-cover"
src="/static/images/maoliang.gif"
/>)
} -->
<RandomAnimeBackground client:load/>
<!-- <div class="absolute self-end p-2 justify-center">
<FuzzyText
client:load
baseIntensity={0.04}
hoverIntensity={0.24}
fontSize={96}
color="#fbb229"
,>4O4</FuzzyText
>
<div class="mb-3 mt-3"></div>
<FuzzyText
client:load
baseIntensity={0.04}
hoverIntensity={0.24}
fontSize={36}
color="#f95038">Not Found</FuzzyText
>
</div> -->
</div>
<div