Netlify's HomePage

Your website’s homepage @https://www.netlify.com shows Login/Signup even when a user is currently signed in, isn’t it better to check if a user is authenticated and display the correct state? This is my first foray into open source. I just think it is better to display based on the authentication state.

Hey @abeydev!
Welcome to The Community :slight_smile:

And great feedback! Since the main website (www.netlify.com) and the Netlify Dashboard / interface (app.netlify.com) are actually fully separate websites and have separate subdomains, the “logged-in-ness” of a user on app.netlify.com is somewhat unknown on www.netlify.com. If you click Login or Sign up, both redirect to the app.netlify.com site! Now, a fair question would be, if you’re already logged in on app.netlify.com and hit the “sign up” page, should it redirect you to your dashboard since you’re already signed in? Or are we thinking that someone else is on your computer / browser and looking to sign up for a new account?

I think the other factor in play too is that the main website (www.netlify.com) is fully static and I don’t think there’s any user-auth javascript running on the pages. It just helps things stay fast and snappy! :slight_smile:

I hope that answers / speaks to your idea! I think it’s a great note and good to be aware of, and does lead to some good questions! Hopefully that gives you a bit more context


Jon

Thank you for explaining it to me.