aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2023-11-27 02:07:30 -0800
committerPinapelz <yukais@pinapelz.com>2023-11-27 02:07:30 -0800
commit5736050b0c9878825a51b5b69f75811de62e1309 (patch)
tree6e35c44e1618dc1878c8470b94ceb4ad4c795cc4 /src/pages
parentc3bedc484493bcc3b071b29b515666692451f735 (diff)
make channel-card name link to channel
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/stats/[slug].tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pages/stats/[slug].tsx b/src/pages/stats/[slug].tsx
index 6fe6460..fc3f8bf 100644
--- a/src/pages/stats/[slug].tsx
+++ b/src/pages/stats/[slug].tsx
@@ -5,8 +5,10 @@ import { ChannelCard } from "@/components/channel-card";
import DataChart from "@/components/DataChart/DataChart";
import Footer from "@/components/Footer/Footer";
import Head from 'next/head'
+import { channel } from "diagnostics_channel";
interface ChannelDataProp {
+ channel_id: string;
channel_name: string;
profile_pic: string;
subscribers: number;
@@ -55,6 +57,7 @@ function Page({ chartData, channelData, sevenDayGraphData, slug }: { chartData:
<div className="flex justify-center">
<div className="flex flex-col items-center">
<ChannelCard
+ channel_id={channelData.channel_id}
name={channelData.channel_name}
avatarUrl={channelData.profile_pic}
subscriberCount={channelData.subscribers}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage