omgitsmiles / ctrl-your-finances

Flatiron Hackathon
0 stars 2 forks source link

Frontend routes to main components #15

Closed jgrimes86 closed 7 months ago

jgrimes86 commented 7 months ago

I've created .jsx files for the main components and added routes for them using react-router-dom. As of now there is no navbar or nav links, so you need to switch to different frontend views by adding the route extension onto the url in your browser.

FrontPage is meant to be the landing page for the app, and I've grouped it with SignUp and Login components to keep the file structure organized. To simulate the login and signup flow, I've added buttons and modals in FrontPage for SignUp and Login.

SignUp has a nested modal for the PlaidLink component, which I'm picturing will be our reusable component for linking bank accounts through Plaid. We could also make a separate route for PlaidLink if that is preferred.

Closes issue #14