Skip to content

Commit

Permalink
style: 레이아웃 스타일 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
anveloper committed Apr 8, 2024
1 parent 9516687 commit c02b033
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions src/pages/root/root.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,21 @@ import { Top } from "~/widgets/top-filter";
import { Banner } from "~/shared/banner";

const Main = styled.main`
width: 100vw;
height: 100vh;
overflow-y: auto;
scrollbar-width: none;
`;

const MainContainer = styled.div`
width: 100%;
max-width: 1440px;
margin: auto;
display: flex;
justify-content: center;
align-items: flex-start;
padding-top: 10px;
padding-top: 20px;
margin-bottom: 200px;
`;

const LeftSideBars = styled.section`
Expand All @@ -29,19 +37,19 @@ const LeftSideBars = styled.section`

export const RootPage = () => {
return (
<>
<Main>
<Header />
<Banner />
<Top />
<Main>
<MainContainer>
<LeftSideBars>
<ReviewerRank />
<LanguageRank />
</LeftSideBars>
{/* Todo: 사이드바 작업한 거랑 레이아웃 합쳐야함 */}
<QuestionList />
<QuestionGuide />
</Main>
</>
</MainContainer>
</Main>
);
};

0 comments on commit c02b033

Please sign in to comment.