Funfunz / lumina-next

https://lumina-topaz.vercel.app
6 stars 0 forks source link

Login system #87

Closed JWebCoder closed 1 month ago

JWebCoder commented 1 month ago

The editor should be behind a log in system.

Create a login page that will be rendered in case the user is not logged in.

Make the user logged in by either creating a cookie or adding some data to the session storage to fake a real user authentication.

This needs to be connected to a real backend in the future.

Acceptance criteria:

AdrianaAC commented 1 month ago

Login page design: image

Design is missing links (recover or create account) Design is missing recover and create account pages

AdrianaAC commented 1 month ago

Login page as figma (except links).

To do: Links to other pages - no design yet, using login page design Re-arrange login system Re-arrange login to be in lumina package

AdrianaAC commented 1 month ago

Create account page and recover account created, following the design of login page. To check login page: /login. username: admin password:password Check other pages by following link on login page.

To do: Editor should be behind the login process Should recoverAccount or createAccount do something more? Just mocking processes now

AdrianaAC commented 1 month ago

When login is successfull, user is redirected to /editor.

To do: Editor should be "locked" behind login

AdrianaAC commented 1 month ago

Login is now on Lumina core, not examples. Editor is locked behind loggin - ok ?

To do: Review styles, not being applied

AdrianaAC commented 1 month ago

Styles applied.

To do: When login successfull, page not re-rendering with /editor open Review all css to be according to the other components

AdrianaAC commented 1 month ago

Styles reviewed and updated

AdrianaAC commented 1 month ago

Login system now only active if editor mode is active