From 3da02432526c7b6ea1433948009faeb91ecf2d19 Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Sat, 2 Aug 2025 20:01:05 -0400 Subject: Link to login page --- static/index.html | 4 ++-- static/script.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/static/index.html b/static/index.html index a796239..98cacbc 100644 --- a/static/index.html +++ b/static/index.html @@ -18,8 +18,8 @@
  • Contact
  • diff --git a/static/script.js b/static/script.js index 1189cd4..17607a6 100644 --- a/static/script.js +++ b/static/script.js @@ -38,14 +38,14 @@ window.addEventListener('scroll', () => { navbar.style.background = 'rgba(255, 255, 255, 0.95)'; } }); - // CTA button handlers document.querySelectorAll('.btn').forEach(btn => { btn.addEventListener('click', (e) => { const buttonText = btn.textContent.toLowerCase(); if (buttonText.includes('sign in') || buttonText.includes('login')) { - alert('Redirecting to login page...\n\nThis would navigate to the sign-in form.'); + // Navigate to login page + window.location.href = 'login.html'; } else if (buttonText.includes('trial') || buttonText.includes('start')) { alert('Starting your free trial!\n\nThis would open the registration form with a 14-day trial.'); } else if (buttonText.includes('demo') || buttonText.includes('watch')) { -- cgit