table-component #75

Merged
bustikiller merged 9 commits from table-component into main 2024-11-02 12:03:51 +00:00
Showing only changes of commit de96b9d4ae - Show all commits

View File

@ -9,7 +9,7 @@ function GuestRow({ guests }: { guests: Guest[] }) {
guests.map((guest) => {
return (
<div className="m-3 w-24 h-24 rounded-full bg-neutral-400 hover:bg-neutral-500 content-center text-center">
<div className="m-3 w-24 h-24 rounded-full bg-cyan-100 hover:bg-cyan-200 content-center text-center">
{guest.name}
</div>
)
@ -25,7 +25,7 @@ export function Table({ guests }: { guests: Guest[] }) {
const arraySecondHalf = guests.slice(halfwayThrough, guests.length);
return (
<div className="m-12 h-64 bg-neutral-300 flex flex-col justify-between">
<div className="m-12 h-64 bg-cyan-800 flex flex-col justify-between">
<GuestRow guests={arrayFirstHalf} />
<GuestRow guests={arraySecondHalf} />
</div>