Init project

This commit is contained in:
2024-02-05 10:06:32 +01:00
parent 33c9504498
commit d0d8093fb5
16 changed files with 18832 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
.App {
text-align: center;
}
+24
View File
@@ -0,0 +1,24 @@
import React from 'react';
import './App.scss';
const App = () => {
return (
<div className='App'>
<header className='App-header'>
<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>
);
};
export default App;
+9
View File
@@ -0,0 +1,9 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
+12
View File
@@ -0,0 +1,12 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.scss';
import App from './App';
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>,
);
+1
View File
@@ -0,0 +1 @@
/// <reference types="react-scripts" />