From 2bc81b0aa6e64f6623db6a9acfd2f4c27254bd6e Mon Sep 17 00:00:00 2001 From: MEGUMMY1 Date: Mon, 22 Jul 2024 13:49:17 +0900 Subject: [PATCH] =?UTF-8?q?Design:=20=EB=8B=A4=ED=81=AC=20=EB=AA=A8?= =?UTF-8?q?=EB=93=9C=20location=20=EC=95=84=EC=9D=B4=EC=BD=98=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ActivityDetails/ActivityDetails.tsx | 8 +++++++- components/ActivityDetails/Map/Map.tsx | 2 +- public/icon/location_gray.svg | 4 ++++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 public/icon/location_gray.svg diff --git a/components/ActivityDetails/ActivityDetails.tsx b/components/ActivityDetails/ActivityDetails.tsx index 43d4437..ad7d5e1 100644 --- a/components/ActivityDetails/ActivityDetails.tsx +++ b/components/ActivityDetails/ActivityDetails.tsx @@ -27,10 +27,12 @@ import { ShareButton } from '../ ShareButton/ShareButton'; import { ActivityDetailsPageMeta } from '../MetaData/MetaData'; import useDeleteActivity from '@/hooks/myActivity/useDeleteActivity'; import { usePopup } from '@/hooks/usePopup'; +import { darkModeState } from '@/states/themeState'; export default function ActivityDetails({ id }: ActivityDetailsProps) { const router = useRouter(); const [isOpen, setIsOpen] = useState(false); + const isDarkMode = useRecoilValue(darkModeState); const [currentPage, setCurrentPage] = useState( router.query.page ? parseInt(router.query.page as string, 10) : 1 ); @@ -147,7 +149,11 @@ export default function ActivityDetails({ id }: ActivityDetailsProps) {
위치 아이콘
위치 아이콘 + + +