This commit is contained in:
2023-11-22 18:59:30 +05:00
parent 94ccd27eb5
commit b8cec033bb
38 changed files with 551 additions and 176 deletions
+2 -2
View File
@@ -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"
>