aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-02-18 06:30:15 -0800
committerFuwn <[email protected]>2024-02-18 06:30:15 -0800
commit6605c5ebcdb2cc3066fa2397929a29380feb13dc (patch)
tree84462741083908a6a41d749fc797f505ec840d8b /src
parentfeat(hololive): filter (diff)
downloaddue.moe-6605c5ebcdb2cc3066fa2397929a29380feb13dc.tar.xz
due.moe-6605c5ebcdb2cc3066fa2397929a29380feb13dc.zip
feat(user): link hololive badges to hololive schedule
Diffstat (limited to 'src')
-rw-r--r--src/routes/user/[user]/+page.svelte7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte
index 0d98c9ce..73feac0d 100644
--- a/src/routes/user/[user]/+page.svelte
+++ b/src/routes/user/[user]/+page.svelte
@@ -152,12 +152,7 @@
{@const avatar = schedule.dict[stream]}
{#if avatar}
- <a
- href={`https://www.youtube.com/results?search_query=${encodeURIComponent(
- stream
- )}`}
- target="_blank"
- >
+ <a href={root(`/hololive/${encodeURIComponent(stream)}`)} target="_blank">
<img
src={avatar}
alt="Avatar"