diff --git a/src/views/events/EventData.js b/src/views/events/EventData.js index d22f119..6cdf5de 100644 --- a/src/views/events/EventData.js +++ b/src/views/events/EventData.js @@ -1,3 +1,5 @@ +export const currentYear = 2025 + // Array of events for the current year's PyCon export const events = [ { diff --git a/src/views/events/Events.tsx b/src/views/events/Events.tsx index d1b7fc8..c36d3c3 100644 --- a/src/views/events/Events.tsx +++ b/src/views/events/Events.tsx @@ -1,5 +1,5 @@ import { useState } from "react"; -import {slides, events, upcomingEvents} from './EventData'; +import {slides, currentYear, events, upcomingEvents} from './EventData'; import './style.css'; export default function Events() { @@ -29,7 +29,7 @@ export default function Events() {