Add about page, update login redirect, and hero button tweaks

- Add about.html explaining infinity bottles, why to track, how to start
- Hero shows "What is it?" + "Track Your Bottle" when logged out; hides about button when logged in
- Redirect after login goes to index (community page) instead of dashboard
- redirectIfLoggedIn also sends to index

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-24 22:14:24 -07:00
parent 1ac5a191be
commit 46499f4cb9
4 changed files with 89 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ const Auth = (() => {
}
function redirectIfLoggedIn() {
if (isLoggedIn()) window.location.href = '/dashboard.html';
if (isLoggedIn()) window.location.href = '/index.html';
}
async function renderNav(activePage) {