mirror of
https://github.com/Ad-closeNN/blog-fuwari.git
synced 2026-05-31 01:20:06 -04:00
docs(pages): 获得了一个新的免费 .dev 域名
2. del(theme): 删除周日知更鸟主题的代码部分,资源文件未删除 3. chore(profile): 左侧个人资料 Profile 更换音乐:茉子の日常 4. chore(config): 删除 navbar 的“仓库信息”,重新加入 Home 按钮 5. docs(pages): 更新相关文档页面内容 6. fix(css): 修复复制按钮未正确显示的问题 7. chore(footer): 新增茶备案号 2025080144
This commit is contained in:
@@ -29,19 +29,7 @@ const config = profileConfig;
|
||||
<div class="h-1 w-5 bg-[var(--primary)] mx-auto rounded-full mb-2 transition"></div>
|
||||
|
||||
<!-- bio: 名言部分 -->
|
||||
<!--
|
||||
|
||||
{ isSunday &&
|
||||
<div class="text-center text-neutral-400 mb-2.5 transition">调整你的步伐,跟着节拍摇摆,举起双手拥抱你想成为的人</div>
|
||||
}
|
||||
|
||||
|
||||
{ !isSunday &&
|
||||
<div class="text-center text-neutral-400 mb-2.5 transition">{config.bio}</div>
|
||||
}
|
||||
-->
|
||||
|
||||
<div class="text-center text-neutral-400 mb-2.5 transition" id="bio"></div>
|
||||
|
||||
|
||||
<div class="flex gap-2 justify-center mb-1">
|
||||
@@ -80,20 +68,6 @@ const config = profileConfig;
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- 名言 -->
|
||||
<script>
|
||||
const bio = document.getElementById("bio");
|
||||
if (bio){
|
||||
const isSunday = new Date().getDay() === 0;
|
||||
if (isSunday){
|
||||
bio.textContent = "调整你的步伐,跟着节拍摇摆,举起双手拥抱你想成为的人"
|
||||
}
|
||||
else{
|
||||
bio.textContent = "永远相信美好的事情即将发生";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- 音乐 -->
|
||||
<script>
|
||||
(function () {
|
||||
@@ -110,7 +84,7 @@ const config = profileConfig;
|
||||
iframe.setAttribute('marginheight', '0');
|
||||
iframe.width = '250';
|
||||
iframe.height = '86';
|
||||
iframe.src = 'https://music.163.com/outchain/player?type=2&id=2608813264&auto=0&height=66';
|
||||
iframe.src = 'https://music.163.com/outchain/player?type=2&id=411500345&auto=1&height=66';
|
||||
const sundayMusicElement = document.getElementById('sunday-music');
|
||||
if (sundayMusicElement) {
|
||||
sundayMusicElement.appendChild(iframe);
|
||||
|
||||
Reference in New Issue
Block a user