diff --git a/.dev.vars.example b/.dev.vars.example index 9afce7d..50a9f0b 100644 --- a/.dev.vars.example +++ b/.dev.vars.example @@ -6,12 +6,15 @@ ADMIN_PASSWORD= # 32+ random bytes, e.g. `openssl rand -hex 32` SESSION_SECRET= -# one-time: get a refresh token via the spotify authorization-code flow with -# scopes: user-read-currently-playing user-read-recently-played user-top-read -# without these the "now playing" / "on repeat" sections just stay hidden. -SPOTIFY_CLIENT_ID= -SPOTIFY_CLIENT_SECRET= -SPOTIFY_REFRESH_TOKEN= +# music widget — now playing + weekly scrobble stats from last.fm. reads a PUBLIC +# profile, so just a key (last.fm/api/account/create) + your username. no auth. +LASTFM_API_KEY= +LASTFM_USER= + +# (legacy) spotify — no longer used; the music widget is on last.fm now. +# SPOTIFY_CLIENT_ID= +# SPOTIFY_CLIENT_SECRET= +# SPOTIFY_REFRESH_TOKEN= # currently-reading widget — personal token from https://hardcover.app/account/api HARDCOVER_TOKEN= diff --git a/public/badges/brgr.png b/public/badges/brgr.png new file mode 100644 index 0000000..59f4243 Binary files /dev/null and b/public/badges/brgr.png differ diff --git a/src/components/Buttons.astro b/src/components/Buttons.astro index a171c25..891aecd 100644 --- a/src/components/Buttons.astro +++ b/src/components/Buttons.astro @@ -314,6 +314,10 @@ const badgeUrl = `https://${site.domain}/badges/zachy.gif`; z-index: 3; transform: translate(var(--x), calc(var(--y) - 5px)) rotate(0deg) scale(1.2); } + .badge:hover ~ .badge, + .badge:focus-visible ~ .badge { + transform: translate(var(--x), calc(var(--y) - 7px)) rotate(var(--t)); + } .badge:hover::before, .badge:focus-visible::before { top: 3px; diff --git a/src/components/Music.astro b/src/components/Music.astro index 7d251c6..a559fa1 100644 --- a/src/components/Music.astro +++ b/src/components/Music.astro @@ -22,7 +22,7 @@ import { Icon } from "astro-icon/components"; hidden /> -