How can I make a multipage application with moralis and javascript so I dont have to login and out on every site.
Im using the template code and my file structrue looks like this
index.html
tokens.html
swap.html
main.js
I use the main.js file for everything but I need the navbar on every site and when placing it on every site I have the login/logout on every html site
When I log in on the index.html site I still have to log in and logout on the tokens.html page
I know react or even flask would be better since I have routing, but how can I solve this in vanillaJS?