Skip to content

Commit

Permalink
Chore: 프로젝트 초기 구조 세팅
Browse files Browse the repository at this point in the history
  • Loading branch information
MEGUMMY1 committed Apr 8, 2024
1 parent 28930af commit 8afe602
Show file tree
Hide file tree
Showing 31 changed files with 619 additions and 172 deletions.
363 changes: 360 additions & 3 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"@testing-library/user-event": "^13.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3",
"react-scripts": "5.0.1",
"sass": "^1.74.1",
"scss": "^0.2.4",
"styled-reset": "^4.5.2",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand All @@ -34,5 +38,11 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "3.2.5"
}
}
Binary file modified public/favicon.ico
Binary file not shown.
34 changes: 2 additions & 32 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,10 @@
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<meta name="description" content="Web site created using create-react-app" />
<title>Rolling</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
Binary file removed public/logo192.png
Binary file not shown.
Binary file removed public/logo512.png
Binary file not shown.
25 changes: 0 additions & 25 deletions public/manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions public/robots.txt

This file was deleted.

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

This file was deleted.

28 changes: 10 additions & 18 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
import logo from './logo.svg';
import './App.css';
// App.js
import "./global.scss";
import "./reset.scss";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import Home from "./pages/Home/Home";

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
<BrowserRouter>
<Routes>
<Route path="/" element={<Home />} />
</Routes>
</BrowserRouter>
);
}

Expand Down
8 changes: 0 additions & 8 deletions src/App.test.js

This file was deleted.

Binary file added src/assets/Rolling_icon.png
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/landing_01.png
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/landing_02.png
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/profile_01.png
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/profile_02.png
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/profile_03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/components/Header.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Header.jsx
function Header() {
return (
<header>
<h1>Header</h1>
</header>
);
}

export default Header;
10 changes: 10 additions & 0 deletions src/components/Main.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Main.jsx
function Main() {
return (
<main>
<h2>Main</h2>
</main>
);
}

export default Main;
41 changes: 41 additions & 0 deletions src/global.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
:root {
--purple1: #f8f0ff;
--purple2: #ecd9ff;
--purple3: #dcb9ff;
--purple4: #c894fd;
--purple5: #ab57ff;
--purple6: #9935ff;
--purple7: #861dee;
--purple8: #6e0ad1;
--purple9: #5603a7;
--orange1: #fff0d6;
--orange2: #ffe2ad;
--orange3: #ffc583;
--orange4: #ffae65;
--orange5: #ff8832;
--blue1: #e2f5ff;
--blue2: #b1e4ff;
--blue3: #7cd2ff;
--blue4: #34b9ff;
--blue5: #00a2fe;
--green1: #e4fbdc;
--green2: #d0f5c3;
--green3: #9be282;
--green4: #60cf37;
--green5: #2ba600;
--gray1: #f6f6f6;
--gray2: #eeeeee;
--gray3: #cccccc;
--gray4: #999999;
--gray5: #555555;
--gray6: #4a4a4a;
--gray7: #3a3a3a;
--gray8: #2b2b2b;
--gray9: #181818;
--white: #ffffff;
--black: #000000;
--error: #dc3a3a;
--surface: #f6f8ff;

--font-family: "Pretendard", sans-serif;
}
13 changes: 0 additions & 13 deletions src/index.css

This file was deleted.

19 changes: 6 additions & 13 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import React from "react";
import ReactDOM from "react-dom";
import App from "./App";

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>
</React.StrictMode>,
document.getElementById("root")
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
1 change: 0 additions & 1 deletion src/logo.svg

This file was deleted.

14 changes: 14 additions & 0 deletions src/pages/Home/Home.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Home.jsx
import Header from "../../components/Header";
import Main from "../../components/Main";

function Home() {
return (
<>
<Header />
<Main />
</>
);
}

export default Home;
7 changes: 7 additions & 0 deletions src/pages/List/List.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// List.jsx

function List() {
return <></>;
}

export default List;
7 changes: 7 additions & 0 deletions src/pages/Msg/FromMsg/FromMsg.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// FromMsg.jsx

function FromMsg() {
return <></>;
}

export default FromMsg;
7 changes: 7 additions & 0 deletions src/pages/Msg/ToMsg/ToMsg.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// ToMsg.jsx

function ToMsg() {
return <></>;
}

export default ToMsg;
7 changes: 7 additions & 0 deletions src/pages/Post/Post.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Post.jsx

function Post() {
return <></>;
}

export default Post;
13 changes: 0 additions & 13 deletions src/reportWebVitals.js

This file was deleted.

Loading

0 comments on commit 8afe602

Please sign in to comment.