Skip to content

Commit

Permalink
[#1] Feat : create app
Browse files Browse the repository at this point in the history
  • Loading branch information
sbyeol3 committed May 25, 2020
1 parent 5d400c9 commit a2aafe7
Show file tree
Hide file tree
Showing 21 changed files with 278 additions and 72 deletions.
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/dictionaries/byeol.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/ewha-chain.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 96 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"@testing-library/user-event": "^7.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1"
},
"scripts": {
Expand Down
4 changes: 3 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
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>
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css">

<title>EWHA-CHAIN</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
38 changes: 0 additions & 38 deletions src/App.css

This file was deleted.

21 changes: 4 additions & 17 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,13 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import Routes from "./pages/Routes";
import Header from './components/Header'

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>
<Routes/>
</div>
);
}

export default App;
export default App;
9 changes: 0 additions & 9 deletions src/App.test.js

This file was deleted.

11 changes: 11 additions & 0 deletions src/components/Alumni.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

const Alumni = () => {
return(
<div className="page">
Alumni
</div>
)
}

export default Alumni
20 changes: 20 additions & 0 deletions src/components/Header.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React, {useState} from 'react';
import { NavLink } from "react-router-dom";
import './style.css'
import Home from "./Home";

const Header = () => {
return(
<header>
<img/>
<nav>
<ul><li><NavLink to="/">Home</NavLink></li></ul>
<ul><li><NavLink to="/alumni">Alumni</NavLink></li></ul>
<ul><li><NavLink to="/portfolio">Portfolio</NavLink></li></ul>
<ul><li><NavLink to="/recruiting">Recruiting</NavLink></li></ul>
</nav>
</header>
)
}

export default Header
13 changes: 13 additions & 0 deletions src/components/Home.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react';

const Home = () => {
return(
<div className="page">
<section>
<div className="subtit">ABOUT US</div>
</section>
</div>
)
}

export default Home
11 changes: 11 additions & 0 deletions src/components/Portfolio.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

const Portfolio = () => {
return(
<div>
dd
</div>
)
}

export default Portfolio
11 changes: 11 additions & 0 deletions src/components/Recruiting.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

const Recruiting = () => {
return(
<div>
dd
</div>
)
}

export default Recruiting
Loading

0 comments on commit a2aafe7

Please sign in to comment.