diff --git a/index.html b/index.html index e0ee140..1e6a26d 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@
- + { try { - const response = await instance.get(`/user`); + const response = await instance.get( + `/user`, + + { + headers: { + Authorization: `Bearer ${Cookies.get("access_token")}`, + }, + } + ); return response.data; } catch (err) { throw err; diff --git a/src/components/nuguTest/styled.js b/src/components/nuguTest/styled.js index a457ed9..bcc3914 100644 --- a/src/components/nuguTest/styled.js +++ b/src/components/nuguTest/styled.js @@ -55,8 +55,6 @@ export const UserRankWrapper = styled.div` display: flex; align-items: center; justify-self: flex-start; - align-self: flex-start; - justify-content: center; flex-direction: column; gap: 3rem; width: 100%; diff --git a/src/pages/login/styled.js b/src/pages/login/styled.js index ee3f32b..b8fd214 100644 --- a/src/pages/login/styled.js +++ b/src/pages/login/styled.js @@ -7,7 +7,7 @@ export const Wrapper = styled.div` align-items: center; gap: 4rem; width: 100%; - height: calc(var(--vh, 1vh) * 100); + min-height: 100vh; padding: 1rem 0; `; diff --git a/src/pages/onBoarding/styled.js b/src/pages/onBoarding/styled.js index 488c8e2..5ac0d6b 100644 --- a/src/pages/onBoarding/styled.js +++ b/src/pages/onBoarding/styled.js @@ -5,9 +5,9 @@ export const Wrapper = styled.div` align-items: center; background: linear-gradient(180deg, #d2deef 0%, #fff 100%); width: 100%; - height: calc(var(--vh, 1vh) * 100); + min-height: 100vh; gap: 3rem; - padding-bottom: 4rem; + /* padding-bottom: 4rem; */ padding-top: 1rem; `; @@ -22,11 +22,13 @@ export const LogoContainer = styled.div` `; export const BtnContainer = styled.div` + position: fixed; + bottom: 2rem; display: flex; flex-direction: column; justify-content: center; gap: 10px; - + margin-bottom: 1rem; #loginBtn { color: ${({ theme }) => theme.colors.blue300}; font-family: ${({ theme }) => theme.fonts.pretendardB3};