diff --git a/src/pages/channel.tsx b/src/pages/channel.tsx index 31a1f5c..25d419a 100644 --- a/src/pages/channel.tsx +++ b/src/pages/channel.tsx @@ -6,7 +6,7 @@ import { VideoContainer, } from "../components/video"; import { useParams, useSearchParams } from "react-router-dom"; -import { Card, CardFooter } from "@nextui-org/react"; +import { Button, Card, CardFooter } from "@nextui-org/react"; import { capitalize } from "../components/utils"; export default function ChannelPage() { @@ -48,45 +48,41 @@ export default function ChannelPage() { } else { return (
-
- -
- -
- -
-
- {channel.name} -
+ +
+ +
+ +
+
+ {channel.name}
- - -
+
+
+
-
-
+
+ {channel.tabs.map((tab, index) => { return ( -
{ setSearchParams({ tabId: String(index) }); setTab(undefined); }} key={tab.name} - className="text-xl font-bold p-4" + className="text-xl font-bold mt-4" > {capitalize(tab.name)} -
+ ); })}