mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 11:15:49 +00:00
add back past event increment index
This commit is contained in:
@@ -413,6 +413,17 @@ const events = [
|
||||
image: require("../static/img/events/Virtual-Event.png"),
|
||||
end_date: "July 13, 2023",
|
||||
},
|
||||
{
|
||||
name: "XRPL Toronto Meetup",
|
||||
description:
|
||||
"Prepare for an evening of XRPL Toronto Meetup - a celebration of discovery and connection. Join enthusiasts, innovators, and developers for inspiring talks, conversations, and learning. All are welcome, from seasoned developers to curious newcomers.",
|
||||
type: "meetup",
|
||||
link: "https://www.meetup.com/xrpl-toronto-community-meetup/events/294766059",
|
||||
location: "Downtown Toronto",
|
||||
date: "August 14, 2023",
|
||||
image: require("../static/img/events/event-meetup-toronto@2x.jpg"),
|
||||
end_date: "August 14, 2023",
|
||||
},
|
||||
{
|
||||
name: "XRPL London Meetup (Accelerator Edition)",
|
||||
description:
|
||||
|
||||
@@ -168,7 +168,7 @@ const events = [
|
||||
const { nearestDateDiff, nearestEvent } = findNearestUpcomingEvent(events);
|
||||
const XrplEventsAndCarouselSection = ({ events }) => {
|
||||
const { translate } = useTranslate();
|
||||
const [currentIndex, setCurrentIndex] = useState(6);
|
||||
const [currentIndex, setCurrentIndex] = useState(7);
|
||||
|
||||
const updateCarousel = () => {
|
||||
const prevEvent = events[currentIndex - 1] || null;
|
||||
|
||||
Reference in New Issue
Block a user