Skip to content

Commit

Permalink
Merge branch 'KAN-11--feature/layout' into KAN-13--feature/layout/login
Browse files Browse the repository at this point in the history
  • Loading branch information
HOOOO98 committed Nov 8, 2023
2 parents b61ba85 + d438ca0 commit f182f40
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import HomePage from './pages/HomePage';
import CommunityPage from './pages/CommunityPage';
import ChatPage from './pages/chatting/index';
import MyPage from './pages/MyPage';
import styled from 'styled-components';
import StartPage from './components/login/StartPage';
import SignUpSpecific from './components/login/SignUpSpecific';
import Login from './components/login/Login';
Expand Down Expand Up @@ -36,4 +37,18 @@ function App() {
);
}

const PageWrap = styled.div`
flex: 1;
margin-left: 300px;
${(props) => props.theme.response.tablet} {
margin-left: 100px;
}
${(props) => props.theme.response.mobile} {
margin-left: 0;
margin-bottom: 120px;
}
`;

export default App;
4 changes: 3 additions & 1 deletion src/components/NavigationBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,14 @@ export default function NavigationBar() {
const NavigationWrap = styled.div`
border-right: 1px solid ${props => props.theme.color.borderGray};
background: ${props => props.theme.color.white};
position: fixed;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
width: 300px;
height: 100vh;
z-index: 9999;
${props => props.theme.response.tablet} {
width: 100px;
Expand All @@ -194,7 +196,7 @@ const NavigationWrap = styled.div`
border-right: none;
width: 100%;
height: auto;
position: absolute;
position: fixed;
bottom: 0;
}
`;
Expand Down

0 comments on commit f182f40

Please sign in to comment.