mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-06 17:27:57 +00:00
fix info session bug
This commit is contained in:
@@ -463,7 +463,7 @@ const events = [
|
|||||||
name: "XRPL Grants Info Session: Financial Inclusion Focused",
|
name: "XRPL Grants Info Session: Financial Inclusion Focused",
|
||||||
description:
|
description:
|
||||||
"Join us for a live information session and Q&A on applying to XRPL Grants Wave 7. This session will provide a general overview of the XRPL Grants application for Wave 7, with a focus on Financial Inclusion projects.",
|
"Join us for a live information session and Q&A on applying to XRPL Grants Wave 7. This session will provide a general overview of the XRPL Grants application for Wave 7, with a focus on Financial Inclusion projects.",
|
||||||
type: "info-session",
|
type: "info",
|
||||||
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",
|
||||||
@@ -485,7 +485,7 @@ const events = [
|
|||||||
name: "XRPL Grants Info Session: Decentralized Exchange (DEX) Focused",
|
name: "XRPL Grants Info Session: Decentralized Exchange (DEX) Focused",
|
||||||
description:
|
description:
|
||||||
"Watch the recorded information session and Q&A on applying to XRPL Grants Wave 7. This session will provide a general overview of the XRPL Grants application for Wave 7, with a focus on Decentralized Exchange (DEX) projects.",
|
"Watch the recorded information session and Q&A on applying to XRPL Grants Wave 7. This session will provide a general overview of the XRPL Grants application for Wave 7, with a focus on Decentralized Exchange (DEX) projects.",
|
||||||
type: "info-session",
|
type: "info",
|
||||||
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",
|
||||||
@@ -754,7 +754,7 @@ const events = [
|
|||||||
name: "XRPL Builder Office Hours",
|
name: "XRPL Builder Office Hours",
|
||||||
description:
|
description:
|
||||||
"XRPL Builder Office Hours is an open forum hosted monthly by Developer Advocates to answer technical and business questions from community members.",
|
"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",
|
type: "info",
|
||||||
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA#/registration",
|
link: "https://ripple.zoom.us/meeting/register/tJMscOCsrDoiHNUN6hZLpFVR69OcfG9rXtIA#/registration",
|
||||||
location: "Virtual - Zoom",
|
location: "Virtual - Zoom",
|
||||||
date: "August 23, 2024",
|
date: "August 23, 2024",
|
||||||
@@ -786,7 +786,7 @@ export default function Events() {
|
|||||||
ama: true,
|
ama: true,
|
||||||
cc: true,
|
cc: true,
|
||||||
zone: true,
|
zone: true,
|
||||||
"info-session": true,
|
"info": true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const [pastFilters, setPastFilters] = useState({
|
const [pastFilters, setPastFilters] = useState({
|
||||||
@@ -796,7 +796,7 @@ export default function Events() {
|
|||||||
ama: true,
|
ama: true,
|
||||||
cc: true,
|
cc: true,
|
||||||
zone: true,
|
zone: true,
|
||||||
"info-session": true,
|
"info": true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const filteredUpcoming = useMemo(() => {
|
const filteredUpcoming = useMemo(() => {
|
||||||
@@ -979,21 +979,21 @@ export default function Events() {
|
|||||||
</div>
|
</div>
|
||||||
<div className="form-check form-check-inline">
|
<div className="form-check form-check-inline">
|
||||||
<input
|
<input
|
||||||
defaultValue="info-session"
|
defaultValue="info"
|
||||||
id="info-session-upcoming"
|
id="info-upcoming"
|
||||||
name="info-session-upcoming"
|
name="info-upcoming"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
className="events-filter"
|
className="events-filter"
|
||||||
checked={upcomingFilters["info-session"]}
|
checked={upcomingFilters["info"]}
|
||||||
onChange={handleUpcomingFilterChange}
|
onChange={handleUpcomingFilterChange}
|
||||||
/>
|
/>
|
||||||
<label htmlFor="info-session-upcoming">
|
<label htmlFor="info-upcoming">
|
||||||
{translate("Info Session")}
|
{translate("Info Session")}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/* # Available Types - conference, hackathon, ama, cc, zone, meetup, info-session */}
|
{/* # Available Types - conference, hackathon, ama, cc, zone, meetup, info */}
|
||||||
<div className="mt-2 row row-cols-1 row-cols-lg-3 card-deck">
|
<div className="mt-2 row row-cols-1 row-cols-lg-3 card-deck">
|
||||||
{filteredUpcoming.map((event, i) => (
|
{filteredUpcoming.map((event, i) => (
|
||||||
<a
|
<a
|
||||||
@@ -1115,15 +1115,15 @@ export default function Events() {
|
|||||||
</div>
|
</div>
|
||||||
<div className="form-check form-check-inline">
|
<div className="form-check form-check-inline">
|
||||||
<input
|
<input
|
||||||
defaultValue="info-session"
|
defaultValue="info"
|
||||||
id="info-session-past"
|
id="info-past"
|
||||||
name="info-session-past"
|
name="info-past"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
className="events-filter"
|
className="events-filter"
|
||||||
checked={pastFilters["info-session"]}
|
checked={pastFilters["info"]}
|
||||||
onChange={handlePastFilterChange}
|
onChange={handlePastFilterChange}
|
||||||
/>
|
/>
|
||||||
<label htmlFor="info-session-past">
|
<label htmlFor="info-past">
|
||||||
{translate("Info Session")}
|
{translate("Info Session")}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user