added app-header and updated navigation bar

This commit is contained in:
Ren Amamiya
2023-03-13 21:43:22 +07:00
parent 297cc2f018
commit 431f21e02c
10 changed files with 106 additions and 125 deletions

View File

@@ -1,5 +1,5 @@
import BaseLayout from '@layouts/base';
import NewsFeedLayout from '@layouts/newsfeed';
import WithSidebarLayout from '@layouts/withSidebar';
import { JSXElementConstructor, ReactElement, ReactFragment, ReactPortal } from 'react';
@@ -22,7 +22,7 @@ Page.getLayout = function getLayout(
) {
return (
<BaseLayout>
<NewsFeedLayout>{page}</NewsFeedLayout>
<WithSidebarLayout>{page}</WithSidebarLayout>
</BaseLayout>
);
};