add korea hackathon event

This commit is contained in:
akcodez
2024-08-07 14:58:44 -07:00
parent bbddc15a82
commit 9783595337
2 changed files with 41 additions and 18 deletions

View File

@@ -181,6 +181,30 @@ const events = [
start_date: "July 23, 2024",
end_date: "July 23, 2024",
},
{
name: "XRPL Builder Office Hours",
description:
"XRPL Builder Office Hours is an open forum hosted monthly by Developer Advocates to answer technical and business questions from community members.",
type: "info-session",
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA#/registration",
location: "Virtual - Zoom",
date: "August 23, 2024",
image: infoSession,
start_date: "August 23, 2024",
end_date: "August 23, 2024",
},
{
name: "XRP Ledger Hackathon Seoul 2024",
description:
"Calling all developers in Korea or attending Korea Blockchain Week! Join us just before the main KBW event to work and collaborate with other builders leveraging the XRPL Ledger. Don't miss the chance to connect with peers and learn about local funding initiatives. This event will take place in Gangnam, Seoul.",
type: "hackathon",
link: "https://lu.ma/1viq6evg",
location: "Seoul, South Korea",
date: "August 31 - September 1, 2024",
image: hackathon,
start_date: "August 31, 2024",
end_date: "September 1, 2024",
},
{
name: "XRPL Zone Seoul",
description:
@@ -205,24 +229,12 @@ const events = [
start_date: "September 4, 2024",
end_date: "September 4, 2024",
},
{
name: "XRPL Builder Office Hours",
description:
"XRPL Builder Office Hours is an open forum hosted monthly by Developer Advocates to answer technical and business questions from community members.",
type: "info-session",
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA#/registration",
location: "Virtual - Zoom",
date: "August 23, 2024",
image: infoSession,
start_date: "August 23, 2024",
end_date: "August 23, 2024",
},
];
const { nearestDateDiff, nearestEvent } = findNearestUpcomingEvent(events);
const XrplEventsAndCarouselSection = ({ events }) => {
const { useTranslate } = useThemeHooks();
const { translate } = useTranslate();
const [currentIndex, setCurrentIndex] = useState(11);
const [currentIndex, setCurrentIndex] = useState(12);
const updateCarousel = () => {
const prevEvent = events[currentIndex - 1] || null;