mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-10 08:39:34 +00:00
replace bulma with chakra ui
This commit is contained in:
+4
-1
@@ -3,12 +3,15 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@chakra-ui/react": "^1.4.1",
|
||||||
|
"@emotion/react": "^11",
|
||||||
|
"@emotion/styled": "^11",
|
||||||
"@testing-library/jest-dom": "^5.11.4",
|
"@testing-library/jest-dom": "^5.11.4",
|
||||||
"@testing-library/react": "^11.1.0",
|
"@testing-library/react": "^11.1.0",
|
||||||
"@testing-library/user-event": "^12.1.10",
|
"@testing-library/user-event": "^12.1.10",
|
||||||
"date-fns": "^2.19.0",
|
"date-fns": "^2.19.0",
|
||||||
|
"framer-motion": "^4",
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.1",
|
||||||
"react-bulma-components": "^3.4.0",
|
|
||||||
"react-dom": "^17.0.1",
|
"react-dom": "^17.0.1",
|
||||||
"react-router": "^5.2.0",
|
"react-router": "^5.2.0",
|
||||||
"react-scripts": "4.0.3",
|
"react-scripts": "4.0.3",
|
||||||
|
|||||||
+4
-2
@@ -1,10 +1,12 @@
|
|||||||
import './App.css';
|
import './App.css';
|
||||||
import DefaultViewer from './features/viewers/DefaultViewer';
|
import Editor from './features/editors/Editor';
|
||||||
|
import DefaultPresenter from './features/viewers/DefaultPresenter';
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<div className='App'>
|
<div className='App'>
|
||||||
<DefaultViewer />
|
{/* <Editor /> */}
|
||||||
|
<DefaultPresenter />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border: red 1px solid;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.presentationTitle {
|
.presentationTitle {
|
||||||
|
|||||||
+7
-1
@@ -4,9 +4,15 @@ import './index.css';
|
|||||||
import App from './App';
|
import App from './App';
|
||||||
import reportWebVitals from './reportWebVitals';
|
import reportWebVitals from './reportWebVitals';
|
||||||
|
|
||||||
|
// 1. import `ChakraProvider` component
|
||||||
|
import { ChakraProvider } from "@chakra-ui/react"
|
||||||
|
|
||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<React.StrictMode>
|
<React.StrictMode>
|
||||||
<App />
|
<ChakraProvider>
|
||||||
|
<App />
|
||||||
|
</ChakraProvider>
|
||||||
</React.StrictMode>,
|
</React.StrictMode>,
|
||||||
document.getElementById('root')
|
document.getElementById('root')
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user