adds xrpl builder office hours

This commit is contained in:
akcodez
2024-07-25 09:50:31 -07:00
parent 9444421d7e
commit f4274e1a3d
2 changed files with 29 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ const zone = require("../static/img/events/XRPLZone.png")
const calls = require("../static/img/events/CommunityCalls.png") const calls = require("../static/img/events/CommunityCalls.png")
const brazil = require("../static/img/events/event-meetup-brazil.png") const brazil = require("../static/img/events/event-meetup-brazil.png")
const korea = require("../static/img/events/SouthKoreaMeetup.png") const korea = require("../static/img/events/SouthKoreaMeetup.png")
const infoSession = require("../static/img/events/InfoSessions.png");
export const frontmatter = { export const frontmatter = {
seo: { seo: {
title: "Events", title: "Events",
@@ -466,7 +467,7 @@ const events = [
link: "https://www.youtube.com/watch?v=TgLaAXTZY7Q", link: "https://www.youtube.com/watch?v=TgLaAXTZY7Q",
location: "Virtual - Zoom", location: "Virtual - Zoom",
date: "September 05, 2023", date: "September 05, 2023",
image: require("../static/img/events/InfoSessions.png"), image: infoSession,
end_date: "September 05, 2023", end_date: "September 05, 2023",
}, },
{ {
@@ -488,7 +489,7 @@ const events = [
link: "https://www.youtube.com/watch?v=BbGu0QC5WEE", link: "https://www.youtube.com/watch?v=BbGu0QC5WEE",
location: "Virtual - Zoom", location: "Virtual - Zoom",
date: "September 06, 2023", date: "September 06, 2023",
image: require("../static/img/events/InfoSessions.png"), image: infoSession,
end_date: "September 06, 2023", end_date: "September 06, 2023",
}, },
{ {
@@ -750,6 +751,17 @@ const events = [
image: korea, image: korea,
end_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,
end_date: "August 23, 2024",
},
]; ];
export default function Events() { export default function Events() {

View File

@@ -3,6 +3,8 @@ import { useThemeHooks } from "@redocly/theme/core/hooks";
import moment from "moment"; import moment from "moment";
import { Link } from "@redocly/theme/components/Link/Link"; import { Link } from "@redocly/theme/components/Link/Link";
const infoSession = require("../static/img/events/InfoSessions.png");
export const frontmatter = { export const frontmatter = {
seo: { seo: {
title: "Community", title: "Community",
@@ -67,7 +69,7 @@ const events = [
link: "https://www.youtube.com/watch?v=BbGu0QC5WEE", link: "https://www.youtube.com/watch?v=BbGu0QC5WEE",
location: "Virtual - Zoom", location: "Virtual - Zoom",
date: "September 06, 2023", date: "September 06, 2023",
image: require("../static/img/events/InfoSessions.png"), image: infoSession,
end_date: "September 06, 2023", end_date: "September 06, 2023",
start_date: "September 06, 2023", start_date: "September 06, 2023",
}, },
@@ -203,6 +205,18 @@ const events = [
start_date: "September 4, 2024", start_date: "September 4, 2024",
end_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 { nearestDateDiff, nearestEvent } = findNearestUpcomingEvent(events);
const XrplEventsAndCarouselSection = ({ events }) => { const XrplEventsAndCarouselSection = ({ events }) => {