Repository navigation
Site: designed event pages, past-day reprints and a 404 page - #322
Merged
Merged
Conversation
…, with the event page's tokens
…ap, topics, resources and photos
…et on top of the pile
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… the key says Past event
…oll when the ticket is already in view
…the eagle and the eagle the robin
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The event page gets its real design, execs pick which photos show on it, and the admin now saves an event's cover where the site reads it. On the home page, clicking a past or later day on the calendar reprints that event's ticket, and unknown addresses get a designed 404 instead of Astro's default.
Part of #200
Type of change
What changed
components/event-page/):.ics) and Share stay in view on the left. Long columns scroll with the page until their bottom shows, with no second scrollbar./events/<slug>/photos. Click a photo to see it bigger.ui/ImageViewer.astro(posters and photos opened big) replacesposters/PosterViewer.astro, andui/Icon.astro+lib/icons.tsdraw Lucide icons on the server.photos.on_event_page). Only photos with it on appear on the event's page.event_photoswhile the site readsevents.poster_path, so new covers never showed on the site. It now reads and writesposter_path. Existing covers already matched, so no data moved./#eventsand friends, so they work from an event page too.pages/404.astro): the lost and found box.lucide.🎨 Frontend only: screenshots
⚙️ Backend / admin only: data changes
.env.exampleand noted below)supabase/v2/15_photos_on_event_page.sqladdsphotos.on_event_page boolean not null default false. Already applied to LCS-Site. The existing photo policies cover it: anyone can read, admins write.How to test
pnpm i && pnpm devinapps/siteandapps/admin/events/<slug>) shows them, and "See all" opens the full set./nope: the lost and found plays once, and its links go to the home page's sections.Checklist
pnpm lintandpnpm buildpass locally.envfiles committed (anon key only on the client, never the service role key)