Skip to content
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
2 changes: 2 additions & 0 deletions src/views/events/EventData.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const currentYear = 2025

// Array of events for the current year's PyCon
export const events = [
{
Expand Down
6 changes: 3 additions & 3 deletions src/views/events/Events.tsx
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down Expand Up @@ -29,7 +29,7 @@ export default function Events() {
<div className="section-heading">
<h1 className="text-white">Events</h1>
<br />
<h4 className="text-white">Regional PyCon 2024 in APAC Schedule</h4>
<h4 className="text-white">Regional PyCon {currentYear} in APAC Schedule</h4>
<br />
</div>
<div className="medium-text text-white" style={{opacity: '60%'}}>
Expand All @@ -48,7 +48,7 @@ export default function Events() {
<div className="left-text-content">
<div className="section-heading">
<br />
<h4 className="text-white">Regional PyCon 2025 in APAC Schedule</h4>
<h4 className="text-white">Regional PyCon {currentYear+1} in APAC Schedule</h4>
<br />
</div>
<div className="medium-text text-white" style={{opacity: '60%'}}>
Expand Down