diff --git a/public/icon/l/icon-left2.svg b/public/icon/l/icon-left2.svg new file mode 100644 index 0000000..1e8bc18 --- /dev/null +++ b/public/icon/l/icon-left2.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/components/Lesson/Popular/Popular.module.scss b/src/components/Lesson/Popular/Popular.module.scss index b3108a3..5998eed 100644 --- a/src/components/Lesson/Popular/Popular.module.scss +++ b/src/components/Lesson/Popular/Popular.module.scss @@ -13,6 +13,7 @@ padding: 20px 20px 32px; display: flex; flex-direction: column; + position: relative; gap: 11px; .titleContainer { @@ -71,6 +72,28 @@ } } +.navButtonLeft { + position: absolute; + border: none; + outline: none; + background: none; + cursor: pointer; + z-index: 10; + top: 40%; + left: 0; +} + +.navButtonRight { + position: absolute; + border: none; + outline: none; + background: none; + cursor: pointer; + z-index: 10; + top: 40%; + right: 0; +} + .midContainer { height: 10px; background-color: $gray10; diff --git a/src/components/Lesson/Popular/index.tsx b/src/components/Lesson/Popular/index.tsx index 94fa6b3..7112e6c 100644 --- a/src/components/Lesson/Popular/index.tsx +++ b/src/components/Lesson/Popular/index.tsx @@ -23,7 +23,9 @@ import SportsImageComponent from '@/components/Asset/SportsImage'; import { SPORTSIMAGES } from '@/constants/asset'; import { formatCurrency } from '@/utils/formatCurrency'; import { Swiper, SwiperSlide } from 'swiper/react'; +import { Navigation } from 'swiper/modules'; import 'swiper/css'; +import 'swiper/css/navigation'; import useOutsideClick from '@/hooks/useOutsideClick'; import { toggleState } from '@/states/toggleState'; import PopularSchedule from '@/components/Schedule/PopularSchedule'; @@ -235,22 +237,32 @@ export default function Popular() { {`인기 시설 TOP ${topFacilities.length}`}
+
+ +
@@ -287,6 +299,11 @@ export default function Popular() { ))} +
+ +
diff --git a/src/components/MapHome/MapContainer/index.tsx b/src/components/MapHome/MapContainer/index.tsx index 0b9857b..500cc92 100644 --- a/src/components/MapHome/MapContainer/index.tsx +++ b/src/components/MapHome/MapContainer/index.tsx @@ -384,7 +384,11 @@ export default function MapContainer() {
{indicatorMode === 'sports' ? (