Skip to content

Commit 53cac0e

Browse files
authored
Merge pull request #223 from Ureca-Mini-Project-Team4/refactor/sealpw
REFACTOR: #213 물개 변경
2 parents aa36db5 + a313874 commit 53cac0e

File tree

7 files changed

+59
-13
lines changed

7 files changed

+59
-13
lines changed
-59.5 KB
Binary file not shown.

react-app/public/assets/images/seal-change-password.svg

Lines changed: 25 additions & 0 deletions
Loading
-234 KB
Binary file not shown.

react-app/public/assets/images/seal-chat-big.svg

Lines changed: 25 additions & 0 deletions
Loading

react-app/src/components/Character/Character.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1+
import { IMAGES } from '@/constants/imagePath';
12
const CharacterCard = () => {
23
return (
34
<div className="relative flex flex-col items-center">
45
{/* seal 이미지 */}
5-
<img
6-
src="\assets\images\seal-chat-big.png"
7-
alt="Character Seal"
8-
className="relative z-10 sm:w-[300px]"
9-
/>
6+
<img src={IMAGES.SEAL_CHAT_BIG} alt="Character Seal" className="relative z-10 sm:w-[300px]" />
107
</div>
118
);
129
};

react-app/src/constants/imagePath.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ export const IMAGES = {
77
WINNER_BASE: '/assets/images/people',
88
DEFAULT_PROFILE: '/assets/images/default-profile.png',
99
MEDAL: '/assets/images/medal.png',
10-
SEAL_CHANGE_PASSWORD: '/assets/images/seal-change-password.png',
10+
SEAL_CHANGE_PASSWORD: '/assets/images/seal-change-password.svg',
11+
SEAL_CHAT_BIG: '/assets/images/seal-chat-big.svg',
1112
ARROW_LEFT: '/assets/images/vector.png',
1213
MOCKUP: '/assets/images/mockup.png',
1314
MAIN: [

react-app/src/pages/ChangePW.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,11 @@ const ChangePW = () => {
5454
<div className="flex justify-center items-center min-h-screen px-4 py-8">
5555
<div className="flex flex-col md:flex-row w-full max-w-3xl bg-white overflow-hidden gap-8">
5656
{isDesktop && (
57-
<div className="flex justify-center items-center w-full md:w-[50%] p-4">
58-
<img
59-
src={IMAGES.SEAL_CHANGE_PASSWORD}
60-
alt="물개"
61-
className="max-w-full h-auto object-contain"
62-
/>
63-
</div>
57+
<img
58+
src={IMAGES.SEAL_CHANGE_PASSWORD}
59+
alt="물개"
60+
className="w-[40%] aspect-square flex justify-center items-center object-contain m-5 pr-13 pt-13"
61+
/>
6462
)}
6563
<div className="flex flex-col justify-center w-full md:w-[50%] p-6 gap-6">
6664
<h2 className="font-gumi text-center text-[24px] md:text-[32px] mb-4">

0 commit comments

Comments
 (0)