feat: implement event listing and styling for public events

Added a new EventListPage component to display published events in a grid layout, enhancing the user interface for event visibility. Updated styles in app.css for public events, including hover effects and improved layout. Modified the main application logic to handle multiple published events and adjusted tests to verify the new functionality and display behavior.
This commit is contained in:
blake committed 2026-11-02 11:36:22 -06:00
1 parent e7fc1e03ae
commit 019f61bc4a
6 files changed
+221 -11

No files matched your search

+4 -1
View File
@@ -1792,7 +1792,10 @@ function EventForm(props: {
)}
<label class="check">
<input type="checkbox" name="published" value="yes" checked={props.values.published ? true : undefined} />
Show this event on the public list
<span class="check-copy">
Show this event on the public list
<span class="hint">The sign-up page lists every checked event. When only one event is checked, its shifts open directly.</span>
</span>
</label>
<button type="submit">{props.submitLabel}</button>
</form>