부가서비스 소개 수정

This commit is contained in:
focp212@naver.com
2025-09-26 09:23:27 +09:00
parent b9bca08cdb
commit bcd51e6971
7 changed files with 71 additions and 153 deletions

View File

@@ -1,35 +0,0 @@
import { IntroListItemProps } from '../model/types';
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
export const IntroListItem = ({
className,
serviceName,
serviceDesc,
icon,
path
}: IntroListItemProps) => {
const { navigate } = useNavigate();
const onClickToNavigate = () => {
if(!!path){
navigate(path);
}
};
return (
<>
<div
className={ className }
onClick={ () => onClickToNavigate() }
>
<div>
<div className="service-name">{ serviceName }</div>
<p className="service-desc">{ serviceDesc }</p>
</div>
<img
src={ icon }
alt={ serviceName }
/>
</div>
</>
)
};

View File

@@ -13,7 +13,7 @@ export const LinkPaymentStep1 = ({ formData, setFormData }: LinkPaymentStep1Prop
const { navigate } = useNavigate();
useSetOnBack(() => {
navigate(PATHS.additionalService.intro);
navigate(PATHS.additionalService.list);
});
const handlePaymentMethodChange = (method: LinkPaymentSendMethod) => {