Commit Graph
15 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 e317ede87f Translate the Merch Store link into German, Spanish, French, Italian and Russian 2026-10-09 13:26:02 +01:00
Starystars67 01281ebed2 Include policies, minor fixes and add anonymous analytics 2026-06-16 16:43:43 +01:00
Tangzixy 1b9d2a0b87 Translate zh.json via GitLocalize 2026-04-14 16:18:22 +01:00
Ace06_10010 fa3059c09e Translate zh.json via GitLocalize 2026-04-14 16:18:22 +01:00
Starystars67 4331a58e50 Update sync text, theme icons, communities link
Add responsive icons for system theme selection (Smartphone, Tablet, Monitor) in ThemeToggle.vue; add an "Explore Communities" CTA to Home.vue that links to the localized communities page. Reduce the advertised sync update rate from ~100 to ~50 times per second across multiple locale files (en, de, es, it, ru). Also update the English freeroam label/description to "Freeroam & Custom Servers" with details about custom scripts/maps/mods. Note: fr.json contains unresolved merge conflict markers for the sync description and needs manual resolution.
2026-02-21 19:07:30 +00:00
3v. c6fb3331c2 Update localisation for French language 2026-01-30 21:46:00 +00:00
Starystars67 c9fc193aa3 change wording 2025-12-31 15:08:57 +00:00
Starystars67 7e53a63455 Correct servers page for darkmode & improve some wording. 2025-12-29 22:37:55 +00:00
Starystars67 6ed1bf7352 fixes: various bits fixed / improved based on fedback 2025-12-29 16:16:17 +00:00
Starystars67 7f8633ab09 other small fixes 2025-12-23 14:24:11 +00:00
Starystars67 b3d6f59aaf Lots of changes & improvements 2025-12-23 11:51:13 +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