diff --git a/app/layout-content.tsx b/app/layout-content.tsx index 012425c..62eabf9 100644 --- a/app/layout-content.tsx +++ b/app/layout-content.tsx @@ -56,6 +56,7 @@ export default function LayoutContent({ children }: { children: React.ReactNode > ) diff --git a/app/page.tsx b/app/page.tsx index 2a7cb48..9d8e0f4 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,8 +1,7 @@ 'use client' -import { useEffect, useState, useRef } from 'react' +import { useEffect, useState } from 'react' import Link from 'next/link' -import { motion, useScroll, useTransform } from 'framer-motion' import { useAuth } from '@/lib/auth/context' import { initiateOAuthFlow, initiateSignupFlow } from '@/lib/api/oauth' import { listSites, deleteSite, type Site } from '@/lib/api/sites' @@ -13,32 +12,14 @@ import { BarChartIcon, LockIcon, ZapIcon, CheckCircleIcon, XIcon } from '@cipher import { toast } from '@ciphera-net/ui' function DashboardPreview() { - const containerRef = useRef(null) - - const { scrollYProgress } = useScroll({ - target: containerRef, - offset: ["start end", "end end"] - }) - - const rotateX = useTransform(scrollYProgress, [0, 1], [30, 0]) - const scale = useTransform(scrollYProgress, [0, 1], [0.8, 1]) - const opacity = useTransform(scrollYProgress, [0, 0.8], [0.5, 1]) - return ( - + {/* * Glow behind the image */} - {/* * Animated Container */} - {/* * Header of the fake browser window */} @@ -48,13 +29,13 @@ function DashboardPreview() { {/* * Placeholder for actual dashboard screenshot - replace src with real image later */} - + Dashboard Preview - + ) }
Dashboard Preview