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

Route Creation Page #13

Open
6 tasks
avayedawadi opened this issue Sep 17, 2024 · 0 comments
Open
6 tasks

Route Creation Page #13

avayedawadi opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels

Comments

@avayedawadi
Copy link
Contributor

Description

  • We need to create a routes page where the admin can create (and edit) locations

Design

  • Look at Figma for designs

Acceptance Criteria

  • Design of component and page matches up with Figma
  • Component is dynamic for screen size changes
  • Works on mobile and is dynamic for mobile screens
  • Hooked up to the Next.js server actions, this should be a fully working component and make updates to the db
  • Makes outputs as expected to the DB
  • Have proper error handling and input sanitization for all inputs

Implementation Notes

  • Put the location route form itself in a component that is relatively modular
  • Then put this component on a routes page (do not worry about protecting/authenticating for now)
  • Build page and component in its own folder in app in order to make sure we are properly leveraging the Next app router
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants