@@ -284,4 +286,14 @@ const styles = {
fontSize: "1.4rem",
marginY: "1.6rem",
}),
+ noTteokguk: css({
+ textAlign: "center",
+ marginTop: "1.6rem",
+ fontSize: "1.4rem",
+ }),
+ noTteokgukTitle: css({
+ fontSize: "1.6rem",
+ fontWeight: 700,
+ marginBottom: "0.8rem",
+ }),
};
diff --git a/src/pages/UserPage.tsx b/src/pages/UserPage.tsx
index ab095fc..563a2e8 100644
--- a/src/pages/UserPage.tsx
+++ b/src/pages/UserPage.tsx
@@ -15,6 +15,7 @@ import UserProfileSection from "@/components/common/UserProfileSection";
import TteokgukList from "@/components/common/TteokgukList";
import { $getRandomUserDetails, $getUserDetail } from "@/store/user";
import VisitIcon from "@/assets/svg/visit.svg";
+import notFound from "@/assets/images/not-found.png";
const UserPage = () => {
const { id } = useParams();
@@ -81,6 +82,13 @@ const UserPage = () => {
+ {!isPending && tteokguks.length === 0 && (
+
+
아직 만든 떡국이 없어요.
+
랜덤 방문을 통해 떡국을 만든 사용자를 찾아보세요.
+
+
+ )}
@@ -114,4 +122,21 @@ const styles = {
rowGap: "1.2rem",
marginTop: "1.2rem",
}),
+ noTteokguk: css({
+ display: "flex",
+ flexFlow: "column wrap",
+ justifyContent: "center",
+ alignItems: "center",
+ textAlign: "center",
+ marginTop: "1.6rem",
+ fontSize: "1.4rem",
+ }),
+ noTteokgukTitle: css({
+ fontSize: "1.6rem",
+ fontWeight: 700,
+ marginBottom: "0.8rem",
+ }),
+ notFound: css({
+ marginTop: "1.6rem",
+ }),
};