FEAT: CategoryPage updated to display streams;

General fixes and cleanup of unecessary logging;
Update to 404 (NotFound) Page;
This commit is contained in:
Chris-1010
2025-02-07 03:57:54 +00:00
parent 16dc8f1ea2
commit 45208a51be
12 changed files with 225 additions and 42 deletions

View File

@@ -12,13 +12,11 @@ const HomePage: React.FC<HomePageProps> = ({ variant = "default" }) => {
const { featuredStreams, featuredCategories } = useStreams();
const navigate = useNavigate();
const handleStreamClick = (streamerId: number, streamerName: string) => {
console.log(`Navigating to stream by user ${streamerId}`);
const handleStreamClick = (streamerName: string) => {
navigate(`/${streamerName}`);
};
const handleCategoryClick = (categoryID: number, categoryName: string) => {
console.log(`Navigating to category ${categoryID}`);
const handleCategoryClick = (categoryName: string) => {
navigate(`category/${categoryName}`);
};