Files
pbakaus_impeccable/public/js/components/lens.js
T
Paul BakausandClaude Opus 4.6 98f5d839fd Improve split comparison: add before/after badges, extend slider range
Adds floating corner badges to clarify which side is before/after,
removes the "With Skills" divider label, and extends the slider range
to account for the skewed divider so it can fully reveal each side.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 09:39:05 -08:00

15 lines
269 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
});
}