mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
add new events
This commit is contained in:
@@ -11,6 +11,10 @@ const calls = require("../static/img/events/CommunityCalls.png");
|
||||
const brazil = require("../static/img/events/event-meetup-brazil.png");
|
||||
const korea = require("../static/img/events/SouthKoreaMeetup.png");
|
||||
const infoSession = require("../static/img/events/InfoSessions.png");
|
||||
const infoSession2 = require("../static/img/events/xrpl-builder-office-hours-02.png");
|
||||
const infoSession3 = require("../static/img/events/xrpl-builder-office-hours-03.png");
|
||||
const infoSession4 = require("../static/img/events/xrpl-builder-office-hours-04.png");
|
||||
|
||||
export const frontmatter = {
|
||||
seo: {
|
||||
title: "Events",
|
||||
@@ -816,6 +820,39 @@ const events = [
|
||||
image: require('../static/img/events/chicago-meetup.png'),
|
||||
end_date: "September 12, 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",
|
||||
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA",
|
||||
location: "Virtual - Zoom",
|
||||
date: "September 27, 2024",
|
||||
image: infoSession2,
|
||||
end_date: "September 27, 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",
|
||||
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA",
|
||||
location: "Virtual - Zoom",
|
||||
date: "October 25, 2024",
|
||||
image: infoSession3,
|
||||
end_date: "October 25, 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",
|
||||
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA",
|
||||
location: "Virtual - Zoom",
|
||||
date: "November 22, 2024",
|
||||
image: infoSession4,
|
||||
end_date: "November 22, 2024",
|
||||
},
|
||||
];
|
||||
|
||||
export default function Events() {
|
||||
|
||||
@@ -18,6 +18,9 @@ const conference = require("../static/img/events/Conference.png");
|
||||
const zone = require("../static/img/events/XRPLZone.png");
|
||||
const brazil = require("../static/img/events/event-meetup-brazil.png");
|
||||
const korea = require("../static/img/events/SouthKoreaMeetup.png");
|
||||
const infoSession2 = require("../static/img/events/xrpl-builder-office-hours-02.png");
|
||||
const infoSession3 = require("../static/img/events/xrpl-builder-office-hours-03.png");
|
||||
const infoSession4 = require("../static/img/events/xrpl-builder-office-hours-04.png");
|
||||
const findNearestUpcomingEvent = (events) => {
|
||||
let nearestEvent = null;
|
||||
let nearestDateDiff = Infinity;
|
||||
@@ -266,6 +269,42 @@ const events = [
|
||||
start_date: "September 12, 2024",
|
||||
end_date: "September 12, 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",
|
||||
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA",
|
||||
location: "Virtual - Zoom",
|
||||
date: "September 27, 2024",
|
||||
image: infoSession2,
|
||||
start_date: "September 27, 2024",
|
||||
end_date: "September 27, 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",
|
||||
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA",
|
||||
location: "Virtual - Zoom",
|
||||
date: "October 25, 2024",
|
||||
image: infoSession3,
|
||||
start_date: "October 25, 2024",
|
||||
end_date: "October 25, 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",
|
||||
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA",
|
||||
location: "Virtual - Zoom",
|
||||
date: "November 22, 2024",
|
||||
image: infoSession4,
|
||||
start_date: "November 22, 2024",
|
||||
end_date: "November 22, 2024",
|
||||
},
|
||||
];
|
||||
const { nearestDateDiff, nearestEvent, index } = findNearestUpcomingEvent(events);
|
||||
const XrplEventsAndCarouselSection = ({ events }) => {
|
||||
|
||||
BIN
static/img/events/xrpl-builder-office-hours-02.png
Normal file
BIN
static/img/events/xrpl-builder-office-hours-02.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 183 KiB |
BIN
static/img/events/xrpl-builder-office-hours-03.png
Normal file
BIN
static/img/events/xrpl-builder-office-hours-03.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 148 KiB |
BIN
static/img/events/xrpl-builder-office-hours-04.png
Normal file
BIN
static/img/events/xrpl-builder-office-hours-04.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
Reference in New Issue
Block a user