-
{title}
-
-
- {setSpaceDate(startDate, endDate)}
+
+ {dueDate <= 0 ? '여행중' : `D-${dueDate}`}
+
+
+
+
{title}
+
+
{setSpaceDate(startDate, endDate)}
-
-
- ))}
+
+ ))}
+
+ {tab === 'outdated' &&
+ outdatedData?.pages.map((page) =>
+ page.data.spaces.map(({id, title, startDate, endDate, thumbnail}: Spaces) => (
+
{
+ // navigate(`/trip/${id}`)
+ }}
+ >
+
+
+
+
{title}
+
+
{setSpaceDate(startDate, endDate)}
+
+
+ )),
+ )}
+
+ {tab === 'outdated' && hasNextData &&
}
);
}
diff --git a/src/components/MySpaceBody/Tab/Tab.tsx b/src/components/MySpaceBody/Tab/Tab.tsx
index b67d124d..f9d3f8fa 100644
--- a/src/components/MySpaceBody/Tab/Tab.tsx
+++ b/src/components/MySpaceBody/Tab/Tab.tsx
@@ -1,36 +1,28 @@
-import styles from "./Tab.module.scss";
+import styles from './Tab.module.scss';
-import { TabProps } from "@/types/user";
+import {TabProps} from '@/types/user';
-function Tab({ tab, setTab }: TabProps) {
+function Tab({tab, setTab}: TabProps) {
return (
);
}
diff --git a/src/components/Route/ObserveTarget/ObserveTarget.module.scss b/src/components/Route/ObserveTarget/ObserveTarget.module.scss
new file mode 100644
index 00000000..db63f67f
--- /dev/null
+++ b/src/components/Route/ObserveTarget/ObserveTarget.module.scss
@@ -0,0 +1,10 @@
+@use '@/sass' as *;
+
+.container {
+ display: flex;
+ justify-content: center;
+
+ & > img {
+ width: 30px;
+ }
+}
diff --git a/src/components/Route/ObserveTarget/ObserveTarget.tsx b/src/components/Route/ObserveTarget/ObserveTarget.tsx
new file mode 100644
index 00000000..c2de17ab
--- /dev/null
+++ b/src/components/Route/ObserveTarget/ObserveTarget.tsx
@@ -0,0 +1,15 @@
+import {LegacyRef} from 'react';
+
+import styles from './ObserveTarget.module.scss';
+
+import spinner from '@/assets/spinner.gif';
+
+function ObserveTarget({inViewRef}: {inViewRef: LegacyRef
}) {
+ return (
+
+
+
+ );
+}
+
+export default ObserveTarget;
diff --git a/src/components/User/Mywork/Mywork.module.scss b/src/components/User/Mywork/Mywork.module.scss
index 055963d1..a073ca43 100644
--- a/src/components/User/Mywork/Mywork.module.scss
+++ b/src/components/User/Mywork/Mywork.module.scss
@@ -1,4 +1,4 @@
-@use "@/sass" as *;
+@use '@/sass' as *;
.container {
display: flex;
@@ -35,6 +35,6 @@
}
.title {
- @include typography(subTitle);
+ @include typography(tabLabel);
}
}
diff --git a/src/components/User/Profile/Profile.module.scss b/src/components/User/Profile/Profile.module.scss
index 32ea1f7b..cde4b547 100644
--- a/src/components/User/Profile/Profile.module.scss
+++ b/src/components/User/Profile/Profile.module.scss
@@ -1,4 +1,4 @@
-@use "@/sass" as *;
+@use '@/sass' as *;
.container {
}
@@ -13,6 +13,7 @@
width: 7.2rem;
height: 7.2rem;
border-radius: 50%;
+ border: 1px solid $neutral200;
background-position: center;
background-repeat: no-repeat;
diff --git a/src/components/User/Profile/Profile.tsx b/src/components/User/Profile/Profile.tsx
index fa978fde..5d86025c 100644
--- a/src/components/User/Profile/Profile.tsx
+++ b/src/components/User/Profile/Profile.tsx
@@ -15,7 +15,7 @@ function Profile({data}: ProfileProps) {