summaryrefslogtreecommitdiff
path: root/static/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/script.js')
-rw-r--r--static/script.js4
1 files changed, 2 insertions, 2 deletions
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')) {