Fix content not being visible

This commit is contained in:
2025-07-17 15:11:46 -07:00
parent f1bd1af525
commit 31a2e78b7d
3 changed files with 10 additions and 4 deletions

View File

@@ -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;
} }

View File

@@ -7,9 +7,11 @@ export default function App () {
return ( return (
<HashRouter> <HashRouter>
<Sidebar /> <Sidebar />
<main style={{ marginLeft: '15rem' }}>
<Routes> <Routes>
<Route path='/' element={<Home />} /> <Route path='/' element={<Home />} />
</Routes> </Routes>
</main>
</HashRouter> </HashRouter>
) )
} }

View File

@@ -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 {