From ba464514b3adaa8294129fc3c9dc1ca14280faa4 Mon Sep 17 00:00:00 2001 From: G-hoon Date: Thu, 26 Sep 2024 01:32:30 +0900 Subject: [PATCH] =?UTF-8?q?[feat/#58]=20=EB=94=94=EC=9E=90=EC=9D=B8=20QA?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../icons/dashboard-calendar-tooltip.svg | 19 ++++++++++++++ src/components/Crew/MyCrew/MyCrewHeader.tsx | 2 +- src/pages/AnalysisDashboard.tsx | 25 ++++++++++++++++--- 3 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 src/assets/icons/dashboard-calendar-tooltip.svg diff --git a/src/assets/icons/dashboard-calendar-tooltip.svg b/src/assets/icons/dashboard-calendar-tooltip.svg new file mode 100644 index 0000000..12ec27d --- /dev/null +++ b/src/assets/icons/dashboard-calendar-tooltip.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/components/Crew/MyCrew/MyCrewHeader.tsx b/src/components/Crew/MyCrew/MyCrewHeader.tsx index 590bbe9..b6825a0 100644 --- a/src/components/Crew/MyCrew/MyCrewHeader.tsx +++ b/src/components/Crew/MyCrew/MyCrewHeader.tsx @@ -7,7 +7,7 @@ interface MyCrewHeaderProps { export default function MyCrewHeader(props: MyCrewHeaderProps) { const { openCreateModal } = props return ( -
+
나의 크루
{ const carouselRef = useRef(null) + const datePickerRef = useRef(null) const [currentIndex, setCurrentIndex] = useState(0) const [dateRange, setDateRange] = useState({ startDate: null, endDate: null, }) - const [isLargeViewport, setIsLargeViewport] = useState(false) - + const [showTooltip, setShowTooltip] = useState(false) const { todayAnalysis, totalAnalysis, isLoading, isError } = usePoseAnalysis(dateRange) useEffect(() => { @@ -70,7 +71,7 @@ const AnalysisDashboard = () => { return (
-

오늘의 자세 분석

+
오늘의 자세 분석