From fae3f578641278c49cc0e3b0737139c172748a0c Mon Sep 17 00:00:00 2001 From: jjamming Date: Wed, 19 Nov 2025 14:27:36 +0900 Subject: [PATCH 1/5] =?UTF-8?q?style:=20=EB=A1=9C=EA=B3=A0=20=EB=82=B4?= =?UTF-8?q?=EB=B6=80=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20=EA=B0=80=EC=9A=B4?= =?UTF-8?q?=EB=8D=B0=20=EC=A0=95=EB=A0=AC=EC=9D=84=20=EC=9C=84=ED=95=9C=20?= =?UTF-8?q?=ED=8C=A8=EB=94=A9=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Navbar/Logo.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Navbar/Logo.tsx b/src/components/Navbar/Logo.tsx index 402eb2c..5066f6c 100644 --- a/src/components/Navbar/Logo.tsx +++ b/src/components/Navbar/Logo.tsx @@ -2,8 +2,10 @@ import { Link } from "react-router-dom"; const Logo = () => { return ( -
- STPT +
+ + STPT +
); }; From 60456eccb8d24207959551fc21d5cc8b6701c197 Mon Sep 17 00:00:00 2001 From: jjamming Date: Wed, 19 Nov 2025 14:27:54 +0900 Subject: [PATCH 2/5] =?UTF-8?q?style:=20=EC=82=AC=EC=9D=B4=EB=93=9C?= =?UTF-8?q?=EB=B0=94=20=ED=96=84=EB=B2=84=EA=B1=B0=20=EC=95=84=EC=9D=B4?= =?UTF-8?q?=EC=BD=98=20=EC=A0=9C=EC=9E=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Navbar/SideBarButton.tsx | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/components/Navbar/SideBarButton.tsx diff --git a/src/components/Navbar/SideBarButton.tsx b/src/components/Navbar/SideBarButton.tsx new file mode 100644 index 0000000..f60cbaa --- /dev/null +++ b/src/components/Navbar/SideBarButton.tsx @@ -0,0 +1,34 @@ +import { Button } from "@/components/ui/button"; + +interface SideBarButtonProps { + isOpen: boolean; + onClick: () => void; +} + +export default function SideBarButton({ isOpen, onClick }: SideBarButtonProps) { + return ( + + ); +} From 060a9dcacd7c7c0c4dbe721055639a2a8916a6c6 Mon Sep 17 00:00:00 2001 From: jjamming Date: Wed, 19 Nov 2025 14:53:33 +0900 Subject: [PATCH 3/5] =?UTF-8?q?style:=20=EB=A9=94=EC=9D=B8=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EB=B0=98=EC=9D=91=ED=98=95=20=EB=94=94?= =?UTF-8?q?=EC=9E=90=EC=9D=B8=20=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/_MainPage/components/HeroSection.tsx | 36 +++++++---- src/_MainPage/components/MarketIndexCard.tsx | 66 ++++++++++++-------- 2 files changed, 64 insertions(+), 38 deletions(-) diff --git a/src/_MainPage/components/HeroSection.tsx b/src/_MainPage/components/HeroSection.tsx index 3397db2..c908375 100644 --- a/src/_MainPage/components/HeroSection.tsx +++ b/src/_MainPage/components/HeroSection.tsx @@ -6,8 +6,8 @@ import { Link } from "react-router-dom"; export default function HeroSection() { return ( -
-

+
+

{HERO_CONTENT.title.split("\n").map((line, i) => ( {line} @@ -15,22 +15,36 @@ export default function HeroSection() { ))}

-

- {HERO_CONTENT.description.split("\n").map((line, i) => ( - - {line} -
-
- ))} +

+ {/* 모바일 환경에서만 표시되는 텍스트 */} + + {"과거 시장 데이터를 기반으로\n당신의 투자 전략을 시뮬레이션하여\n수익률과 안정성을 미리 예측할 수 있습니다." + .split("\n") + .map((line, i) => ( + + {line} +
+
+ ))} +
+ {/* 태블릿 이상 환경에서 표시되는 텍스트 */} + + {HERO_CONTENT.description.split("\n").map((line, i) => ( + + {line} +
+
+ ))} +

diff --git a/src/_MainPage/components/MarketIndexCard.tsx b/src/_MainPage/components/MarketIndexCard.tsx index 00c947a..46bcfa6 100644 --- a/src/_MainPage/components/MarketIndexCard.tsx +++ b/src/_MainPage/components/MarketIndexCard.tsx @@ -30,13 +30,15 @@ const MarketIndexCard = ({ marketType, marketIndex, isLoading, error }: MarketIn // 로딩 상태 if (isLoading) { return ( - - - {marketType} + + + + {marketType} + - +
- +
@@ -50,13 +52,15 @@ const MarketIndexCard = ({ marketType, marketIndex, isLoading, error }: MarketIn axiosError.response?.data?.detail || "데이터를 불러오는 중 오류가 발생했습니다."; return ( - - - {marketType} + + + + {marketType} + - +
-

{errorMessage}

+

{errorMessage}

@@ -66,13 +70,15 @@ const MarketIndexCard = ({ marketType, marketIndex, isLoading, error }: MarketIn // 데이터가 없는 경우 if (!marketIndex) { return ( - - - {marketType} + + + + {marketType} + - +
-

데이터가 없습니다.

+

데이터가 없습니다.

@@ -84,13 +90,15 @@ const MarketIndexCard = ({ marketType, marketIndex, isLoading, error }: MarketIn if (!latestData) { return ( - - - {marketType} + + + + {marketType} + - +
-

데이터가 없습니다.

+

데이터가 없습니다.

@@ -108,18 +116,22 @@ const MarketIndexCard = ({ marketType, marketIndex, isLoading, error }: MarketIn })); return ( - - - {marketType} + + + + {marketType} + - -

{latestData.closePrice.toLocaleString()}

-

+ +

{latestData.closePrice.toLocaleString()}

+

{arrow} {Math.abs(latestData.changeAmount).toFixed(2)} ({sign} {latestData.changeRate.toFixed(2)}%)

-
+
From d937e7a689aca70610e60562ee9665f35029d209 Mon Sep 17 00:00:00 2001 From: jjamming Date: Wed, 19 Nov 2025 14:55:37 +0900 Subject: [PATCH 4/5] =?UTF-8?q?feat:=20=EC=82=AC=EC=9D=B4=EB=93=9C?= =?UTF-8?q?=EB=B0=94=20=ED=96=84=EB=B2=84=EA=B1=B0=20=EC=95=84=EC=9D=B4?= =?UTF-8?q?=EC=BD=98=20=EC=A0=9C=EC=9E=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Navbar/SideBarButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Navbar/SideBarButton.tsx b/src/components/Navbar/SideBarButton.tsx index f60cbaa..505ad0e 100644 --- a/src/components/Navbar/SideBarButton.tsx +++ b/src/components/Navbar/SideBarButton.tsx @@ -9,7 +9,7 @@ export default function SideBarButton({ isOpen, onClick }: SideBarButtonProps) { return (