Skip to content

Commit

Permalink
fix: layout파일 분리
Browse files Browse the repository at this point in the history
  • Loading branch information
Bumang-Cyber committed Jan 4, 2024
1 parent e671bbe commit c516857
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Outlet } from "react-router-dom";
import * as S from "./App.styled";
import * as S from "./components/layout";

function App() {
return (
Expand Down
Empty file removed src/components/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions src/App.styled.ts → src/components/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Container = styled.div`
justify-content: center;
align-items: center;
background-color: ${(props) => props.theme.color.greyScale6};
background-color: ${({ theme }) => theme.color.greyScale6};
`;

export const Wrapper = styled.div`
Expand All @@ -26,6 +26,6 @@ SHeader에 들어갈 컴포넌트 예시입니다.
export const SHeader = styled.div`
width: 100%;
height: 56px;
background-color: ${(props) => props.theme.color.greyScale2};
background-color: ${({theme}) => theme.color.greyScale2};
`;
*/

0 comments on commit c516857

Please sign in to comment.