Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ function App() {
// 바텀nav바를 숨길 경로들
const hideBottomNavPaths = [
"/splash",
"/",
"/signup",
"/login",
"/chat/room/buy",
Expand All @@ -35,7 +34,6 @@ function App() {
// 탑nav바를 숨길 경로들
const hideTopNavPaths = [
"/splash",
"/",
"/login",
"/signup",
"/chat/room/final",
Expand Down
11 changes: 9 additions & 2 deletions src/pages/OnBoarding.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ const OnboardingContainer = styled.div`
`;

const SwiperWrapper = styled.div`
flex: 4;
position: absolute;
top: 80px;
left: 50%;
transform: translateX(-50%);
width: 100%;
display: flex;
justify-content: center;
align-items: center;
Expand All @@ -39,7 +43,10 @@ const SlideImage = styled.img`
`;

const BottomWrapper = styled.div`
flex: 1;
position: absolute;
bottom: 150px;
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: center;
align-items: center;
Expand Down
8 changes: 8 additions & 0 deletions src/stores/useAuthStore.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { create } from "zustand";

const useAuthStore = create((set) => ({
token: localStorage.getItem("access_token") || null,
setToken: (token) => set({ token }),
}));

export default useAuthStore;
Loading