Business intelligence, made actionable
Turn complex business questions into a clear operating plan.
BizVanta combines expert guidance, practical learning modules, and decision-ready frameworks for founders, operators, and growing leadership teams.
20+
practical modules4
operating disciplines1
shared language
Executive dashboard
Your next decision, structured.
SignalOperating friction identified
FrameworkPriority map assembled
Next moveAlign the team around one measurable outcome
Why BizVanta
A consulting mindset you can use every week.
Decision architecture
Convert ambiguity into assumptions, options, owners, and review points.
Operating cadence
Build practical rhythms for priorities, meetings, metrics, and accountability.
Transferable tools
Leave each module with a reusable worksheet, conversation guide, or planning model.
Start with the right question
See how our team supports focused progress.
Learn about our principles, then choose the level of support that matches your current business context.
`;
document.querySelector('header').innerHTML = headerHTML;
document.querySelector('footer').innerHTML = footerHTML;
// Tailwind config
document.documentElement.style.setProperty('--accent', '#6366f1');
// Theme toggle
const themeBtn = document.querySelector('[data-theme-toggle]');
function applyTheme(mode) {
if (mode === 'light') {
document.body.classList.add('bg-white', 'text-slate-900');
document.body.classList.remove('bg-slate-950', 'text-slate-100');
} else {
document.body.classList.remove('bg-white', 'text-slate-900');
document.body.classList.add('bg-slate-950', 'text-slate-100');
}
localStorage.setItem('theme', mode);
}
const savedTheme = localStorage.getItem('theme') || 'dark';
applyTheme(savedTheme);
themeBtn.addEventListener('click', () => {
const newTheme = document.body.classList.contains('bg-white') ? 'dark' : 'light';
applyTheme(newTheme);
});
// Auth modal
const modal = document.getElementById('auth-modal');
const authTitle = document.getElementById('auth-title');
const authForm = document.getElementById('auth-form');
const authSwitch = document.getElementById('auth-switch');
let isLogin = true;
function openAuth(type) {
isLogin = type === 'login';
authTitle.textContent = isLogin ? 'Log in' : 'Create account';
authSwitch.innerHTML = isLogin
? 'New here? Register'
: 'Already have an account? Log in';
document.getElementById('auth-name').style.display = isLogin ? 'none' : 'block';
modal.classList.remove('hidden');
modal.classList.add('flex');
}
function closeAuth() {
modal.classList.remove('flex');
modal.classList.add('hidden');
}
document.querySelectorAll('[data-auth]').forEach(btn => {
btn.addEventListener('click', () => openAuth(btn.dataset.auth));
});
document.getElementById('close-auth').addEventListener('click', closeAuth);
authSwitch.addEventListener('click', () => openAuth(isLogin ? 'register' : 'login'));
authForm.addEventListener('submit', e => {
e.preventDefault();
closeAuth();
alert('Thank you. We will contact you shortly.');
authForm.reset();
});
// Cookie banner
const banner = document.getElementById('cookie-banner');
const closeCookie = banner.querySelector('[data-close-cookie]');
if (!localStorage.getItem('cookieAccepted')) {
banner.classList.remove('hidden');
banner.classList.add('flex');
}
closeCookie.addEventListener('click', () => {
localStorage.setItem('cookieAccepted', 'true');
banner.classList.remove('flex');
banner.classList.add('hidden');
});
// Keyboard escape
document.addEventListener('keydown', e => {
if (e.key === 'Escape') {
if (!modal.classList.contains('hidden')) closeAuth();
if (banner.classList.contains('flex')) banner.classList.add('hidden');
}
});
})();