Compare commits
2 Commits
f76e5719a2
...
75cd6ce315
| Author | SHA1 | Date | |
|---|---|---|---|
| 75cd6ce315 | |||
| fe3978ddbf |
BIN
public/static/images/maoliang.gif
Normal file
BIN
public/static/images/maoliang.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 MiB |
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user