Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new events #2740

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions community/events.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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() {
Expand Down
39 changes: 39 additions & 0 deletions community/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 }) => {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.