This commit is contained in:
VividTruthKeeper 2023-01-20 18:52:40 +05:00
parent 5edc28fc45
commit 00d5bdc534
4 changed files with 57 additions and 1 deletions

View File

@ -1,5 +1,20 @@
// Modules
import { Routes, Route } from "react-router-dom";
// Styles
import "./styles/style.scss";
// Pages
import Main from "./pages/Main";
const App = () => {
return <div className="App"></div>;
return (
<div className="App">
<Routes>
<Route path="/" element={<Main />} />
</Routes>
</div>
);
};
export default App;

39
src/styles/_general.scss Normal file
View File

@ -0,0 +1,39 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth;
}
html {
font-size: 62.5%;
min-height: 100vh;
}
body {
min-height: 100vh;
}
#root {
min-height: 100vh;
}
.App {
min-height: 100vh;
}
ul {
list-style-type: none;
}
input,
button {
background: none;
outline: none;
border: none;
}
a {
color: #000;
text-decoration: none;
}

View File

2
src/styles/style.scss Normal file
View File

@ -0,0 +1,2 @@
@import "./variables";
@import "./general";