aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-26 20:56:54 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-26 20:56:54 +0100
commitdeb1bb57ae0d5c0766632d7255de4e478cbd4bb0 (patch)
tree5f3fae945456c50486296784f6628bc48334d444 /pages
parenta01b3f2d8fae7fa8aaa9f2c6b3ae86a91dc9b0e3 (diff)
navbar component + layout variables
Diffstat (limited to 'pages')
-rw-r--r--pages/index.tsx10
1 files changed, 2 insertions, 8 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index 1d9f474..6450fd8 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1,8 +1,5 @@
import Seperator from '../components/articleSeperator';
-import NavbarItem from '../components/navbarItem';
-
-import HomeRoundedIcon from '@material-ui/icons/HomeRounded';
-import SearchRoundedIcon from '@material-ui/icons/SearchRounded';
+import Navbar from '../components/navbar';
export default function Home() {
return <div>
@@ -12,10 +9,7 @@ export default function Home() {
<p className="subtile">Loek heeft dit geschreven</p>
</div>
<div className="navAreaWrapper">
- <div className="sticky">
- <NavbarItem icon={<HomeRoundedIcon/>} title="Home" href="/"/>
- <NavbarItem icon={<SearchRoundedIcon/>} title="Search for posts" href="/search"/>
- </div>
+ <div className="sticky"><Navbar page="home"/></div>
</div>
<div className="contentWrapper">
<p>