From 835e03620ab0297602ee591686fb6b3d5f6ef0b9 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 18 Feb 2024 06:31:33 -0800
Subject: feat(stream): filter on avatar click

---
 src/lib/Hololive/Stream.svelte | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/lib/Hololive/Stream.svelte')

diff --git a/src/lib/Hololive/Stream.svelte b/src/lib/Hololive/Stream.svelte
index 22a3edb4..18ce158b 100644
--- a/src/lib/Hololive/Stream.svelte
+++ b/src/lib/Hololive/Stream.svelte
@@ -1,4 +1,5 @@
 <script lang="ts">
+	import root from '$lib/Utility/root';
 	import identity from '$stores/identity';
 	import locale from '$stores/locale';
 	import Icon from '@iconify/svelte';
@@ -33,7 +34,9 @@
 			>{:else if new Date(live.time).getTime() < Date.now()}
 			<span class="ended">{$locale().hololive.ended}</span>{:else}
 			<span class="upcoming">{$locale().hololive.upcoming}</span>{/if}]
-		<img src={icon} alt="Profile" class="stream-icon" />
+		<a href={root(`/hololive/${encodeURIComponent(live.streamer)}`)}>
+			<img src={icon} alt="Profile" class="stream-icon" />
+		</a>
 		<b>{live.streamer}</b> <span class="opaque">|</span>
 		{$locale().hololive.dateFormatter(new Date(live.time))}
 		{#if live.guests.length > 0}
-- 
cgit v1.2.3

