Skip to content

Commit 2c9539f

Browse files
committed
feat | add MUI
1 parent f7dff46 commit 2c9539f

File tree

6 files changed

+311
-10
lines changed

6 files changed

+311
-10
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"homepage": ".",
55
"private": true,
66
"dependencies": {
7+
"@emotion/react": "^11.10.5",
8+
"@emotion/styled": "^11.10.5",
9+
"@fontsource/roboto": "^4.5.8",
10+
"@mui/icons-material": "^5.11.0",
11+
"@mui/material": "^5.11.4",
712
"@reduxjs/toolkit": "^1.8.4",
813
"@testing-library/jest-dom": "^5.16.5",
914
"@testing-library/react": "^13.3.0",

src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import './App.css';
3-
import ScreenWrapper from './pages/Portfolio/features/ScreenWrapper/ScreenWrapper';
43
import RouterManagement from './routes/router';
54

65
/**

src/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ import App from './App';
55
import reportWebVitals from './reportWebVitals';
66
import { BrowserRouter } from 'react-router-dom'
77
import { store } from './pages/Portfolio/common/store/store';
8+
import '@fontsource/roboto/300.css';
9+
import '@fontsource/roboto/400.css';
10+
import '@fontsource/roboto/500.css';
11+
import '@fontsource/roboto/700.css';
12+
813

914
const container = document.getElementById('root')!;
1015
const root = createRoot(container);
@@ -19,7 +24,4 @@ root.render(
1924
</React.StrictMode>
2025
);
2126

22-
// If you want to start measuring performance in your app, pass a function
23-
// to log results (for example: reportWebVitals(console.log))
24-
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
2527
reportWebVitals(console.log);

src/pages/Todo/Todo.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#todo {
2+
background-color: white;
3+
width: 100vw;
4+
height: 100vh;
5+
6+
#todo > * {
7+
background-color: white;
8+
}
9+
}

src/pages/Todo/Todo.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import React from 'react'
2+
import "./Todo.scss"
23

34
function Todo() {
45
return (
5-
<div>Todo</div>
6+
<div id="todo">Todo</div>
67
)
78
}
89

0 commit comments

Comments
 (0)