aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/navbar.tsx14
1 files changed, 12 insertions, 2 deletions
diff --git a/components/navbar.tsx b/components/navbar.tsx
index 318d673..cbbd164 100644
--- a/components/navbar.tsx
+++ b/components/navbar.tsx
@@ -28,7 +28,17 @@ export default function Navbar(props: {
page?: string;
}) {
return <div style={{ marginBottom: 24 }}>
- <NavbarItem active={props.page == "home"} icon={<HomeRoundedIcon/>} title="Home" href="/"/>
- <NavbarItem active={props.page == "search"} icon={<SearchRoundedIcon/>} title="Search for posts" href="/search"/>
+ <NavbarItem
+ active={props.page == "home"}
+ icon={<HomeRoundedIcon/>}
+ title="Home"
+ href="/"
+ classList={["indentLevel0"]}/>
+ <NavbarItem
+ active={props.page == "search"}
+ icon={<SearchRoundedIcon/>}
+ title="Search for posts"
+ href="/search"
+ classList={["indentLevel0"]}/>
</div>
}