Skip to content

Commit fe7b482

Browse files
committed
refact: 티켓 확인 관련 컴포넌트 일부 CSS 수정
1 parent 44a59af commit fe7b482

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/pages/dashboard/ui/ticket/TIcketConfirmPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState } from 'react';
1+
import { useState } from 'react';
22
import Header from '../../../../../design-system/ui/Header';
33
import Search from '../../../../../design-system/icons/Search.svg';
44
import { useNavigate } from 'react-router-dom';
@@ -24,15 +24,15 @@ const TicketConfirmPage = () => {
2424
centerContent="티켓 구매 확인"
2525
rightContent={<img src={Search} alt="검색" className="w-4" />}
2626
/>
27-
<div className=" bg-gray-100 p-3 min-h-screen flex flex-col gap-3">
27+
<div className="bg-gray-100 p-3 min-h-screen flex flex-col gap-3">
2828
<PurchaseBanner setIsModalOpen={setIsModalOpen} />
2929
<OrganizerInfo />
3030
<LocationInfo />
3131
</div>
3232
{isModalOpen && (
3333
<EmailDeleteMoal
3434
mainText="WOOACON 2024의 일반 티켓 2매 구매를 취소하시겠습니까?. 취소 후에는 복구가 불가능합니다."
35-
approveButtonText="취소"
35+
approveButtonText="티켓 취소"
3636
rejectButtonText="뒤로가기"
3737
onClose={() => setIsModalOpen(false)}
3838
onClick={() => navigate('/menu/myticket')}

src/widgets/dashboard/ui/EmailDeleteModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ interface EmailDeleteMoalProps {
1212
const EmailDeleteMoal = ({ onClose, mainText, approveButtonText, rejectButtonText, onClick }: EmailDeleteMoalProps) => {
1313
return (
1414
<div className="fixed inset-0 z-50 flex items-center justify-center w-full max-w-lg mx-auto backdrop-blur-sm">
15-
<div className="flex flex-col items-center justify-center w-[90%] gap-5 py-6 bg-white border border-placeholderText rounded-lg p-6">
15+
<div className="flex flex-col items-center justify-center w-[93%] gap-5 py-6 bg-white border border-placeholderText rounded-lg p-6">
1616
<img src={notice} alt="경고 아이콘" className="w-20" />
1717
<div>
1818
{mainText.split('. ').map((text, i) => (
19-
<p className="text-14 font-semibold text-center" key={i}>
19+
<p className="text-12 md:text-14 font-semibold text-center" key={i}>
2020
{text}
2121
</p>
2222
))}

src/widgets/dashboard/ui/TicketConfirmPage/LocationInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const MapInfo = {
88

99
const LocationInfo = () => {
1010
return (
11-
<div className="p-5 bg-white flex flex-col gap-2">
11+
<div className="p-5 bg-white flex flex-col gap-2 rounded-[10px]">
1212
<p className="font-bold md:text-2xl text-xl">오시는 길</p>
1313
<p>{MapInfo.LocationName}</p>
1414
<KakaoMap lat={MapInfo.lat} lng={MapInfo.lng} />

src/widgets/dashboard/ui/TicketConfirmPage/OrganizerInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import EmailIcon from '../../../../../public/assets/dashboard/ticket/emailIcon.s
44

55
const OrganizerInfo = () => {
66
return (
7-
<div className="bg-white w-full p-5 flex flex-col gap-3">
7+
<div className="bg-white w-full p-5 flex flex-col gap-3 rounded-[10px]">
88
<p className="md:text-2xl text-xl font-bold">주최자 정보</p>
99
<p>테크 이노베이션 그룹</p>
1010
<p className="text-gray-400 md:text-base text-sm">

src/widgets/dashboard/ui/TicketConfirmPage/PurchaseBanner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ const PurchaseBanner = ({ setIsModalOpen }: { setIsModalOpen: React.Dispatch<Rea
99
return (
1010
<div>
1111
<div className="flex flex-col justify-center items-center">
12-
<div className="w-full h-16 bg-gradient-to-l from-main to-gradation text-white font-bold flex items-center px-10 text-xl pt-2 gap-2">
12+
<div className="w-full h-14 md:h-16 bg-gradient-to-l from-main to-gradation text-white font-bold flex items-center px-6 text-xl pt-2 gap-2">
1313
<img src={CheckIcon} alt="Check_Icon" />
1414
<p>구매 확정</p>
1515
</div>
16-
<div className="w-full h-3 bg-gradient-to-l from-main to-gradation clip-top-banner"></div>
16+
<div className="w-full h-2 md:h-3 bg-gradient-to-l from-main to-gradation clip-top-banner"></div>
1717
</div>
1818
<div className="w-full h-3 bg-white clip-bottom-banner"></div>
1919
<div className="bg-white p-5 flex flex-col gap-5">

0 commit comments

Comments
 (0)