Closed KaiserOfNone closed 2 months ago
Hey as mentioned this looks great! Very nice to have those good looking links on Discord.
One thing is that I believe this should be added to the to.$id.tsx meta object! This way it applies to all tournament pages such as brackets page.
In addition to.id route already loads the tournament data in loader so then we don't need to add any extra work to the backend. With this current solution due to how Remix works when they hit /register page the backend will resolve two times the tournament data object which is unnecessary.
Link: https://github.com/Sendouc/sendou.ink/blob/rewrite/app/features/tournament/routes/to.%24id.tsx#L39
Done, now all to/$id
routes have it.
🚀
Here are a couple of screenshots of it working :D