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">
|
<div className="flex h-screen">
|
||||||
{/* Left Column: Guests */}
|
{/* Left Column: Guests */}
|
||||||
<div className="w-1/4 h-full overflow-auto border-r border-gray-300 p-4">
|
<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>
|
<ul>
|
||||||
{availableGuests.map((guest, index) => (
|
{availableGuests.map((guest, index) => (
|
||||||
<li
|
<li
|
||||||
@ -44,7 +44,9 @@ export default function InvitationsBoard({ guests, invitations }: {
|
|||||||
|
|
||||||
{/* Right Column: Invitations */}
|
{/* Right Column: Invitations */}
|
||||||
<div className="w-3/4 h-full overflow-auto p-4">
|
<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
|
<button
|
||||||
onClick={handleCreateInvitation}
|
onClick={handleCreateInvitation}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user