@@ -10,6 +10,7 @@ | |||||
"@types/node": "^12.20.15", | "@types/node": "^12.20.15", | ||||
"@types/react": "^17.0.13", | "@types/react": "^17.0.13", | ||||
"@types/react-dom": "^17.0.8", | "@types/react-dom": "^17.0.8", | ||||
"node-sass": "^6.0.1", | |||||
"react": "^17.0.2", | "react": "^17.0.2", | ||||
"react-dom": "^17.0.2", | "react-dom": "^17.0.2", | ||||
"react-scripts": "4.0.3", | "react-scripts": "4.0.3", | ||||
@@ -1,38 +0,0 @@ | |||||
.App { | |||||
text-align: center; | |||||
} | |||||
.App-logo { | |||||
height: 40vmin; | |||||
pointer-events: none; | |||||
} | |||||
@media (prefers-reduced-motion: no-preference) { | |||||
.App-logo { | |||||
animation: App-logo-spin infinite 20s linear; | |||||
} | |||||
} | |||||
.App-header { | |||||
background-color: #282c34; | |||||
min-height: 100vh; | |||||
display: flex; | |||||
flex-direction: column; | |||||
align-items: center; | |||||
justify-content: center; | |||||
font-size: calc(10px + 2vmin); | |||||
color: white; | |||||
} | |||||
.App-link { | |||||
color: #61dafb; | |||||
} | |||||
@keyframes App-logo-spin { | |||||
from { | |||||
transform: rotate(0deg); | |||||
} | |||||
to { | |||||
transform: rotate(360deg); | |||||
} | |||||
} |
@@ -1,26 +1,11 @@ | |||||
import React from 'react'; | |||||
import logo from './logo.svg'; | |||||
import './App.css'; | |||||
import { Tabs } from "./components/tabs/Tabs"; | |||||
function App() { | function App() { | ||||
return ( | |||||
<div className="App"> | |||||
<header className="App-header"> | |||||
<img src={logo} className="App-logo" alt="logo" /> | |||||
<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> | |||||
); | |||||
return ( | |||||
<main> | |||||
<Tabs /> | |||||
</main> | |||||
); | |||||
} | } | ||||
export default App; | export default App; |
@@ -0,0 +1,6 @@ | |||||
import React from "react"; | |||||
import styles from './Tabs.module.scss'; | |||||
export const Tabs: React.FC = () => { | |||||
return <h1 className={styles.header}> Tabs </h1> | |||||
} |
@@ -1,13 +1,18 @@ | |||||
body { | |||||
margin: 0; | |||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | |||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', | |||||
sans-serif; | |||||
-webkit-font-smoothing: antialiased; | |||||
-moz-osx-font-smoothing: grayscale; | |||||
} | |||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | |||||
code { | |||||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', | |||||
monospace; | |||||
* { | |||||
box-sizing: border-box; | |||||
margin: 0; | |||||
padding: 0; | |||||
text-decoration: none; | |||||
outline: none; | |||||
font-family: 'Poppins', sans-serif; | |||||
} | } | ||||
:root { | |||||
--orange: #f1be83; | |||||
--red: #d47077; | |||||
--blue: #668fe1; | |||||
--black: #11253d; | |||||
--grey: #586471; | |||||
} |