Skip to content

Commit

Permalink
hotfix: add desc
Browse files Browse the repository at this point in the history
  • Loading branch information
codespool committed Jan 4, 2024
1 parent f0b91ec commit f0eb396
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app/routes/_layout.floors.$floor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ type ImageData = {
type GachaMachine = {
id: number;
title: string;
subtitle: string;
description: string;
image: ImageData;
bandit_collection_id: number;
Expand Down Expand Up @@ -303,6 +304,7 @@ export default function Floor() {
onScroll={(event) => event.stopPropagation()}
>
<p className="p-4 font-bold text-xl capitalize">{machine.title}</p>
<p className="p-4 font-bold text-xl capitalize">{machine.subtitle}</p>
<p className="p-4">{machine.description}</p>
<p className="p-4 font-bold text-blue-500">
<a
Expand Down Expand Up @@ -345,7 +347,14 @@ export default function Floor() {
onScroll={(event) => event.stopPropagation()}
>
<p className="p-4 font-bold text-xl capitalize">{machine.title}</p>
<p className="p-4">Partner name: {machine.description}</p>
<p className="p-4 font-bold text-xl capitalize">{machine.subtitle}</p>
<p className="p-4">
<ul>
{machine.description.split("-").map((bullet, index) => (
<li key={index}>{bullet}</li>
))}
</ul>
</p>
<BanditQuest
isOpen={!!visibleDiv}
collectionId={machine.bandit_collection_id}
Expand Down

0 comments on commit f0eb396

Please sign in to comment.