Skip to content

Commit

Permalink
removed category from table and small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jxmoose committed Apr 7, 2024
1 parent 7f28513 commit 1ba952e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
Empty file removed database.types.ts
Empty file.
20 changes: 11 additions & 9 deletions src/app/exhibitsPage/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,17 @@ function App() {
</div>
</div>
</Link>
{exhibits.map(exhibit => (
<Exhibit
title={exhibit.title}
description={exhibit.description}
image={exhibit.image || ''}
key={exhibit.id}
id={exhibit.id}
/>
))}
<ul>
{exhibits.map(exhibit => (
<Exhibit
title={exhibit.title}
description={exhibit.description}
image={exhibit.image || ''}
key={exhibit.id}
id={exhibit.id}
/>
))}
</ul>
</div>
</div>
);
Expand Down
12 changes: 6 additions & 6 deletions src/components/userComponents/Exhibit/Exhibit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,21 @@ export default function Exhibit({
id: string;
}) {
return (
<ul key={id}>
<li key={id}>
<div className="w-[100%] px-4 pt-6 pb-7 bg-mint-cream rounded flex-col justify-start items-start gap-2.5 inline-flex mt-6">
<div className="flex-col justify-start items-start gap-5 flex">
<div className="justify-start items-center gap-2 inline-flex">
<div className="text-neutral-700 text-lg font-bold font-['Lato']">
<h2 className="text-neutral-700 text-lg font-bold font-['Lato']">
{' '}
{title}
</div>
</h2>
</div>
<div className="text-black text-base font-light font-['Lato']">
<p className="text-black text-base font-light font-['Lato']">
{description}
</div>
</p>
<Image src={image} alt="Exhibit" width={354} height={150} />
</div>
</div>
</ul>
</li>
);
}

0 comments on commit 1ba952e

Please sign in to comment.