A more typical landing page template and routing structure
"/" : Base route with navbar for routing
Logo -> "/"
Support / Issues / Github Link -> source code on github
Typically "login" button -> "/login"
"/login" : Render login component
Log-in button form submission to backend
New here? Register --> "/register" Render register component
"/register": Render register component
Register button form submission to backend
Already have an account? Log in -> "/login"
A layout will probably make this cleaner. I think 2 views makes the most sense, the base "/" view, and a login/registration view for "/login" + "/register" with different components rendered depending on the route.
A more typical landing page template and routing structure
A layout will probably make this cleaner. I think 2 views makes the most sense, the base "/" view, and a login/registration view for "/login" + "/register" with different components rendered depending on the route.