@@ -15,42 +15,6 @@ import {
15 formatTimeZone,
15 formatTimeZone,
16} from "../lib/lib";
16} from "../lib/lib";
18−// JAL(2021.9.13) Couldn't quite get this to work properly. There's a trailing
21−// function GuestList({ guests, textClass }) {
23−// const renderGuests = guests?.length > 2 ? guests?.slice(0,2) : guests;
24−// const noRenderGuestsCount = guests?.slice(2).length;
27−// <p className={textClass + " type-sub"}>
29−// {renderGuests?.length > 1 ? "With guests " : "With guest "}
32−// {renderGuests?.map((guest, index) => (
35−// key={`${guest.name}-${guest.patp}`}
36−// nameClassNames={textClass}
37−// patpClassNames={textClass}
41−// {renderGuests?.length > 1 ? <span>, </span> : <></>}
44−// {noRenderGuestsCount > 1 ?
45−// <Name>{noRenderGuestsCount} more </Name>
54export default function EventPreview({ event, className, big }) {
18export default function EventPreview({ event, className, big }) {
55 // Event tiles have a 'dark mode' used when their background images are dark and white text is needed for legibility.
19 // Event tiles have a 'dark mode' used when their background images are dark and white text is needed for legibility.
56 const grayText = event?.dark ? "text-washedWhite" : "text-wall-400";
20 const grayText = event?.dark ? "text-washedWhite" : "text-wall-400";
@@ -83,7 +47,9 @@ export default function EventPreview({ event, className, big }) {
83 } flex-col h-full`}
47 } flex-col h-full`}
85 <h3 className={`${blackText} mb-2`}>{event.title}</h3>
49 <h3 className={`${blackText} mb-2`}>{event.title}</h3>
50+ <p className={blackText + " truncate text-sm"}>
86− <p className={blackText + ""}>{event.description}</p>
51+ {event.description}
89 <div className="absolute p-6 left-0 bottom-0 w-full pr-32">
55 <div className="absolute p-6 left-0 bottom-0 w-full pr-32">