Fix content not being visible
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
@use 'tailwindcss' as *;
|
||||
@use '@fontsource/roboto' as *;
|
||||
|
||||
$backgroundColor: #131313;
|
||||
|
||||
body {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
background-color: $backgroundColor;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@@ -7,9 +7,11 @@ export default function App () {
|
||||
return (
|
||||
<HashRouter>
|
||||
<Sidebar />
|
||||
<Routes>
|
||||
<Route path='/' element={<Home />} />
|
||||
</Routes>
|
||||
<main style={{ marginLeft: '15rem' }}>
|
||||
<Routes>
|
||||
<Route path='/' element={<Home />} />
|
||||
</Routes>
|
||||
</main>
|
||||
</HashRouter>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@import 'tailwindcss';
|
||||
|
||||
.sidebar {
|
||||
@apply w-60 h-screen bg-[#191919] flex flex-col;
|
||||
@apply fixed top-0 left-0 w-60 h-screen bg-[#191919] flex flex-col;
|
||||
}
|
||||
|
||||
.logo {
|
||||
|
||||
Reference in New Issue
Block a user