This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:
Hi there! I’m a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin’ caught in the rain.)
…or something like this:
The XYZ Doohickey Company was founded in 1971, and has been providing quality doohickeys to the public ever since. Located in Gotham City, XYZ employs over 2,000 people and does all kinds of awesome things for the Gotham community.
As a new WordPress user, you should go to your dashboard to delete this page and create new pages for your content. Have fun!
Scroll to Top
(function() {
'use strict';
// ==========================================
// SCROLL REVEAL ANIMATIONS
// ==========================================
function initScrollReveal() {
const observer = new IntersectionObserver(function(entries) {
entries.forEach(function(entry) {
if (entry.isIntersecting) {
entry.target.classList.add('ld-visible');
observer.unobserve(entry.target);
}
});
}, { threshold: 0.1, rootMargin: '0px 0px -50px 0px' });
document.querySelectorAll('.ld-reveal, .db-card, .aeo-atomic-answer, figure.db-content-image, .ld-stat-item').forEach(function(el) {
observer.observe(el);
});
}
// ==========================================
// COUNTER ANIMATION
// ==========================================
function animateCounter(el) {
var target = parseInt(el.getAttribute('data-target') || el.textContent.replace(/[^0-9]/g, ''), 10);
if (!target) return;
var duration = 2000;
var start = performance.now();
var suffix = el.getAttribute('data-suffix') || '';
function update(now) {
var elapsed = now - start;
var progress = Math.min(elapsed / duration, 1);
var eased = 1 - Math.pow(1 - progress, 3);
el.textContent = Math.floor(eased * target).toLocaleString() + suffix;
if (progress < 1) requestAnimationFrame(update);
}
requestAnimationFrame(update);
}
function initCounters() {
var observer = new IntersectionObserver(function(entries) {
entries.forEach(function(entry) {
if (entry.isIntersecting) {
animateCounter(entry.target);
observer.unobserve(entry.target);
}
});
}, { threshold: 0.5 });
document.querySelectorAll('.ld-counter-number, [data-counter]').forEach(function(el) {
observer.observe(el);
});
}
// ==========================================
// MOBILE NAVIGATION
// ==========================================
function initMobileNav() {
var toggle = document.querySelector('.ast-mobile-menu-buttons, .menu-toggle, .ast-header-break-point .menu-icon');
if (!toggle) return;
var nav = document.querySelector('#ast-hf-menu-1, .main-navigation, .ast-primary-navigation-wrap');
if (!nav) return;
nav.style.transition = 'all 0.3s ease';
}
// ==========================================
// SMOOTH SCROLL
// ==========================================
function initSmoothScroll() {
document.querySelectorAll('a[href^="#"]').forEach(function(anchor) {
anchor.addEventListener('click', function(e) {
var target = document.querySelector(this.getAttribute('href'));
if (target) {
e.preventDefault();
target.scrollIntoView({ behavior: 'smooth', block: 'start' });
}
});
});
}
// ==========================================
// WHATSAPP FLOATING BUTTON
// ==========================================
function initWhatsApp() {
if (document.querySelector('.ld-whatsapp-float')) return;
var btn = document.createElement('a');
btn.href = 'https://wa.me/628113809193?text=Hi%2C%20I%27m%20interested%20in%20relocating%20from%20Dubai%20to%20Bali.%20Can%20you%20help%20me%3F';
btn.target = '_blank';
btn.rel = 'noopener noreferrer';
btn.className = 'ld-whatsapp-float db-whatsapp-float';
btn.setAttribute('aria-label', 'Chat on WhatsApp');
btn.innerHTML = '';
btn.style.cssText = 'position:fixed;bottom:24px;right:24px;width:60px;height:60px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(37,211,102,0.4);z-index:9999;transition:all 0.3s ease;text-decoration:none;';
btn.addEventListener('mouseenter', function() { this.style.transform = 'scale(1.1)'; this.style.boxShadow = '0 6px 30px rgba(37,211,102,0.6)'; });
btn.addEventListener('mouseleave', function() { this.style.transform = 'scale(1)'; this.style.boxShadow = '0 4px 20px rgba(37,211,102,0.4)'; });
document.body.appendChild(btn);
}
// ==========================================
// NAVBAR SCROLL EFFECT
// ==========================================
function initNavbarScroll() {
var header = document.querySelector('#masthead, .site-header, .ast-site-header-wrap');
if (!header) return;
window.addEventListener('scroll', function() {
if (window.scrollY > 80) {
header.style.boxShadow = '0 4px 30px rgba(0,0,0,0.3)';
header.style.backdropFilter = 'blur(10px)';
} else {
header.style.boxShadow = '';
header.style.backdropFilter = '';
}
}, { passive: true });
}
// ==========================================
// INIT ALL
// ==========================================
function init() {
initScrollReveal();
initCounters();
initMobileNav();
initSmoothScroll();
initWhatsApp();
initNavbarScroll();
}
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', init);
} else {
init();
}
})();