Display number of guests and invitations
This commit is contained in:
parent
94ff03f617
commit
16cd9e6175
@ -28,7 +28,7 @@ export default function InvitationsBoard({ guests, invitations }: {
|
||||
<div className="flex h-screen">
|
||||
{/* Left Column: Guests */}
|
||||
<div className="w-1/4 h-full overflow-auto border-r border-gray-300 p-4">
|
||||
<h2 className="text-lg font-semibold mb-4">Guests</h2>
|
||||
<h2 className="text-lg font-semibold mb-4">{guests.length} guests without invitation</h2>
|
||||
<ul>
|
||||
{availableGuests.map((guest, index) => (
|
||||
<li
|
||||
@ -44,7 +44,9 @@ export default function InvitationsBoard({ guests, invitations }: {
|
||||
|
||||
{/* Right Column: Invitations */}
|
||||
<div className="w-3/4 h-full overflow-auto p-4">
|
||||
<h2 className="text-lg font-semibold mb-4">Invitations</h2>
|
||||
<h2 className="text-lg font-semibold mb-4">
|
||||
{invitations.length} invitations
|
||||
</h2>
|
||||
|
||||
<button
|
||||
onClick={handleCreateInvitation}
|
||||
|
Loading…
x
Reference in New Issue
Block a user