첫 커밋

This commit is contained in:
focp212@naver.com
2025-09-05 15:36:48 +09:00
commit 05238b04c1
825 changed files with 176358 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
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

@@ -0,0 +1,59 @@
import { motion } from 'framer-motion';
import { IMAGE_ROOT } from '@/shared/constants/common';
import { SmsPaymentDetailResendProps } from '../model/types';
export const SmsPaymentDetailResend = ({
bottomSmsPaymentDetailResendOn,
setBottomSmsPaymentDetailResendOn
}: SmsPaymentDetailResendProps) => {
const variants = {
hidden: { y: '100%' },
visible: { y: '0%' },
};
const onClickToClose = () => {
// close
setBottomSmsPaymentDetailResendOn(false);
};
return (
<>
{ bottomSmsPaymentDetailResendOn &&
<div className="bg-dim"></div>
}
<motion.div
className="bottomsheet"
initial="hidden"
animate={ (bottomSmsPaymentDetailResendOn)? 'visible': 'hidden' }
variants={ variants }
transition={{ duration: 0.5 }}
>
<div className="bottomsheet-header">
<div className="bottomsheet-title">
<h2>SMS & </h2>
<button
className="close-btn"
type="button"
>
<img
src={ IMAGE_ROOT + '/ico_close.svg' }
alt="닫기"
onClick={ () => onClickToClose() }
/>
</button>
</div>
</div>
<div className="resend-info">
<div className="resend-row">() : (16610808)</div>
<div className="resend-row">() : *(010****7000)</div>
</div>
<div className="resend-box">
<p className="resend-text">[]*, 110322141414 (300 06/08 )</p>
</div>
<div className="bottomsheet-footer">
<button className="btn-50 btn-blue flex-1" type="button"></button>
</div>
</motion.div>
</>
);
};