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; } } }