upd
This commit is contained in:
@@ -12,7 +12,7 @@ function ExampleCard({ title, company, image }: ExampleCardProps) {
|
||||
<motion.div
|
||||
initial={{ opacity: 0, translateY: 64 }}
|
||||
whileInView={{ opacity: 1, translateY: 0 }}
|
||||
viewport={{ once: true, margin: "-200px" }}
|
||||
viewport={{ once: true, margin: "-10%" }}
|
||||
transition={{ duration: 1, ease: [0.58, 0.12, 0.27, 0.98] }}
|
||||
className="aspect-video bg-cover bg-center bg-no-repeat"
|
||||
style={{ backgroundImage: `url('${image}')` }}
|
||||
@@ -20,7 +20,7 @@ function ExampleCard({ title, company, image }: ExampleCardProps) {
|
||||
<motion.div
|
||||
initial={{ opacity: 0, translateY: 64 }}
|
||||
whileInView={{ opacity: 1, translateY: 0 }}
|
||||
viewport={{ once: true, margin: "-100px" }}
|
||||
viewport={{ once: true, margin: "-10%" }}
|
||||
transition={{ duration: 1, ease: [0.58, 0.12, 0.27, 0.98], delay: 0.2 }}
|
||||
className="flex flex-col gap-1"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user