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

feat: add login page #22

Merged
merged 5 commits into from
Feb 2, 2024
Merged

feat: add login page #22

merged 5 commits into from
Feb 2, 2024

Conversation

ConradOsvik
Copy link
Collaborator

login page

  • A form wrapped by a card component
  • A server action triggered when the form is submitted
  • A getUser util function, taking in parameters user_id and password returning the access token
  • The page takes in the search param redirect which is where it should redirect if the user is logged in or logging in

Copy link

vercel bot commented Jan 29, 2024

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

Name Status Preview Comments Updated (UTC)
kont-res ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2024 4:23pm

@MindChirp
Copy link
Contributor

Vi trenger også form feedback dersom brukernavn og passord er feil.

Copy link
Contributor

@MindChirp MindChirp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bra jobba! Prøv å ordne sånn at man kun har én form-feedback komponent på bunn, slik at man ikke får den samme feilmeldingen under begge feltene

image

@MindChirp MindChirp linked an issue Jan 31, 2024 that may be closed by this pull request
@ConradOsvik
Copy link
Collaborator Author

La til en sjapp commit nå som fikser password input type + error message. Den så grei ut på mobil hvis vi får fikset headeren sin posisjon til fixed. orker ikke fikse det nå pga hodepine 🤕. kan hende jeg tar det senere i helgen

@MindChirp
Copy link
Contributor

Jeg har approva - bare å merge inn i main når du føler for det

@ConradOsvik ConradOsvik merged commit 60c167c into main Feb 2, 2024
2 checks passed
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.

Login page
2 participants