mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-14 15:16:35 +03:00
Commit3d9f4aeaccidentally reverted public/app.js and public/css/main.css (plus other files) to old versions. This broke the site because: - app.js imported from deleted files (commands.js, skills.js) - main.css lost 1200+ lines of Renaissance redesign (split comparison, etc.) Restored from commit343e342which had the working frontend. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
280 B
JavaScript
18 lines
280 B
JavaScript
import { inView } from "motion";
|
|
|
|
export function initScrollReveal() {
|
|
const revealElements = document.querySelectorAll("[data-reveal]");
|
|
|
|
revealElements.forEach((el) => {
|
|
inView(
|
|
el,
|
|
() => {
|
|
el.classList.add("revealed");
|
|
},
|
|
{ margin: "-50px" },
|
|
);
|
|
});
|
|
}
|
|
|
|
|