+
+
직접 내 모임을`, "만들어보세요!"]}
+ buttonText="모임 등록하기"
+ category={"모임"}
+ />
+
+
+
+
+
diff --git a/src/components/common/GatheringItem.tsx b/src/components/common/GatheringItem.tsx
index bf843426..7f650647 100644
--- a/src/components/common/GatheringItem.tsx
+++ b/src/components/common/GatheringItem.tsx
@@ -37,11 +37,13 @@ const status: { [key: string]: string } = {
// todo
const GatheringItem = ({ data }: IGatheringItem) => {
return (
+ // w-[307] , h-[315], p-5,
+ {/* 상태와 북마크 */}
{
postId={data.gatheringId}
/>
+ {/* 제목, 유저 닉네임 */}
{data.title}
@@ -66,11 +69,11 @@ const GatheringItem = ({ data }: IGatheringItem) => {
{/* 마감일 포함 영역 */}
- {/* 4개 영역 */}
+ {/* 4개 영역(기간, 장소, 시간, 인원) */}
@@ -106,7 +109,7 @@ const GatheringItem = ({ data }: IGatheringItem) => {
@@ -162,7 +165,8 @@ const GatheringItem = ({ data }: IGatheringItem) => {
-
+ {/* 마감일, 좋아요, 조회수 */}
+
{
마감일:
- {format(new Date(data.deadline), "yy-MM-dd(EE)", {
+ {format(new Date(data.deadline), "yy.MM.dd(EE)", {
locale: ko,
})}
diff --git a/src/components/common/modal/Modal.tsx b/src/components/common/modal/Modal.tsx
index a12d9bf9..6fe84f19 100644
--- a/src/components/common/modal/Modal.tsx
+++ b/src/components/common/modal/Modal.tsx
@@ -14,7 +14,7 @@ interface ModalProps extends React.PropsWithChildren {
export const Modal = ({ isOpen, children, onClose, isHeaderBar, headerBarStyle = "bg-white" }: ModalProps) => {
const [documentBody, setDocumentBody] = useState(null);
- const ref = useRef(null);
+ const ref = useRef(null);
let flag = isOpen;
usePreventBodyScroll(isOpen);
@@ -62,10 +62,15 @@ export const Modal = ({ isOpen, children, onClose, isHeaderBar, headerBarStyle =
className="fixed inset-0 flex h-full w-full items-center justify-center"
style={{ zIndex: "100" }}
>
-
-
+
+
,
document.getElementById("modal-root") as HTMLElement,
);
diff --git a/src/components/gathering/createUpdate/editor/modal/GatheringCategoryModal.tsx b/src/components/gathering/createUpdate/editor/modal/GatheringCategoryModal.tsx
index 93ebd137..2a7f7ac8 100644
--- a/src/components/gathering/createUpdate/editor/modal/GatheringCategoryModal.tsx
+++ b/src/components/gathering/createUpdate/editor/modal/GatheringCategoryModal.tsx
@@ -28,7 +28,7 @@ const GatheringCategoryModal = (props: IGatheringCategoryModalProps) => {
return (
-
-
카테고리 선택
-
+
+
카테고리 선택
+
{props.categoryList.map((i) => (
))}
-
+