Fixed stuff and added motion

This commit is contained in:
2025-10-23 16:42:59 +02:00
parent 68c748e9bc
commit 4241afab85
2 changed files with 27 additions and 24 deletions
+1 -3
View File
@@ -1,7 +1,6 @@
export default function Shine() { export default function Shine() {
return ( return (
<div className="px-10 md:px-0"> <div className="w-full h-[2px] mx-auto lg:w-5xl relative z-10">
<div className="w-full h-[2px] mx-auto lg:w-3xl relative">
<div <div
className=" className="
absolute left-1/2 -translate-x-1/2 absolute left-1/2 -translate-x-1/2
@@ -56,6 +55,5 @@ export default function Shine() {
" "
></div> ></div>
</div> </div>
</div>
); );
} }
+8 -3
View File
@@ -79,15 +79,20 @@ export default function LandingPage() {
</section> */} </section> */}
{/* Showcase */} {/* Showcase */}
<section className="w-full lg:w-6xl mx-auto px-8 pb-10"> <motion.section
className="w-full lg:w-6xl mx-auto px-8 pb-10"
initial={{ opacity: 0, y: -20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6 }}
>
<Shine /> <Shine />
<img <img
src="/ss.png" src="/ss.png"
alt="Showcase" alt="Showcase"
className="w-full mx-auto relative z-10 border border-accent rounded-lg" className="w-full mx-auto relative border border-accent rounded-lg"
/> />
</section> </motion.section>
{/* Footer */} {/* Footer */}
<footer className="px-6 py-8 border-t text-center text-sm text-muted-foreground"> <footer className="px-6 py-8 border-t text-center text-sm text-muted-foreground">