Skip to content

Commit dfd7fab

Browse files
authored
[URECA-80] Feat: 상품 UI 수정 및 주석 제거 (#77)
* [URECA-80] fix: 추천 페이지 상품 UI 수정 * [URECA-80] fix: 상품 UI 수정 * [URECA-80] feat: 스플래시 페이지 setTimeout 시간 변경 * [URECA-80] chore: 불필요한 주석 제거 * [URECA-80] fix: 테스트 주석 및 css 문법 수정
1 parent 38764a1 commit dfd7fab

25 files changed

Lines changed: 8406 additions & 12387 deletions

File tree

‎src/app/(policy)/policy/_components/policy-agree/index.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ export const PolicyAgree = () => {
1616

1717
const [agreements, setAgreements] = useState({
1818
all: false,
19-
terms: false, // 이용약관 동의(필수)
20-
privacy: false, // 개인정보 수집 및 이용동의(필수)
21-
service: false, // 서비스 이용 안내 동의 (필수)
19+
terms: false,
20+
privacy: false,
21+
service: false,
2222
});
2323

2424
const isAllRequiredChecked = agreements.terms && agreements.privacy && agreements.service;

‎src/app/(private)/help/page.tsx‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,10 @@ const HelpPage = () => {
3939
return (
4040
<div className="min-h-dvh bg-[#FFF6FA]">
4141
<div className="relative flex h-21 items-center bg-[#A86B8F] pl-4">
42-
<button
43-
type="button"
44-
// className="text-bg-[#FFF6FA] absolute top-5 left-4 flex h-10 w-10 items-center justify-center text-2xl font-semibold hover:opacity-50"
45-
className="w-fit"
46-
onClick={() => router.back()}
47-
aria-label="닫기"
48-
>
42+
<button type="button" className="w-fit" onClick={() => router.back()} aria-label="닫기">
4943
<X className="h-9 w-9" />
5044
</button>
5145
<div className="absolute top-13 right-4 h-14 w-14">
52-
{/* <Image src={Mooner} alt="" fill className="object-contain" /> */}
5346
<Moono />
5447
</div>
5548
</div>

‎src/app/(private)/mypage/page.tsx‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { AnimatePresence } from 'framer-motion';
77

88
import { SettingsGroup } from '@/app/(private)/mypage/_components/settings-group';
99
import { SettingsRow } from '@/app/(private)/mypage/_components/settings-row';
10-
import ThemeIcon from '@/assets/icons/mypage/accessibility.svg';
1110
import LogoutIcon from '@/assets/icons/mypage/account.svg';
1211
import BookmarkIcon from '@/assets/icons/mypage/bookmark.svg';
1312
import GroupIcon from '@/assets/icons/mypage/group.svg';
@@ -97,17 +96,6 @@ const Mypage = () => {
9796
},
9897
];
9998

100-
const 설정Rows = [
101-
{
102-
label: '테마 변경',
103-
icon: <ThemeIcon width="18px" height="18px" />,
104-
},
105-
{
106-
label: '언어 설정',
107-
icon: <GroupIcon width="18px" height="18px" />,
108-
},
109-
];
110-
11199
const 지원Rows = [
112100
{
113101
label: '약관',
@@ -185,12 +173,6 @@ const Mypage = () => {
185173
))}
186174
</SettingsGroup>
187175

188-
<SettingsGroup title="설정">
189-
{설정Rows.map((row) => (
190-
<SettingsRow key={row.label} icon={row.icon} label={row.label} onClick={noop} />
191-
))}
192-
</SettingsGroup>
193-
194176
<SettingsGroup title="지원">
195177
{지원Rows.map((row) => (
196178
<SettingsRow

‎src/app/(private)/page.tsx‎

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import Image from 'next/image';
33
import Link from 'next/link';
44
import { useRouter } from 'next/navigation';
5+
56
import { useQueryClient } from '@tanstack/react-query';
67

78
import FileIcon from '@/assets/icons/summary/File1.png';
@@ -124,24 +125,6 @@ const Home = () => {
124125
})}
125126
</section>
126127

127-
<section className="space-y-3">
128-
<p className="text-sm font-semibold text-gray-900">LG 유플러스 new 상담 챗봇</p>
129-
130-
<button
131-
type="button"
132-
onClick={() => router.push('/call')}
133-
className="flex w-full items-center gap-3 rounded-2xl border border-[#E6E2F4] bg-[#F5F3FF] px-4 py-3 shadow-sm"
134-
>
135-
<div className="flex h-10 w-10 items-center justify-center rounded-full bg-white text-xs font-semibold text-gray-700 shadow-sm">
136-
CHAT
137-
</div>
138-
<div>
139-
<p className="text-xs text-gray-600">유플러스만의 상담 요약 서비스</p>
140-
<p className="text-sm font-semibold text-gray-900">요플이를 지금 당장 만나보세요!</p>
141-
</div>
142-
</button>
143-
</section>
144-
145128
<section className="space-y-3">
146129
<div className="flex items-center justify-between">
147130
<p className="text-sm font-semibold text-gray-900">최근 상담</p>
@@ -162,21 +145,21 @@ const Home = () => {
162145

163146
<div className="flex-1">
164147
<div className="flex items-center gap-2">
165-
<p className="text-sm font-semibold text-gray-900">5G 요금제 변경 상담</p>
148+
<p className="text-sm font-semibold text-gray-900">유럽 여행 로밍 캐스터</p>
166149
<span className="rounded-full bg-gray-100 px-2 py-0.5 text-[10px] text-gray-500">
167150
오늘
168151
</span>
169152
</div>
170153
<p className="mt-1 text-xs text-gray-500">
171-
현재 사용 중인 요금제에서 5G 프리미어 에센셜로 변경 시 월 69,000원으로 데이터
172-
무제한 사용 가능합니다.
154+
유럽으로 출국하는 고객이 이탈리아, 스위스, 벨기에에서 사용할 데이터 중심 로밍
155+
요금제 "로밍캐스터"를 신청했습니다.
173156
</p>
174157
<div className="mt-2 flex gap-2">
175158
<span className="rounded-full bg-pink-50 px-2 py-0.5 text-[10px] text-pink-600">
176159
요금제
177160
</span>
178161
<span className="rounded-full bg-pink-50 px-2 py-0.5 text-[10px] text-pink-600">
179-
5G
162+
로밍
180163
</span>
181164
</div>
182165
</div>

‎src/app/(private)/recommend/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const page = () => {
1414
const products = data?.products ?? [];
1515

1616
return (
17-
<div className="mx-auto w-full overflow-hidden pb-10">
17+
<div className="mx-auto w-full overflow-hidden pb-24">
1818
<Header />
1919
{isLoading && (
2020
<div className="mt-4">

‎src/app/(private)/summary/_components/SummaryFailPage.tsx‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,19 @@ export const SummaryFailPage = () => {
1111

1212
return (
1313
<>
14-
{/* 헤더 */}
1514
<div className="relative flex h-14 items-center bg-white">
16-
{/* 뒤로가기 */}
1715
<button type="button" onClick={() => router.push('/summary')} className="ml-4">
1816
<Image src={Back} alt="돌아가기" width={20} height={20} priority />
1917
</button>
2018

21-
{/* 중앙 타이틀 */}
2219
<p className="absolute left-1/2 -translate-x-1/2 text-sm font-semibold">상담 요약</p>
2320
</div>
2421

25-
{/* 본문 */}
2622
<div className="mx-auto mt-10 flex min-h-[450px] w-[335px] flex-col items-center justify-center rounded-2xl bg-white p-6 shadow-lg">
2723
<Image src={SummaryFail} alt="요약 실패" width={201} height={223} priority />
2824

2925
<p className="mt-4 text-sm font-semibold text-[#6E1E3D]">요청을 다시 시도해주세요</p>
3026

31-
{/* 로딩 스피너 */}
3227
<div className="mt-4 h-6 w-6 animate-spin rounded-full border-2 border-[#6E1E3D] border-t-transparent" />
3328
</div>
3429
</>

‎src/app/(private)/summary/bookmarks/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default function BookmarkedSummaryPage() {
4141
);
4242
}
4343

44-
// 2. 인증 실패/미로그인(= userId 없음 포함)
44+
// 2. 인증 실패/미로그인
4545
if (meError || !Number.isFinite(userId)) {
4646
return (
4747
<>

‎src/app/(public)/oauth/callback/[provider]/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default function OAuthCallbackPage() {
9393
return (
9494
<div className="flex min-h-screen flex-col items-center justify-center p-12">
9595
<Loading />
96-
<p className="text-sm text-gray-500">로그인 처리 중입니다...</p>
96+
<p className="text-lg font-semibold text-gray-500">로그인 처리 중입니다...</p>
9797
</div>
9898
);
9999
}

‎src/app/(public)/onboarding/page.tsx‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@ export default function OnboardingPage() {
1515

1616
return (
1717
<div className="flex min-h-screen flex-col items-center justify-evenly">
18-
{/* 인디케이터 */}
1918
<OnboardingIndicator currentIndex={currentIndex} onChangeIndex={setCurrentIndex} />
2019

21-
{/* 슬라이드 영역 */}
2220
<OnboardingSlider currentIndex={currentIndex} onChangeIndex={setCurrentIndex} />
2321

24-
{/* 버튼 영역 */}
2522
<OnboardingButton onClick={() => setIsLoginOpen(true)} />
2623

27-
{/* 로그인 모달 */}
2824
<AnimatePresence>
2925
{isLoginOpen && <LoginModal onClose={() => setIsLoginOpen(false)} />}
3026
</AnimatePresence>

‎src/app/(public)/splash/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function SplashPage() {
2121

2222
return (
2323
<div className="relative h-dvh w-full overflow-hidden bg-[#FFF7F8]">
24-
<div className="relative z-20 mt-[112px] ml-6 flex flex-col items-start">
24+
<div className="relative z-20 mt-28 ml-6 flex flex-col items-start">
2525
<p className="text-[18px] leading-[1.45] font-medium text-[#111111]">
2626
내 손안에
2727
<br />

0 commit comments

Comments
 (0)