Files
zooqueenandHanzo Dev b10d6d039b Monochrome smoke-glass redesign + accurate model count; fix Next 15 export
Site
- Monochrome "smoke-glass" dark zen theme across the site: drifting smoke,
  frosted-glass cards/tables/buttons, silver-sheen headings
- Self-drawing monochrome ensล brand mark (useId-unique gradients so it
  renders in every nav slot); desaturated HF logo
- Hover mega-menus on Models/Datasets/Research + a "Try Zen" CTA pill with
  dropdown (matches hanzo.ai); uniform logo/nav type scale
- Refined hovers (drawn underline, sheen wash), symmetric section grids
- Copy: "Hanzo API" -> "Zen API"; model count "30+" -> "95 open models"
  (zenlm HF org has 95 model repos), broadened modality list
- Removed stray leaked-markup tags that broke the build; fixed kebab SVG props

Build/deploy
- Fix Next 15 static export: drop removed `next export`, use output:'export'
  to out/ -> docs/ (distDir:'docs' was polluting the deploy folder with dev
  build artifacts). docs/ is now a clean static export; CNAME preserved.

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-08 12:11:18 -07:00

81 lines
2.2 KiB
JavaScript

// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// Cards are visible immediately - no animation needed
// Navbar scroll effect
let lastScroll = 0;
const navbar = document.querySelector('header');
window.addEventListener('scroll', () => {
const currentScroll = window.pageYOffset;
if (currentScroll > 100) {
navbar.style.boxShadow = '0 4px 20px rgba(0, 0, 0, 0.3)';
} else {
navbar.style.boxShadow = 'none';
}
lastScroll = currentScroll;
});
// Add particle background effect (optional)
function createParticle() {
const particle = document.createElement('div');
particle.style.position = 'fixed';
particle.style.width = '2px';
particle.style.height = '2px';
particle.style.background = '#6366f1';
particle.style.borderRadius = '50%';
particle.style.pointerEvents = 'none';
particle.style.opacity = '0.5';
particle.style.left = Math.random() * window.innerWidth + 'px';
particle.style.top = Math.random() * window.innerHeight + 'px';
particle.style.animation = `float ${5 + Math.random() * 10}s linear infinite`;
document.body.appendChild(particle);
setTimeout(() => {
particle.remove();
}, 15000);
}
// Add float animation
const style = document.createElement('style');
style.textContent = `
@keyframes float {
0% {
transform: translateY(0) translateX(0);
opacity: 0;
}
10% {
opacity: 0.5;
}
90% {
opacity: 0.5;
}
100% {
transform: translateY(-100vh) translateX(${Math.random() * 100 - 50}px);
opacity: 0;
}
}
`;
document.head.appendChild(style);
// Create particles periodically
setInterval(createParticle, 500);
console.log('๐ŸŒŸ Zen LM - Next-Generation Language Models');
console.log('Built with clarity and purpose');