feat: real-time auto-sliding and hover-scrubbing cards in tool stack, and interactive 2-column Try It transformation studio on tool pages
This commit is contained in:
@@ -8,7 +8,7 @@ import { TryItWidget } from './TryItWidget';
|
||||
import { HeroPrism } from '@/components/3d/HeroPrism';
|
||||
import { Kinetic3DText } from '@/components/ui/Kinetic3DText';
|
||||
import { ShimmerBadge } from '@/components/animate-ui/ShimmerBadge';
|
||||
import { DeferredComparison } from '@/components/ui/DeferredComparison';
|
||||
import { CardBeforeAfterSlider } from '@/components/ui/CardBeforeAfterSlider';
|
||||
|
||||
interface HeroSectionProps {
|
||||
title?: any;
|
||||
@@ -170,7 +170,7 @@ export function HeroSection({
|
||||
<div className="relative rounded-[2rem] border border-slate-900/[0.1] bg-white p-2.5 sm:p-3 shadow-cinematic-3d">
|
||||
{example?.before && example?.after ? (
|
||||
<div className="space-y-2.5">
|
||||
<DeferredComparison
|
||||
<CardBeforeAfterSlider
|
||||
beforeUrl={example.before}
|
||||
afterUrl={example.after}
|
||||
beforeLabel="ORIGINAL"
|
||||
|
||||
Reference in New Issue
Block a user