UPDATE: Moved image files

UPDATE: Made AuthModal more responsive
This commit is contained in:
JustIceO7
2025-02-19 02:22:10 +00:00
parent 46645b74d7
commit bdaba30cd3
17 changed files with 103 additions and 107 deletions

View File

@@ -23,7 +23,7 @@ const AllCategoriesPage: React.FC = () => {
id: category.category_id,
title: category.category_name,
viewers: category.num_viewers,
thumbnail: `/images/thumbnails/categories/${category.category_name
thumbnail: `/images/category_thumbnails/${category.category_name
.toLowerCase()
.replace(/ /g, "_")}.webp`,
}));

View File

@@ -38,7 +38,7 @@ const CategoryPage: React.FC = () => {
thumbnail:
stream.thumbnail ||
(category_name &&
`/images/thumbnails/categories/${category_name
`/images/category_thumbnails/${category_name
.toLowerCase()
.replace(/ /g, "_")}.webp`),
}));

View File

@@ -77,7 +77,7 @@ const UserPage: React.FC = () => {
currentStreamStartTime: streamData.start_time,
currentStreamThumbnail:
streamData.thumbnail ||
`/images/thumbnails/categories/${streamData.category_name
`/images/category_thumbnails/${streamData.category_name
.toLowerCase()
.replace(/ /g, "_")}.webp`,
};