File tree 1 file changed +12
-3
lines changed
src/pages/events/sections/eventsSection
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,21 @@ import { EventCard } from "../../../community/sections/eventsPreview/SingleEvent
14
14
// calendar,
15
15
// globe,
16
16
// } from "../../../../../assets/images/icons";
17
- import { EventCard } from "../../../community/sections/eventsPreview/SingleEvents/sections" ;
18
17
19
18
function Events ( { events } ) {
19
+ // const formattedDate = format(parseISO(start_date), "do, MMMM");
20
+ // import formatEventDates from "../../../../../utilities/formatEventDate";
21
+ // import { LazyLoadImage } from "react-lazy-load-image-component";
22
+
20
23
return (
21
- < div className = "mx-auto my-6 max-w-1216 w-full grid grid-cols-1 sm:grid-cols-2 place-content-center lg:grid-cols-3 gap-8 justify-between px-4 xl:px-0" >
24
+ < div
25
+ // className="my-4 md:my-8 grid grid-cols-1 gap-8 sm:grid-cols-2 md:grid-cols-3 max-w-1216 mx-auto md:pb-10"
26
+ className = "mx-auto my-6 max-w-1216 w-full grid grid-cols-1 sm:grid-cols-2 place-content-center lg:grid-cols-3 gap-8 justify-between px-4 xl:px-0"
27
+ // style={{
28
+ // gridAutoColumns: "max-content",
29
+ // gridTemplateRows: "minmax(550px, 400px)",
30
+ // }}
31
+ >
22
32
{ events &&
23
33
Array . isArray ( events ) &&
24
34
events . map ( ( event ) => (
@@ -123,7 +133,6 @@ function Events({ events }) {
123
133
// </div>
124
134
// </Link>
125
135
) ) }
126
- events.map((event) => < EventCard key = { event . id } event = { event } /> )}
127
136
</ div >
128
137
) ;
129
138
}
You can’t perform that action at this time.
0 commit comments