Skip to content

Commit

Permalink
init: resume web app deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelion2 committed Jul 6, 2019
1 parent 9a2e509 commit ce17253
Show file tree
Hide file tree
Showing 34 changed files with 727 additions and 136 deletions.
23 changes: 23 additions & 0 deletions .firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
asset-manifest.json,1562421601392,8b90257b7a12060f904b85040b6e3bc530e32f4faa78650f70a8cb3731ba5283
favicon.ico,1557462163084,b72f7455f00e4e58792d2bca892abb068e2213838c0316d6b7a0d6d16acd1955
index.html,1562421601390,14d45ea03f6a5fdb1afa8e5fb15828bb6bf76cf97e30d9a672a013347e722090
manifest.json,1557462163084,6aaf3d87dd9bb1e96f9c691c50d0ed378ed98a120a76dea78291281834cd36e9
precache-manifest.2ddf91449434d4f6124e9550390a17c0.js,1562421601391,120e7ed7696f9a7abb57da6ce058124b1b28eca9400a28fef65f3f35928d0aea
service-worker.js,1562421601392,3d8e180ad91ff3b7cdf5110c0ce81177392ebf2637fc6308f36825b72c8d228c
assets/github.png,1562395801840,ea5d6c986c6c8e08d8c560a6fdf7c577c0bbfb6eed08a0eb5cd9f6d273ec2ef1
assets/angular.png,1562402144561,2c269c5a9cf1a2ef2e3626923d5e5e930707a17c70bf476b7c7093b3567eeee6
assets/ionic.jpeg,1562394254980,7aca933e3e24de561f71dc52abbfa65d163a58007d04fbbe007d1eac29de70df
assets/mobx.jpeg,1562394303823,0204761707dbe9dc5aa02916bd40d4d6633f4911615f0520141eb60c5e4593f3
static/css/main.09632043.chunk.css,1562421601393,8f57d8f709da5fbf01fe078c4a685c5376f838e0e383f45ce12b6f0b7db357be
assets/sass.png,1562394255016,5d67a0fdbce34c1cc7ccdf7a53e324dc1c621e9586594a14d4dfa91fa71212ab
static/css/main.09632043.chunk.css.map,1562421601398,511e49488e9fdaf46cd1ff520c25a2bf4a1f865e6fd28a8a5b3617cca5c19efd
assets/ts.png,1562402161758,26cc7bea7bbbbdfdf8c2eb064eb3adc92abeefafce7e56d519f7a71640c32591
assets/react.png,1562402158073,d746a7cbada984fea05ed8d64a02f3a8f28e71973f57ffe492d42bc17aefdb47
assets/rxjs.png,1562402159592,71cc78352c3915f021b1dd22db027f3df3418288990d22e3bde6be89b972c185
static/js/runtime~main.c5541365.js,1562421601399,448529d8a8a3e63fbd7b2582a8b2fc6b5afbd7f2cbdbf81a65ca9e5207be7c37
static/js/main.30548e47.chunk.js,1562421601394,1abf91454a4270f79bad22686d902ef7c17be4632e2a709de4d3ffa09afd4a72
static/js/runtime~main.c5541365.js.map,1562421601398,058c0a896b4edb4807f3c978df1106203028e9903f000075b57c49d69583dc93
static/js/main.30548e47.chunk.js.map,1562421601399,f6ef0b9237decee9172c2a87fe3743765b18436d1feafa05308bf8652db60695
static/js/2.432cabe5.chunk.js,1562421601398,57ce460bd10329b786df41c3e066430aa96ab565fd82489acc7206ff63098d4a
assets/profile.jpeg,1562397576439,818d4488336fad98d95a43bee7a617ce2e6f581507881787a1433365965b4ddc
static/js/2.432cabe5.chunk.js.map,1562421601399,5b6d1308b7a91bba0e9a74662b7ec23d1c52a19229cea48c00e09116d315284f
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "resume-seunghun"
}
}
54 changes: 18 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,26 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
<h1 align="center">안녕하세요. resume 코드 입니다. 😀</h1>

## Available Scripts
## Start

In the project directory, you can run:
```sh
yarn install
yarn start
```

### `npm start`
---

Runs the app in the development mode.<br>
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
## Stack

The page will reload if you make edits.<br>
You will also see any lint errors in the console.
```sh
- Typescript
- React
- Styled-component
```
---

### `npm test`
## author
👐🏻 강승훈

