Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨Feature : PeopleListPage 구현 #38

Closed
wants to merge 9 commits into from
Closed
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
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@
| ✅ Test | `:white_check_mark` | 로직 및 코드 테스트 |
| ♻️ Refactoring | `:recycle` | 코드 리팩토링 |
| 📘 Docs | `:blue_book` | Feature 이외에 문서 생성 및 수정 |

### font

KakaoBold 또는 KakaoRegular

### color

기본 노랑 : #FFF496
기본 찐브라운 : #715F00
기본 연브라운 : #D3CBA1
블랙 : #000
4 changes: 4 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
presets: ["@babel/preset-env", "@babel/preset-react"],
plugins: ["@emotion/babel-plugin"],
};
62 changes: 0 additions & 62 deletions components/Common/Background.jsx

This file was deleted.

39 changes: 0 additions & 39 deletions components/Common/Footer.jsx

This file was deleted.

39 changes: 0 additions & 39 deletions components/Common/Layout.jsx

This file was deleted.

140 changes: 0 additions & 140 deletions dist/assets/index-BSSa90UF.js

This file was deleted.

176 changes: 176 additions & 0 deletions dist/assets/index-BqHKD4MV.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/assets/index-DiwrgTda.css

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/react-CHdo91hT.svg

This file was deleted.

5 changes: 2 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
<script type="module" crossorigin src="/assets/index-BSSa90UF.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DiwrgTda.css">
<title>카부카부</title>
<script type="module" crossorigin src="/assets/index-BqHKD4MV.js"></script>
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 0 additions & 1 deletion dist/vite.svg

This file was deleted.

Empty file removed pages/VideoPage.js
Empty file.
Binary file added public/fonts/KakaoBold.ttf
Binary file not shown.
Binary file added public/fonts/KakaoOTFBold.otf
Binary file not shown.
Binary file added public/fonts/KakaoOTFRegular.otf
Binary file not shown.
Binary file added public/fonts/KakaoRegular.ttf
Binary file not shown.
1 change: 0 additions & 1 deletion public/vite.svg

This file was deleted.

42 changes: 0 additions & 42 deletions src/App.css

This file was deleted.

31 changes: 7 additions & 24 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
import Layout from "../components/Common/Layout"
import { useState } from 'react'
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import './App.css';
import {
BrowserRouter as Router,
Routes,
Route,
Link,
useLocation,
} from 'react-router-dom';

import Header from './components/Header';
import HomeMain from './pages/homepages/HomeMain';
import PeopleListPage from "./pages/PeopleListPage";
import GlobalStyle from "./components/Common/GlobalStyle";

function App() {


return (
<Router>
<Routes>
<Route path ="/" element={<HomeMain />}></Route>
</Routes>
</Router>

)
<>
<GlobalStyle />
<PeopleListPage></PeopleListPage>
</>
);
}

export default App;
Binary file added src/assets/dummyImages/peopleList.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/dummyImages/peoplelist2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/assets/react.svg

This file was deleted.

34 changes: 34 additions & 0 deletions src/components/Common/Background.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/** @jsxImportSource @emotion/react */
import { useState, useEffect } from "react";
import { Circle, BackgroundContainer } from "./Background.styled";

function generateCircles() {
return [
{ x: -50, y: -30, duration: 4 }, // 왼쪽 위
{ x: 30, y: 40, duration: 11 }, // 오른쪽 가운데
{ x: -40, y: 150, duration: 3 }, // 왼쪽 아래
];
}

function Background() {
const [circles, setCircles] = useState([]);

useEffect(() => {
setCircles(generateCircles());
}, []);

return (
<BackgroundContainer>
{circles.map((circle, index) => (
<Circle
key={index}
x={circle.x}
y={circle.y}
duration={circle.duration}
/>
))}
</BackgroundContainer>
);
}

export default Background;
Loading