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

refactor: use signin function and rewrite components #32

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

Paulijuz
Copy link
Member

@Paulijuz Paulijuz commented Nov 8, 2023

Rewrote the login page to use the client side signin function. Now it handles the csrf token fetching for us. In addition i refactores the login and logout pages to use a common layout. (Altough maybe the logout page shouldn't be it's own page, but it works for now). The ui should also be remade by someone who actually knows what they're doing, but it works for now.

Finally i rewrote the text input and button components to work generally with all the default props.

@Paulijuz Paulijuz self-assigned this Nov 8, 2023
Copy link
Member

@JohanHjelsethStorstad JohanHjelsethStorstad left a comment

Choose a reason for hiding this comment

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

This looks good. The UI lik PrimaryButton should be reworked anyways

@JohanHjelsethStorstad JohanHjelsethStorstad merged commit ca380a1 into main Nov 8, 2023
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.

2 participants