Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a simple content management system #1

Draft
wants to merge 19 commits into
base: develop
Choose a base branch
from

Conversation

WillieCubed
Copy link
Owner

No description provided.

This introduces the following routes:
- /admin
- /admin/yearbook
- /admin/yearbook/content
- /admin/yearbook/credits
- /admin/yearbook/settings
- /admin/yearbook/users
- /admin/yearbook/wrapped

This also migrates the old admin route.

TODO: Create default (user) yearbook landing page
@WillieCubed WillieCubed self-assigned this Mar 15, 2023
@vercel
Copy link

vercel bot commented Mar 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
yearbook ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 27, 2023 at 8:59PM (UTC)

An admin can now sign in on the admin settings page (accessible via the
/admin/settings route). This uses Supabase Auth. If a user does not
exist already, a new account is created. Additionally, the yearbook
edition selector now populates live data from a database.
This is a scaffold layout for loading yearbook-specific data from a
remote data source (Supabase).
Note: Types will have to be manually regenerated before commit now by
running `npm run update-types`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant