Initial commit

This commit is contained in:
Jonathan Atta
2026-03-03 10:33:56 +01:00
commit da373199e0
139 changed files with 26421 additions and 0 deletions

27
landingPage/script.js Normal file
View File

@@ -0,0 +1,27 @@
// Minimal interactions: year, smooth scroll, CTA
document.addEventListener('DOMContentLoaded', function(){
// Update year
var y = new Date().getFullYear();
var el = document.getElementById('year');
if(el) el.textContent = y;
// Smooth scroll for internal links
document.querySelectorAll('a[href^="#"]').forEach(function(a){
a.addEventListener('click', function(e){
var target = document.querySelector(this.getAttribute('href'));
if(target){
e.preventDefault();
target.scrollIntoView({behavior:'smooth', block:'start'});
}
});
});
// Buy button (placeholder action)
var buy = document.getElementById('buyBtn');
if(buy){
buy.addEventListener('click', function(){
// In a real site, replace with checkout link
window.location.href = 'https://example.com/checkout?product=mymobileagents&promo=launch20';
});
}
});