mirror of
https://github.com/fmhy/edit.git
synced 2025-11-28 00:41:20 +11:00
revert halloween theme (#4244)
This commit is contained in:
parent
dc1605ea66
commit
721d9a04e9
4 changed files with 61 additions and 330 deletions
|
|
@ -10,7 +10,7 @@ hero:
|
|||
title: Nov 2025 Updates 🍂
|
||||
link: /posts/Nov-2025
|
||||
image:
|
||||
src: /hall.png
|
||||
src: /test.png
|
||||
alt: FMHY Icon
|
||||
actions:
|
||||
- theme: brand
|
||||
|
|
@ -169,13 +169,13 @@ onMounted(() => {
|
|||
const setKawaii = () => {
|
||||
const images = document.querySelectorAll('.VPImage.image-src')
|
||||
images.forEach((img) => {
|
||||
img.src = '/uwu-hall.png'
|
||||
img.src = '/logo-uwu.svg'
|
||||
})
|
||||
}
|
||||
const resetKawaii = () => {
|
||||
const images = document.querySelectorAll('.VPImage.image-src')
|
||||
images.forEach((img) => {
|
||||
img.src = '/hall.png'
|
||||
img.src = '/test.png'
|
||||
})
|
||||
}
|
||||
if (kawaii === 'true') {
|
||||
|
|
@ -217,4 +217,4 @@ onMounted(() => {
|
|||
heroImage.addEventListener('click', handleClick);
|
||||
}
|
||||
})
|
||||
</script>
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue