Game name now visible on game mod cards and sliders. Mod post reactions now functional. Zap refactored. #33

Merged
freakoverse merged 13 commits from staging into master 2024-09-05 10:39:45 +00:00
3 changed files with 7 additions and 2 deletions
Showing only changes of commit 98f4666f96 - Show all commits

View File

@ -3,6 +3,7 @@ import { handleModImageError } from '../utils'
type ModCardProps = {
title: string
gameName: string
summary: string
imageUrl: string
link: string
@ -11,6 +12,7 @@ type ModCardProps = {
export const ModCard = ({
title,
gameName,
summary,
imageUrl,
link,
@ -37,7 +39,7 @@ export const ModCard = ({
<h3 className='cMMBodyTitle'>{title}</h3>
<p className='cMMBodyText'>{summary}</p>
<div className='cMMBodyGame'>
<p>Game name</p>
<p>{gameName}</p>
</div>
</div>
<div className='cMMFoot'>

View File

@ -179,7 +179,7 @@ const SlideContent = ({ naddr }: SlideContentProps) => {
<br />
</p>
<p className='IBMSMSCWSInfoText IBMSMSCWSInfoText2'>
Game name
{mod.game}
<br />
</p>
<div className='IBMSMSliderContainerWrapperSliderAction'>
@ -239,6 +239,7 @@ const DisplayMod = ({ naddr }: DisplayModProps) => {
return (
<ModCard
title={mod.title}
gameName={mod.game}
summary={mod.summary}
imageUrl={mod.featuredImageUrl}
link={`#${route}`}
@ -287,6 +288,7 @@ const DisplayLatestMods = () => {
<ModCard
key={mod.id}
title={mod.title}
gameName={mod.game}
summary={mod.summary}
imageUrl={mod.featuredImageUrl}
link={`#${route}`}

View File

@ -220,6 +220,7 @@ export const ModsPage = () => {
<ModCard
key={mod.id}
title={mod.title}
gameName={mod.game}
summary={mod.summary}
imageUrl={mod.featuredImageUrl}
link={`#${route}`}