From 087ab8df4d49fd3fd768f123c23caf0e5cba22b3 Mon Sep 17 00:00:00 2001 From: Yamyam-code Date: Mon, 29 Jan 2024 14:37:37 +0900 Subject: [PATCH] Fix: home QA --- src/assets/homeIcons/home/searchIcon.svg | 3 +++ src/components/Home/Onboarding/Onboarding.module.scss | 2 +- src/components/Home/TabBar/TabBar.module.scss | 2 +- src/components/Home/TabBar/TabBar.tsx | 5 +++-- .../Home/VoteAtHome/VoteCard/CardHaveVote/CardHaveVote.tsx | 3 ++- .../SearchFromHome/MapHeader/MapHeader.module.scss | 2 +- .../SearchFromHome/SearchHome/HotItems/HotItems.module.scss | 3 ++- .../SearchList/Map/MapItems/MapItems.module.scss | 1 + .../WishItem/WishesHeader/WishesHeader.module.scss | 3 +-- 9 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 src/assets/homeIcons/home/searchIcon.svg diff --git a/src/assets/homeIcons/home/searchIcon.svg b/src/assets/homeIcons/home/searchIcon.svg new file mode 100644 index 00000000..1f1377f4 --- /dev/null +++ b/src/assets/homeIcons/home/searchIcon.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Home/Onboarding/Onboarding.module.scss b/src/components/Home/Onboarding/Onboarding.module.scss index d3273911..a7f65868 100644 --- a/src/components/Home/Onboarding/Onboarding.module.scss +++ b/src/components/Home/Onboarding/Onboarding.module.scss @@ -39,7 +39,7 @@ @include typography(headline); .modal { position: absolute; - top: 50%; + top: 45%; left: 50%; width: 31.1rem; diff --git a/src/components/Home/TabBar/TabBar.module.scss b/src/components/Home/TabBar/TabBar.module.scss index da8b2013..40c4654f 100644 --- a/src/components/Home/TabBar/TabBar.module.scss +++ b/src/components/Home/TabBar/TabBar.module.scss @@ -12,7 +12,7 @@ background-color: $neutral0; - z-index: 10; + z-index: 1000; .icons { display: flex; diff --git a/src/components/Home/TabBar/TabBar.tsx b/src/components/Home/TabBar/TabBar.tsx index fc0ce996..e05af49c 100644 --- a/src/components/Home/TabBar/TabBar.tsx +++ b/src/components/Home/TabBar/TabBar.tsx @@ -1,11 +1,12 @@ import {AiOutlineBell} from 'react-icons/ai'; -import {IoSearchSharp} from 'react-icons/io5'; import {Link} from 'react-router-dom'; import styles from './TabBar.module.scss'; import {useGetAlarm} from '@/hooks/Notification/useNotification'; +import SearchIcon from '@/assets/homeIcons/home/searchIcon.svg?react'; + import {Alarmprop} from '@/types/alarm'; function TabBar({onAlarmOpen, isAlarmOpen}: Alarmprop) { @@ -20,7 +21,7 @@ function TabBar({onAlarmOpen, isAlarmOpen}: Alarmprop) {
- +