Launches the test runner in the interactive watch mode.<br>
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
* Github: [link](https://github.com/bluelion2)

### `npm run build`

Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
🙋🏻 🙋🏻‍♂️
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"@types/node": "12.0.12",
"@types/react": "16.8.23",
"@types/react-dom": "16.8.4",
"@types/styled-components": "^4.1.16",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "3.0.1",
"styled-components": "^4.3.2",
"typescript": "3.5.2"
},
"scripts": {
Expand Down
Binary file added public/assets/angular.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 public/assets/github.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 public/assets/ionic.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 public/assets/mobx.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 public/assets/profile.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 public/assets/react.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 public/assets/rxjs.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 public/assets/sass.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 public/assets/ts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 2 additions & 23 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,13 @@
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<!--
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>
</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`.
-->
<script src="/__/firebase/6.2.4/firebase-app.js"></script>
<script src="/__/firebase/init.js"></script>
</body>
</html>
33 changes: 0 additions & 33 deletions src/App.css

This file was deleted.

27 changes: 8 additions & 19 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import { Main } from './container';
import { Footer, Header } from './component';

const App: React.FC = () => {
const App: React.FC = (): JSX.Element => {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.tsx</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
<>
<Header/>
<Main/>
<Footer/>
</>
);
}

Expand Down
60 changes: 60 additions & 0 deletions src/component/Exp.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
import React from 'react';
import styled from 'styled-components';
import { Project } from './Project';
import { TABLET } from '../types';

const ExpBox = styled.div`
padding: 5%;
border: 1px solid lightgray;
margin: 5vh 0;
p {
color: black;
margin-bottom: 10px;
}
`

const StackList = styled.div`
display: flex;
flex-wrap: wrap;
`

const Stack = styled.span`
background-color: lightgray;
color: #6c757d;
margin: 0 10px 10px 0;
padding: 10px;
border-radius: 10px;
:nth-child(1) {
margin-left: 0;
}
`

const ProjectList = styled.ul`
list-style: none;
${TABLET} {
list-style: none;
padding: unset;
}
`

export const Exp = (props: any): JSX.Element => {
const { career } = props;
return (
<ExpBox>
<h3>{career.name}</h3>
<p>{career.subtitle}</p>
<StackList>
{career.stack.map((item: string) => {
return <Stack key={item}>{item}</Stack>
})}
</StackList>
<h4>주요 업무 내용</h4>
<ProjectList>
{career.project.map((item: any) => {
return <Project key={item.title} project={item}/>
})}
</ProjectList>
</ExpBox>
)
}

25 changes: 25 additions & 0 deletions src/component/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from 'react';
import styled from 'styled-components';
import { MOBILE } from '../types';

const FooterBox = styled.footer`
height: 20vh;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2rem;
background-color: #f0f0f0;
color: black;
${MOBILE} {
font-size: 0.9rem;
}
`;

export const Footer = (): JSX.Element => {
return (
<FooterBox>
Copyright by Seunghun Kang
<a className="github" href="https://github.com/bluelion2"></a>
</FooterBox>
)
}
28 changes: 28 additions & 0 deletions src/component/Header.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import React from 'react';
import styled from 'styled-components';
import { MOBILE, TABLET } from '../types';

const HeaderBox = styled.header`
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: bold;
${TABLET} {
font-size: 1.2rem;
}
${MOBILE} {
font-size: 0.7rem;
}
`

export const Header = (): JSX.Element => {
return (
<HeaderBox>
<h1>Hello World</h1>
</HeaderBox>
)
}
44 changes: 44 additions & 0 deletions src/component/Project.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import React from 'react';
import styled from 'styled-components';
import { TABLET } from '../types';
import { IProject } from '../interface/interface';

const ProjectItem = styled.li`
list-style: none;
margin: 20px 0;
padding: 20px 0;
border-bottom: 1px dotted lightgray;
:nth-child(1) {
padding: 0 0 20px 0;
}
:nth-last-child(1) {
border-bottom: none;
}
ul {
margin: 20px 0;
${TABLET} {
list-style: none;
padding: unset;
}
}
`

const MyWork = styled.li`
margin: 10px 0;
`

export const Project = (props: IProject): JSX.Element => {
const { project } = props;
return (
<ProjectItem>
<h4>{project.title}</h4>
<p>{project.subtitle}</p>
<ul>
<li>작업 기간 : {project.date}</li>
{project.mywork.map((work: string) => {
return <MyWork key={work}>{work}</MyWork>
})}
</ul>
</ProjectItem>
)
}
Loading

0 comments on commit ce17253

Please sign in to comment.