components: add id to EventPreview header
commit0b92a1c90cff371e87caa23f4f88e98a68b0929e
authorMatilde Park <matilde.park@urbit.org>
dateTue 15 Nov 2022, 18:03 (4 years ago)
parentad3d09b
components/EventPreview.js+3−4
@@ -41,11 +41,10 @@ export default function EventPreview({ event, className, big }) {
4141 )}
4242 >
4343 <div
44− className={`grow-1 flex ${
45− big ? "justify-center" : ""
46− } flex-col h-full`}
44+ className={`grow-1 flex ${big ? "justify-center" : ""
45+ } flex-col h-full`}
4746 >
48− <h3 className={`${blackText} mb-2`}>{event.title}</h3>
47+ <h3 className={`${blackText} mb-2`} id={event.title}>{event.title}</h3>
4948 <p className={blackText + " truncate text-sm"}>
5049 {event.description}
5150 </p>