From ba10ef2d7145d2531759228bd230a1e71fc71c7e Mon Sep 17 00:00:00 2001 From: SUMMERLOVE7 Date: Mon, 20 Feb 2023 23:49:09 +0900 Subject: [PATCH] =?UTF-8?q?feat(FE)=20:=20auth=20=EC=95=8C=EB=A6=BC=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=20=EB=B9=84=EB=8F=99=EA=B8=B0=EC=B2=98?= =?UTF-8?q?=EB=A6=AC(#176)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/auth/register.js | 2 +- client/src/pages/MainPage.js | 2 +- client/src/styles/common.scss | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/components/auth/register.js b/client/src/components/auth/register.js index f21201a..75bfb2b 100644 --- a/client/src/components/auth/register.js +++ b/client/src/components/auth/register.js @@ -129,7 +129,7 @@ const register = () => { navigate('/card'); await regiseterUser(data); - notification('로그아웃', 'logout')(); + await notification('회원가입', 'register')(); }; const addInputForm = (fragment) => (input) => inputForm({ ...input, target: fragment })(); diff --git a/client/src/pages/MainPage.js b/client/src/pages/MainPage.js index 0f4b255..75c7aca 100644 --- a/client/src/pages/MainPage.js +++ b/client/src/pages/MainPage.js @@ -229,7 +229,7 @@ const navigateMain = async () => { MainPage.render(), addEvents, slider(), - // () => notification("logout", "logout")(), + //() => notification("logout", "logout")(), () => $.qsa('.mark-used-button'), makeUsedState, () => $.qs('.main-dropdown-button'), diff --git a/client/src/styles/common.scss b/client/src/styles/common.scss index 056e626..9060bbe 100644 --- a/client/src/styles/common.scss +++ b/client/src/styles/common.scss @@ -14,17 +14,17 @@ padding: 1.5rem 0; width: 100%; position: absolute; - bottom: calc(-50px - 3rem); + bottom: calc(-50px - 1.1rem); transition: transform 0.3s ease-in-out; z-index: 15; p { - font-size: calc(-50px - 3rem); + font-size: 1.5rem; text-align: center; } &.show { - transform: translateY(-50px); + transform: translateY(calc(-50px - 1.1rem)); } }