From cbdb367b75a9a4cdf403e151570a46b99714a4fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=B0=BD=EC=88=98?= Date: Tue, 29 Apr 2025 16:09:17 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EB=B9=84?= =?UTF-8?q?=EB=B0=80=EB=B2=88=ED=98=B8=20=EB=B3=B4=EC=9D=B4=EA=B8=B0=20?= =?UTF-8?q?=EC=88=A8=EA=B8=B0=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/images/common/pw_hide_icon.svg | 16 ++++++++++++++++ src/app/login/page.tsx | 9 +++++++-- src/styles/base/_inputs.scss | 2 +- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 public/assets/images/common/pw_hide_icon.svg diff --git a/public/assets/images/common/pw_hide_icon.svg b/public/assets/images/common/pw_hide_icon.svg new file mode 100644 index 0000000..c7565e0 --- /dev/null +++ b/public/assets/images/common/pw_hide_icon.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index 4620f47..d629df5 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -1,6 +1,11 @@ +'use client' + import Footer from "@/components/layouts/Footer"; +import { useState } from "react"; export default function LoginPage(){ + const [pwShow, setPwShow] = useState(false); //비밀번호 보이기 숨기기 + return(
@@ -15,8 +20,8 @@ export default function LoginPage(){
- - + +
diff --git a/src/styles/base/_inputs.scss b/src/styles/base/_inputs.scss index c8cf32d..7bc0784 100644 --- a/src/styles/base/_inputs.scss +++ b/src/styles/base/_inputs.scss @@ -190,7 +190,7 @@ input::-webkit-inner-spin-button { } &.act{ .show-icon{ - background: url(/assets/images/common/pw_show_icon.svg)no-repeat center; + background: url(/assets/images/common/pw_hide_icon.svg)no-repeat center; } } }