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