From a1f0ba882614193ac4077e8f192109b4f00f9c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=9D=80=EC=B1=84?= Date: Wed, 14 Aug 2024 15:56:23 +0900 Subject: [PATCH 1/6] =?UTF-8?q?feat:=20=EB=94=94=EB=A0=89=ED=86=A0?= =?UTF-8?q?=EB=A6=AC=20=EA=B5=AC=EC=A1=B0=20=EC=88=98=EC=A0=95=EA=B3=BC=20?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 7 ++++ components/Common/Layout.jsx | 39 ----------------- public/vite.svg | 1 - src/App.css | 42 ------------------- src/App.jsx | 21 ++++------ .../components}/Common/Background.jsx | 36 +++++++++------- .../components/Common/Background.styled.js | 0 .../components}/Common/Footer.jsx | 0 .../components/Common/Footer.styled.js | 0 src/components/{ => Common}/Header.jsx | 16 ++++--- .../Header.styled.js} | 34 +++++++-------- src/components/Common/Layout.jsx | 40 ++++++++++++++++++ .../components/Common/Layout.styled.js | 0 .../pages/ChatPage.js | 0 pages/SignInPage.js => src/pages/LoginPage.js | 0 .../pages/PeopleDetailPage.js | 0 src/pages/PeopleListPage.js | 0 src/pages/PeopleListPage.jsx | 0 src/pages/SignInPage.js | 0 src/pages/VideoPage.js | 0 src/pages/homepages/HomeMain.jsx | 15 ++++--- src/pages/homepages/HomeMain_styled.js | 9 ++-- 22 files changed, 108 insertions(+), 152 deletions(-) create mode 100644 .vscode/settings.json delete mode 100644 components/Common/Layout.jsx delete mode 100644 public/vite.svg rename {components => src/components}/Common/Background.jsx (52%) rename pages/ChatPage.js => src/components/Common/Background.styled.js (100%) rename {components => src/components}/Common/Footer.jsx (100%) rename pages/LoginPage.js => src/components/Common/Footer.styled.js (100%) rename src/components/{ => Common}/Header.jsx (68%) rename src/components/{Header_styled.js => Common/Header.styled.js} (83%) create mode 100644 src/components/Common/Layout.jsx rename pages/PeopleDetailPage.js => src/components/Common/Layout.styled.js (100%) rename pages/PeopleListPage.js => src/pages/ChatPage.js (100%) rename pages/SignInPage.js => src/pages/LoginPage.js (100%) rename pages/VideoPage.js => src/pages/PeopleDetailPage.js (100%) create mode 100644 src/pages/PeopleListPage.js create mode 100644 src/pages/PeopleListPage.jsx create mode 100644 src/pages/SignInPage.js create mode 100644 src/pages/VideoPage.js diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..c0caf009 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit" + } + } \ No newline at end of file diff --git a/components/Common/Layout.jsx b/components/Common/Layout.jsx deleted file mode 100644 index 2d48ba7d..00000000 --- a/components/Common/Layout.jsx +++ /dev/null @@ -1,39 +0,0 @@ -import React from 'react'; -import styled from '@emotion/styled'; -import Background from './Background'; -//import Header from './Header'; -import Footer from './Footer'; - -const LayoutContainer = styled.div` - position: relative; - width : 100vw; - display: flex; - flex-direction: column; // 세로 방향으로 정렬 - z-index: 0; // 배경보다 앞에 위치 -`; - -const MainContent = styled.main` - padding: 0px; /* 콘텐츠 패딩 */ - - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; -`; - -const Layout = ({ children }) => { - return ( - <> - - - {/*
*/} - - {children} - -