From 0b6ae7a5d93e25cd422decfaf700d1f20c613946 Mon Sep 17 00:00:00 2001 From: tymur999 Date: Sat, 19 Oct 2024 20:28:42 -0400 Subject: [PATCH] after side --- src/app/landing/mindmap.tsx | 7 +++---- src/app/landing/quick_fact.tsx | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app/landing/mindmap.tsx b/src/app/landing/mindmap.tsx index e061fd8..08f8f48 100644 --- a/src/app/landing/mindmap.tsx +++ b/src/app/landing/mindmap.tsx @@ -41,10 +41,9 @@ export function MindMap() { return (
diff --git a/src/app/landing/quick_fact.tsx b/src/app/landing/quick_fact.tsx index c180d66..a89f14f 100644 --- a/src/app/landing/quick_fact.tsx +++ b/src/app/landing/quick_fact.tsx @@ -5,7 +5,7 @@ export function QuickFact(props: {setIndex: (index: number) => void}) { initial={{ y: 500 }} transition={{ duration: 0.2 }} animate={{ y: 0 }} - exit={{ y: 500 }} + exit={{ x: 500 }} onMouseDown={() => props.setIndex(3)} className="h-[100vh] w-full bg-cyan-500 absolute top-0 from-[#5ce1e6] to-[rgba(0,0,0,.6)] bg-gradient-to-b from-90%"