Skip to content

Commit 7174145

Browse files
committed
bota güven olmazmış
1 parent d59301f commit 7174145

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

src/pages/404.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ hidden: { y: -30, opacity: 0 },
2020
visible: {
2121
y: 0,
2222
opacity: 1,
23-
transition: { type: 'spring', stiffness: 120, damping: 12, delay: 0.4 },
23+
transition: { type: "spring" as const, stiffness: 120, damping: 12, delay: 0.4 },
2424
},
2525
};
2626

src/pages/about/index.tsx

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import Head from 'next/head';
33
import { Skeleton, Stack } from '@mui/material';
44
import { useTranslation } from 'react-i18next';
55
import { useEffect, useState } from 'react';
6+
import { easeOut } from 'framer-motion'
67
import {
78
AboutContainer,
89
Title,
@@ -18,9 +19,21 @@ visible: { transition: { staggerChildren: 0.2 } },
1819
};
1920

2021
const itemVariants = {
21-
hidden: { opacity: 0, y: 20 },
22-
visible: { opacity: 1, y: 0, transition: { duration: 0.6, ease: 'easeOut' } },
23-
};
22+
hidden:
23+
{
24+
opacity: 0,
25+
y: 20
26+
},
27+
visible:
28+
{
29+
opacity: 1,
30+
y: 0,
31+
transition: {
32+
duration: 0.6,
33+
ease: easeOut
34+
}
35+
}
36+
}
2437

2538
const About: NextPage = () => {
2639
const { t, ready } = useTranslation();

0 commit comments

Comments
 (0)