+
앗..오류가 발생하였습니다.
-
+
시스템에 오류가 발생하였습니다.
잠시 후에 다시 시도해 주세요.
홈으로
@@ -35,7 +35,7 @@ const Error = () => {
{
{
href="/api/auth/kakao"
>
-
+
카카오로 로그인
@@ -48,7 +52,7 @@ const SignIn = () => {
>
diff --git a/src/components/auth/SignUp.tsx b/src/components/auth/SignUp.tsx
index 52bbeb9d..9637a28a 100644
--- a/src/components/auth/SignUp.tsx
+++ b/src/components/auth/SignUp.tsx
@@ -34,7 +34,11 @@ const SignUp = () => {
href="/api/auth/kakao"
>
-
+
카카오로 1초만에 시작하기
@@ -48,7 +52,7 @@ const SignUp = () => {
>
diff --git a/src/components/common/Banner.tsx b/src/components/common/Banner.tsx
index e4c0451f..4c4f5a97 100644
--- a/src/components/common/Banner.tsx
+++ b/src/components/common/Banner.tsx
@@ -58,7 +58,7 @@ const Banner = ({ content, buttonText, category }: Props) => {
diff --git a/src/components/common/Breadcrumb.tsx b/src/components/common/Breadcrumb.tsx
index c56e9661..5794fe8f 100644
--- a/src/components/common/Breadcrumb.tsx
+++ b/src/components/common/Breadcrumb.tsx
@@ -18,7 +18,7 @@ const Breadcrumbs: FC = ({ categories }) => {
{
>
{
{
{/* 모임 기간 */}
{
{/* 모임 장소 */}
{
{/* 모임 인원 */}
{
{/* 모임 시간 */}
{
{
)}
{
{/* 모임 기간 */}
{
{/* 모임 인원 */}
{
>
{/* 모임 시간 */}
{
{
/>
{
+export const Modal = ({
+ isOpen,
+ children,
+ onClose,
+ isHeaderBar,
+ headerBarStyle = "bg-white",
+}: ModalProps) => {
const [documentBody, setDocumentBody] = useState(null);
const ref = useRef(null);
let flag = isOpen;
@@ -40,7 +46,7 @@ export const Modal = ({ isOpen, children, onClose, isHeaderBar, headerBarStyle =
useEffect(() => {
if (isOpen) {
- history.pushState({isModal: true}, "");
+ history.pushState({ isModal: true }, "");
window.addEventListener("popstate", handlePopState);
window.addEventListener("beforeunload", handleBeforeUnload);
}
@@ -65,7 +71,7 @@ export const Modal = ({ isOpen, children, onClose, isHeaderBar, headerBarStyle =
{
if (e.target == ref.current) {
onClose();
@@ -79,7 +85,7 @@ export const Modal = ({ isOpen, children, onClose, isHeaderBar, headerBarStyle =
className="transform-origin-center mr-[.5rem] mt-[1rem] h-[2rem] w-[2rem] scale-100 transform transition-transform duration-300 hover:scale-150"
>
{
)}
-
+
{Array.from({ length: days }, (_, index) => index + 1).map(
(day) => (
@@ -68,7 +73,7 @@ const DiaryCard = ({
{
href="/diary/write"
>
{"YYYY.MM.DD"}
{
}
>
-
+
@@ -74,7 +74,7 @@ const GatheringEditor = (props: IGatheringEditorProps) => {
onClick={() => {
if (!formContext.formState.isValid) {
formContext.trigger();
- return ;
+ return;
}
props.isEdit == true
? props.updateGatheringHandler()
@@ -85,7 +85,7 @@ const GatheringEditor = (props: IGatheringEditorProps) => {
{
return (
-
{props.categoryList.map((i) => (
))}
-
+
시스템에 오류가 발생하였습니다.
잠시 후에 다시 시도해 주세요.