From 711ee313f58099e13bfdbd5180ef147d4ca512ec Mon Sep 17 00:00:00 2001 From: yoouung Date: Thu, 19 Dec 2024 11:06:39 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=91=B8=ED=84=B0=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=20=EB=B3=80=EA=B2=BD=20=EB=A1=9C=EC=A7=81=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/components/Footer.tsx | 40 +++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/src/app/components/Footer.tsx b/src/app/components/Footer.tsx index 3c32b64..f077d8d 100644 --- a/src/app/components/Footer.tsx +++ b/src/app/components/Footer.tsx @@ -1,30 +1,56 @@ +'use client' + import Image from 'next/image' import home from '@images/home.png' import course from '@images/course.png' import calendar from '@images/calendar.png' import my from '@images/my.png' -import homePurple from '@/images/home_color.png' +import homePurple from '@images/home_color.png' import coursePurple from '@images/course_color.png' -import myurple from '@images/my_color.png' -import calendarurple from '@images/calendar_color.png' +import myPurple from '@images/my_color.png' +import calendaPurple from '@images/calendar_color.png' import Link from 'next/link' +import { usePathname } from 'next/navigation' export default function Footer() { + const path = usePathname() + return (