Skip to content

Commit a3087de

Browse files
committed
fix: [FN-250] type에러 수정
1 parent 6f7fb77 commit a3087de

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/pages/home.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
ArrowRight,
77
CheckCircle,
88
} from "lucide-react";
9-
import { motion } from "framer-motion";
9+
import { motion, type Variants } from "framer-motion";
1010
import { useState, useEffect } from "react";
1111
import { Card } from "@/shared/components/card";
1212
import { Link } from "@tanstack/react-router";
@@ -19,7 +19,7 @@ export default function Home() {
1919
setIsVisible(true);
2020
}, []);
2121

22-
const containerVariants = {
22+
const containerVariants: Variants = {
2323
hidden: { opacity: 0 },
2424
visible: {
2525
opacity: 1,
@@ -30,7 +30,7 @@ export default function Home() {
3030
},
3131
};
3232

33-
const itemVariants = {
33+
const itemVariants: Variants = {
3434
hidden: { opacity: 0, y: 20 },
3535
visible: {
3636
opacity: 1,
@@ -39,7 +39,7 @@ export default function Home() {
3939
},
4040
};
4141

42-
const slideInLeftVariants = {
42+
const slideInLeftVariants: Variants = {
4343
hidden: { opacity: 0, x: -50 },
4444
visible: {
4545
opacity: 1,
@@ -48,7 +48,7 @@ export default function Home() {
4848
},
4949
};
5050

51-
const slideInRightVariants = {
51+
const slideInRightVariants: Variants = {
5252
hidden: { opacity: 0, x: 50 },
5353
visible: {
5454
opacity: 1,
@@ -57,7 +57,7 @@ export default function Home() {
5757
},
5858
};
5959

60-
const floatVariants = {
60+
const floatVariants: Variants = {
6161
animate: {
6262
y: [0, -10, 0],
6363
transition: {
@@ -97,7 +97,7 @@ export default function Home() {
9797
className="flex gap-4 justify-center pt-4 flex-wrap"
9898
variants={itemVariants}
9999
>
100-
<Link href="/signup">
100+
<Link to="/auth/register">
101101
<Button className="bg-primary text-primary-foreground hover:bg-primary/90 px-8 py-6 text-base group">
102102
무료로 시작하기
103103
<ArrowRight className="w-4 h-4 ml-2 group-hover:translate-x-1 transition-transform" />

0 commit comments

Comments
 (0)