diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-26 22:40:52 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-26 22:40:52 +0100 |
commit | edba91f524455dcbb108da56d893290013816087 (patch) | |
tree | fc75bf00c3b17f8eb45df16664930f496b184580 /pages/index.tsx | |
parent | 6682690a1c8a05bcffc24bcef3c89a14c1762d85 (diff) |
chapter hierarchy thingy working
Diffstat (limited to 'pages/index.tsx')
-rw-r--r-- | pages/index.tsx | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/pages/index.tsx b/pages/index.tsx index 18e09fe..61a1390 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -2,6 +2,7 @@ import Seperator from '../components/articleSeperator'; import Navbar from '../components/navbar'; import Button from '../components/button'; import Image from '../components/image'; +import Chapters from '../components/chapters'; export default function Home() { return <div> @@ -11,7 +12,32 @@ export default function Home() { <p className="subtile">Loek heeft dit geschreven</p> </div> <div className="navAreaWrapper"> - <div className="sticky"><Navbar page="home"/></div> + <div className="sticky"> + <Navbar page="home"/> + <Chapters chapters={[ + { + name: "gert", + children: [ + { + name: "gert2", + children: [ + { + name: "gert3", + } + ] + } + ] + }, + { + name: "gert4", + children: [ + { + name: "gert5", + } + ] + } + ]}/> + </div> </div> <div className="contentWrapper"> <p> |