878ebca14356fe75fadfd2ab74a26d9ec351fffb
Turns PUBLIC_ROUTES into a path -> component map and adds /Events, so the page is reachable on our own domain without the login redirect. This removes the redirect, not the auth requirement: Event, Staff and VendorRate all still 403 for an anonymous visitor, so the page renders its shell with empty lists. initialData on the events query keeps that an empty state rather than a crash. Getting real data here needs the app made public on the Base44 side. Match case-insensitively, the way React Router already matches the gated routes — otherwise /events and /Events would disagree about whether login is required. Rendered bare rather than through LayoutWrapper, so the nav chrome doesn't fire its own authenticated queries on a page meant to work signed out. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Base44 Preview Template for MicroVM sandbox
This template is used by the server to preview user-apps.
user files
server creates the user-app files in the components, pages folders
server injected data
server injects app related data to app.config.js, which is used by App.jsx to render the components in the files.
Description
Languages
JavaScript
99.7%
CSS
0.3%