Skip to content

Commit dd9f9c9

Browse files
committed
refactor: config code
1 parent 1410e38 commit dd9f9c9

File tree

16 files changed

+1272
-270
lines changed

16 files changed

+1272
-270
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6+
"@chakra-ui/react": "^2.3.1",
7+
"@emotion/react": "^11.10.4",
8+
"@emotion/styled": "^11.10.4",
69
"@testing-library/jest-dom": "^4.2.4",
710
"@testing-library/react": "^9.3.2",
811
"@testing-library/user-event": "^7.1.2",
@@ -12,6 +15,7 @@
1215
"@types/react-dom": "^16.9.0",
1316
"@unform/core": "^2.1.3",
1417
"axios": "^0.21.1",
18+
"framer-motion": "^7.2.1",
1519
"polished": "^3.6.5",
1620
"react": "^16.13.1",
1721
"react-dom": "^16.13.1",

src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { ThemeProvider, DefaultTheme } from 'styled-components';
44
import usePeristedState from './utils/usePersistedState';
55
import Routes from './routes';
66
import GlobalStyle from './styles/global';
7-
87
import light from './styles/themes/light';
98
import dark from './styles/themes/dark';
109

src/components/Button/styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import styled from 'styled-components';
22
import { shade } from 'polished';
33

44
export const Container = styled.button`
5-
background: #3a3a3a;
5+
background: #f0f0f5;
66
border-radius: 10px;
77
border: 0;
88
padding: 16px;
@@ -12,6 +12,6 @@ export const Container = styled.button`
1212
margin-top: 16px;
1313
transition: background-color 0.2s;
1414
&:hover {
15-
background: ${shade(0.2, '#3A3A3A')};
15+
background: ${shade(0.2, '#f0f0f5')};
1616
}
1717
`;

src/components/Footer/styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ export const Footer = styled.footer`
1414
1515
a {
1616
text-decoration: none;
17-
color: #3a3a3a;
17+
color: #C62E65;
1818
font-weight: bold;
1919
transition: all 0.2s ease-in-out;
2020
2121
&:hover {
22-
color: ${shade(0.2, '#3A3A3A')};
22+
color: ${shade(0.2, '#C62E65')};
2323
}
2424
}
2525
`;

src/components/ToastContainer/Toast/index.tsx

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/components/ToastContainer/Toast/styles.ts

Lines changed: 0 additions & 64 deletions
This file was deleted.

src/components/ToastContainer/index.tsx

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/components/ToastContainer/styles.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/hooks/toast.tsx

Lines changed: 0 additions & 59 deletions
This file was deleted.

src/pages/Dashboard/index.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,6 @@ const reposData = [
5959
name: ' flutterbr',
6060
desc: ' Espaço para divulgação de vagas relacionadas com Flutter e Dart',
6161
},
62-
{
63-
link: '/repository/uxbrasil/vagas',
64-
imageUrl:
65-
'https://user-images.githubusercontent.com/3299130/48214486-2fed0800-e367-11e8-8274-6858c79ab7b4.png',
66-
name: ' uxbrasil',
67-
desc: ' Espaço para divulgação de vagas para designers UI e pesquisadores UX.',
68-
},
6962
];
7063

7164
const Dashboard: React.FC<ToggleTheme> = ({ toggleTheme }) => {

0 commit comments

Comments
 (0)