Files
pbakaus_impeccable/public/js/components/lens.js
T
Paul BakausandClaude Opus 4.5 5d65154dee Fix: Restore public directory from accidental regression
Commit 3d9f4ae accidentally 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 commit 343e342 which had the working frontend.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 13:38:19 -08:00

16 lines
305 B
JavaScript

import { initSplitCompare } from "../effects/split-compare.js";
export function initLensEffect() {
const container = document.getElementById("lens-comparison");
if (!container) return;
initSplitCompare(container, {
defaultPosition: 70,
skewOffset: 8,
minPosition: 5,
maxPosition: 95
});
}