Multi-file games lists, clicking a game leads to mod search for that game, search redirects, pagination optimizations #38

Merged
freakoverse merged 11 commits from staging into master 2024-09-18 19:30:26 +00:00
Showing only changes of commit 876f986ea5 - Show all commits

View File

@ -629,7 +629,7 @@ const GamesResult = ({ searchTerm }: GamesResultProps) => {
<> <>
{isProcessingCSVFile && <LoadingSpinner desc='Processing games file' />} {isProcessingCSVFile && <LoadingSpinner desc='Processing games file' />}
<div className='IBMSecMain IBMSMListWrapper'> <div className='IBMSecMain IBMSMListWrapper'>
<div className='IBMSMList'> <div className='IBMSMList IBMSMListFeaturedAlt'>
{filteredGames {filteredGames
.slice((page - 1) * MAX_GAMES_PER_PAGE, page * MAX_GAMES_PER_PAGE) .slice((page - 1) * MAX_GAMES_PER_PAGE, page * MAX_GAMES_PER_PAGE)
.map((game) => ( .map((game) => (