Skip to content

Commit

Permalink
Feat: 아이콘, 버튼 추가 LoginPage 짧게 구현 #16
Browse files Browse the repository at this point in the history
공용으로 사용될 버튼 컴포넌트들을 어떻게 사용할 수 있을까 고민됨,
머티리얼 ui에 startIcon이라는 prop이 있던데 그것을 사용할까 말까 고민됨.
  • Loading branch information
jeonyeonkyu committed Jun 9, 2021
1 parent 9351515 commit 4550d93
Show file tree
Hide file tree
Showing 18 changed files with 160 additions and 4 deletions.
1 change: 1 addition & 0 deletions fe/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"dependencies": {
"@craco/craco": "^6.1.2",
"@material-ui/core": "^4.11.4",
"@material-ui/styles": "^4.11.4",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
Expand Down
11 changes: 10 additions & 1 deletion fe/client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { Suspense } from 'react';
import CssBaseline from '@material-ui/core/CssBaseline';
import { Switch, Route } from 'react-router-dom';
import { RecoilRoot } from '@/utils/myRecoil/RecoilRoot';
import { createGlobalStyle } from 'styled-components';

const IssueListLazy = React.lazy(() => import('@/Pages/IssueList'));
const LoginLazy = React.lazy(() => import('@/Pages/LoginPage'));
Expand All @@ -11,6 +12,7 @@ function App() {
return (
<RecoilRoot>
<CssBaseline />
<GlobalStyle />
<Suspense fallback="loading...">
<Switch>
<Route exact path="/issueList" component={IssueListLazy} />
Expand All @@ -22,4 +24,11 @@ function App() {
);
}

export default App;

const GlobalStyle = createGlobalStyle`
body{
background: #E5E5E5;
}
`

export default App;
12 changes: 12 additions & 0 deletions fe/client/src/Icons/AlertCircle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions fe/client/src/Icons/Clip.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions fe/client/src/Icons/Close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions fe/client/src/Icons/CloseBox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions fe/client/src/Icons/Edit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions fe/client/src/Icons/Emoji.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions fe/client/src/Icons/Label.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions fe/client/src/Icons/LargeLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4550d93

Please sign in to comment.