mirror of
https://github.com/tymur999/braintok.git
synced 2025-08-03 15:20:38 +00:00
after side
This commit is contained in:
@@ -41,10 +41,9 @@ export function MindMap() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<motion.div style={containerStyles}
|
<motion.div style={containerStyles}
|
||||||
initial={{ y: 500 }}
|
initial={{ x: -500 }}
|
||||||
transition={{ duration: 0.2 }}
|
animate={{ x: 0 }}
|
||||||
animate={{ y: 0 }}
|
exit={{ x: -500 }}
|
||||||
exit={{ y: 500 }}
|
|
||||||
>
|
>
|
||||||
<div style={innerContainerStyles}>
|
<div style={innerContainerStyles}>
|
||||||
<div style={notesContainerStyles}>
|
<div style={notesContainerStyles}>
|
||||||
|
@@ -5,7 +5,7 @@ export function QuickFact(props: {setIndex: (index: number) => void}) {
|
|||||||
initial={{ y: 500 }}
|
initial={{ y: 500 }}
|
||||||
transition={{ duration: 0.2 }}
|
transition={{ duration: 0.2 }}
|
||||||
animate={{ y: 0 }}
|
animate={{ y: 0 }}
|
||||||
exit={{ y: 500 }}
|
exit={{ x: 500 }}
|
||||||
onMouseDown={() => props.setIndex(3)}
|
onMouseDown={() => props.setIndex(3)}
|
||||||
className="h-[100vh] w-full bg-cyan-500 absolute top-0
|
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%"
|
from-[#5ce1e6] to-[rgba(0,0,0,.6)] bg-gradient-to-b from-90%"
|
||||||
|
Reference in New Issue
Block a user