Skip to content

Commit d5bbc8d

Browse files
author
Emile Sabatier
authored
Merge pull request #14 from emilesabatier/development
update event
2 parents 2e72ca2 + 83c5802 commit d5bbc8d

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "Emile Sabatier"
55
},
66
"private": true,
7-
"version": "0.2.8",
7+
"version": "0.2.9",
88
"type": "module",
99
"scripts": {
1010
"dev": "vite",

src/features/events/eventsPage.tsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ import banner_20240622 from "../../assets/banners/20240622.webp"
1414
import banner_20240706 from "../../assets/banners/20240706.webp"
1515
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "../../components/accordion"
1616
import Page from "../../components/page"
17+
import { Link } from "@tanstack/react-router"
1718

1819

1920
type Event = {
2021
id: string
2122
date: string
22-
name: string
23-
banner: string
23+
name: string | undefined
24+
banner: string | undefined
2425
lineUp: {
2526
timeStartHour: string
2627
timeEndHour: string
@@ -690,7 +691,13 @@ const pastEvents: Event[] = [
690691
}
691692
]
692693

693-
const nextEvent: Event | undefined = undefined
694+
const nextEvent: Event | undefined = {
695+
id: "20241005",
696+
date: "05 10 2024",
697+
name: undefined,
698+
banner: undefined,
699+
lineUp: []
700+
}
694701

695702
export default function EventsPage() {
696703
return (
@@ -753,7 +760,7 @@ export default function EventsPage() {
753760
}
754761
</ol>
755762
<div className="flex flex-col justify-start items-end gap-2">
756-
{/* <Link to="/inscription" className="p-2 text-white border border-solid border-neutral-50 hover:underline whitespace-nowrap">Inscription</Link> */}
763+
<Link to="/inscription" className="p-2 text-white border border-solid border-neutral-50 hover:underline whitespace-nowrap">Inscription</Link>
757764
<a
758765
href="https://donate.stripe.com/bIY29G5j93zL6M85km"
759766
target="_blank"

0 commit comments

Comments
 (0)