Commit Graph
14 Commits
Author SHA1 Message Date
Starystars67 38955dcbfe Add event standings pages and an Events link
BeamMP now runs community events with combined leaderboards, and the
site had nowhere to show them. This adds an Events page listing each
event and an event page with live standings, a driver search, the
servers taking part and the event rules.

Standings come from the API's public events routes, so no key is ever
in the browser. The page keeps the last good results on screen if a
refresh fails and says the connection was lost rather than going blank.
Events with an uploaded banner show it behind the card and the page
header, with an overlay so the text stays readable; events without one
look as plain cards. The helpers the two pages share live beside them
in views/events rather than in lib, since nothing else uses them.

The Events link sits before Servers in the desktop and mobile menus.
All of the new text is translated into the seven site languages using
literal keys, so the locale checks can see every one. The translations
are machine written and want a native speaker's review.

src/lib/config.js is included because the pages need the API address
from it: it is the one place that reads the window.__ENV__ the
container writes at start, with the real services as the defaults.
2026-11-17 16:15:33 +00:00
Mackenzie 700932de82 add link to accounts 2026-11-04 16:22:06 +00:00
Starystars67 74adf15820 fix build issues 2026-06-16 14:01:22 +01:00
Starystars67 f59b5df887 remove mobile details plus try fix image 2026-04-01 22:00:48 +01:00
Starystars67 cf3c3790b5 changes for temp launch 2026-04-01 21:30:37 +01:00
Starystars67 9d9c10179c fix: nav not opening on screen sizes between md and xl 2025-12-31 12:51:50 +00:00
Starystars67 df371568c7 add GH release points to timeline & fix padding of nav and logo 2025-12-29 18:52:34 +00:00
Starystars67 6ed1bf7352 fixes: various bits fixed / improved based on fedback 2025-12-29 16:16:17 +00:00
Starystars67 b3d6f59aaf Lots of changes & improvements 2025-12-23 11:51:13 +00:00
Starystars67 07a84f25d5 Fix language selection to persist between pages and allow for sharing of specfic pages in chosen lang 2025-12-20 17:28:21 +00:00
Starystars67andTixx acc1377bbb Add initial templates for additional languages
Co-Authored-By: Tixx <83774803+WiserTixx@users.noreply.github.com>
2025-12-20 01:20:03 +00:00
Starystars67andTixx 3873388b48 Added i18n Translation Support
Co-Authored-By: Tixx <83774803+WiserTixx@users.noreply.github.com>
2025-12-20 00:28:36 +00:00
Starystars67 d5b7c52641 various changes 2025-11-30 17:39:52 +00:00
Starystars67 403489e43c Rebuild website! 2025-11-30 16:01:49 +00:00