diff --git a/public/icons/carousel-arrow-left.svg b/public/icons/carousel-arrow-left.svg new file mode 100644 index 0000000..34ae59a --- /dev/null +++ b/public/icons/carousel-arrow-left.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/icons/carousel-arrow-right.svg b/public/icons/carousel-arrow-right.svg new file mode 100644 index 0000000..a5ce2ba --- /dev/null +++ b/public/icons/carousel-arrow-right.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/icons/check.svg b/public/icons/check.svg index fc2dcf7..1a4153d 100644 --- a/public/icons/check.svg +++ b/public/icons/check.svg @@ -1,3 +1,3 @@ - + diff --git a/src/app/board/[boardId]/_components/CreatePolaroidModal/CreatePolaroid.tsx b/src/app/board/[boardId]/_components/CreatePolaroidModal/CreatePolaroid.tsx index 3058669..f606acf 100644 --- a/src/app/board/[boardId]/_components/CreatePolaroidModal/CreatePolaroid.tsx +++ b/src/app/board/[boardId]/_components/CreatePolaroidModal/CreatePolaroid.tsx @@ -56,7 +56,7 @@ const CreatePolaroid = ({ }, [fontSelectRef, showFontSelect]) return ( -
+
diff --git a/src/app/board/[boardId]/_components/CreatePolaroidModal/ThemaSelect.tsx b/src/app/board/[boardId]/_components/CreatePolaroidModal/ThemaSelect.tsx index ce09a1b..16a7ec0 100644 --- a/src/app/board/[boardId]/_components/CreatePolaroidModal/ThemaSelect.tsx +++ b/src/app/board/[boardId]/_components/CreatePolaroidModal/ThemaSelect.tsx @@ -5,6 +5,7 @@ import { THEMAS } from '@/lib' import { useEffect, useState } from 'react' import Button from '@/components/Button' import ArrowBackIcon from 'public/icons/arrow_back_ios.svg' +import CheckIcon from 'public/icons/check.svg' interface ThemaSelectItemProps { themaType: ThemaKeyType @@ -20,10 +21,14 @@ const ThemaSelectItem = ({ return (
+ {isCurrentThema && ( + + )} + polabo +
{ return ( }> - - {'업로드 후에는\n 수정 및 삭제가 불가합니다.'} - - 폴라로이드를 업로드 할까요? + 폴라로이드를 업로드 할까요? + + {'업로드 후에는 수정 및 삭제가 \n 불가합니다.'} + { + if (carouselRef.current) { + carouselRef.current.goToSlide(currentSlide + 1) + } + } + const onLeftClick = () => { + if (carouselRef.current) { + carouselRef.current.goToSlide(currentSlide - 1) + } + } + return (
@@ -54,7 +67,7 @@ const PolaroidDetailModal = ({ onClick={onClose} /> -
+
+ + {currentSlide > 1 && ( + + )} + {currentSlide < polaroids.length && ( + + )}
{isBoardOwner && (