- {tabList.map((item, idx) => (
-
{
- setSelectedTab(idx);
- }}
- >
- {item}
-
- ))}
-
+ {sections.map(
+ ({
+ label,
+ chartData,
+ chartHeight,
+ opinions,
+ imageSrc,
+ imageWidth,
+ }) => (
+
+
{label}
+
+
+
+
+
+
+
+ `${v}%`}
+ offset={4}
+ />
+
+
+ `${v}%`}
+ offset={4}
+ />
+
+
+
-
-
-
-
-
-
-
- `${v}%`}
- offset={4}
- />
-
-
- `${v}%`}
- offset={4}
- />
-
-
-
-
- {[
- { label: '현재', color: '#14b8a6' },
- { label: '권장', color: '#f1ca3b' },
- ].map(({ label, color }) => (
-
-
-
- {label}
-
+
+ {[
+ { label: '현재', color: '#14b8a6' },
+ { label: '권장', color: '#f1ca3b' },
+ ].map(({ label, color }) => (
+
+
+
+ {label}
+
+
+ ))}
+
- ))}
-
-
-
-
-
- {currentOpinions.map((item, idx) => (
- -
- {item.detail}
-
- ))}
-
-
-
- {/* 왼쪽 블록 */}
-
-
-
-
- 전문가 모델 기반 리밸런싱을 원하시나요?
-
-
- 하나은행 AI 기반 ISA 포트폴리오 추천과 연동해보세요.
+
+
+
+ {opinions.map((item, idx) => (
+ -
+ {item.detail}
+
+ ))}
+
-
- {/* 오른쪽 버튼 */}
-
-
-
+ )
+ )}
diff --git a/app/(routes)/main/_components/main-page-container.tsx b/app/(routes)/main/_components/main-page-container.tsx
index 42e566a..5e7aa00 100644
--- a/app/(routes)/main/_components/main-page-container.tsx
+++ b/app/(routes)/main/_components/main-page-container.tsx
@@ -191,7 +191,6 @@ export default function MainPageContainer({ userName, savedTax }: Props) {
};
const handleAgree = () => {
- console.log('어그리 ~');
setShowModal(false);
setIsAgree(true);
setShowConfirmModal(true);
diff --git a/app/(routes)/main/_components/no-account-modal.tsx b/app/(routes)/main/_components/no-account-modal.tsx
index 67b370d..129f16e 100644
--- a/app/(routes)/main/_components/no-account-modal.tsx
+++ b/app/(routes)/main/_components/no-account-modal.tsx
@@ -22,7 +22,7 @@ export default function NoIsaModal({ onClose }: NoIsaModalProps) {
/** 모달 종료 + 메인 이동 */
const handleClose = () => {
onClose?.();
- router.replace('/main');
+ router.replace('/isa');
};
return (
@@ -48,7 +48,7 @@ export default function NoIsaModal({ onClose }: NoIsaModalProps) {
onClick={handleClose}
className='mt-6 w-full cursor-pointer rounded-lg bg-hana-green py-2 font-semibold text-white transition hover:bg-hana-green/90'
>
- 메인화면으로 이동
+ 연결하러 가기
diff --git a/app/(routes)/mypage/edit-profile/_components/edit-profile-container.tsx b/app/(routes)/mypage/edit-profile/_components/edit-profile-container.tsx
index f01c318..b92ee31 100644
--- a/app/(routes)/mypage/edit-profile/_components/edit-profile-container.tsx
+++ b/app/(routes)/mypage/edit-profile/_components/edit-profile-container.tsx
@@ -51,14 +51,6 @@ export const EditProfileContainer = () => {
))}