From 1486f3e7da10df464cacbbdd1007e767b1f85b42 Mon Sep 17 00:00:00 2001 From: SeungWoo Date: Mon, 27 May 2024 20:02:40 +0900 Subject: [PATCH] EDIT :: Application & Tip Box Style --- src/app/profile/page.tsx | 20 ++++++++++++++------ src/components/ApplicationBox.tsx | 6 +++--- src/components/TipBox.tsx | 8 ++++---- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/src/app/profile/page.tsx b/src/app/profile/page.tsx index b3d4af6..569c8c0 100644 --- a/src/app/profile/page.tsx +++ b/src/app/profile/page.tsx @@ -123,12 +123,16 @@ export default function ProfilePage() {
공유한 지원서 자료
- +

더보기

- +
-
+
{applicationData.map((value, index) => ( ))} @@ -138,12 +142,16 @@ export default function ProfilePage() {
공유한 지원서 팁
- +

더보기

- +
-
+
{tipData.map((value, index) => ( ))} diff --git a/src/components/ApplicationBox.tsx b/src/components/ApplicationBox.tsx index a69e35b..6edb2c6 100644 --- a/src/components/ApplicationBox.tsx +++ b/src/components/ApplicationBox.tsx @@ -46,7 +46,7 @@ export const ApplicationBox = ({ return (
- + {post_title}
-
+
{user_oauth_id}
{dateToString(post_created_at)} diff --git a/src/components/TipBox.tsx b/src/components/TipBox.tsx index 470a20e..e0b1491 100644 --- a/src/components/TipBox.tsx +++ b/src/components/TipBox.tsx @@ -30,14 +30,14 @@ export const TipBox = ({ title, content, name, date }: TipBoxProps) => {
) : ( -
- +
+ {title} - + {content} -
+
{name}
{dateToString(date)}