diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-05-03 16:47:57 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-05-03 16:47:57 +0200 |
commit | b5105258f7a0a71363770789525a750a2946a446 (patch) | |
tree | dd3e970e1c1909d1220c60fd0ee25f569a1816dd /pages | |
parent | f303314070f3261018e9b6c7c6f2a07aec31f346 (diff) |
shitty mobile mode
Diffstat (limited to 'pages')
-rw-r--r-- | pages/index.tsx | 3 | ||||
-rw-r--r-- | pages/search.tsx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pages/index.tsx b/pages/index.tsx index ab0f6ff..7f4c5fe 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,7 +1,7 @@ import Button from '../components/button'; import PostCard from '../components/card'; import Chapters, { chapter } from '../components/chapters'; -import Navbar, { NavbarItem } from '../components/navbar'; +import Navbar, { NavbarItem, MobileNavbar } from '../components/navbar'; import Seperator from '../components/seperator'; import { ArticleMeta, getStaticProps as getBlogPage, RenderedArticle } from './post/[id]'; import { PostsInfo } from './search'; @@ -51,6 +51,7 @@ export default function Home(props: { /> </div> </div> + <MobileNavbar/> <div className='contentWrapper'> {props.posts.map((post, index) => { return <> diff --git a/pages/search.tsx b/pages/search.tsx index 8daff50..b95d70e 100644 --- a/pages/search.tsx +++ b/pages/search.tsx @@ -1,7 +1,7 @@ import Fuse from 'fuse.js'; import { useEffect, useState } from 'react'; -import Navbar from '../components/navbar'; +import Navbar, { MobileNavbar } from '../components/navbar'; import Tags from '../components/tag'; import SearchOutlinedIcon from '@material-ui/icons/SearchOutlined'; @@ -149,6 +149,7 @@ export default function SearchPage() { <Navbar page='search' /> </div> </div> + <MobileNavbar/> <div className='contentWrapper'> <SearchBar searchFunction={() => { |