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

Adds GT4 Falken Tyre Challenge #1

Merged
merged 2 commits into from
Jul 23, 2023
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
36 changes: 20 additions & 16 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,23 +87,27 @@ const App = () => {
)}
</header>

<span className="official-sessions">
Official Sessions:
</span>
{series.sessions && series.sessions.length > 0 && (
<>
<span className="official-sessions">
Official Sessions:
</span>

<div className="timeslots">
{series.sessions.map(session => {
return (
<Timeslot
key={`${session.sessionDay}.${session.sessionTimeGmt}`}
dayIndex={session.sessionDay}
time={session.sessionTimeGmt}
notes={session.notes}
/>
)
})}
</div>
</div>
<div className="timeslots">
{series.sessions.map(session => {
return (
<Timeslot
key={`${session.sessionDay}.${session.sessionTimeGmt}`}
dayIndex={session.sessionDay}
time={session.sessionTimeGmt}
notes={session.notes}
/>
)
})}
</div>
</>
)}
</div>
)
})}
</div>
Expand Down
10 changes: 10 additions & 0 deletions src/data/official-sessions.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,16 @@ const officials = [
},
]
},
{
seriesId: 'gt4-fixed',
shortLabel: 'GT4 Falken Tyre Challenge - Fixed',
label: 'GT4 Falken Tyre Challenge ',
cars: ["Mercedes-AMG GT4", "Porsche 718 Cayman GT4 Clubsport", "BMW M4 GT4", "McLaren 570S GT4", "Aston Martin Vantage GT4"],
links: {
discord: 'https://discord.gg/eeredmcx8G',
},
sessions: []
},
]

export {
Expand Down