diff options
Diffstat (limited to 'src/core/components')
| -rw-r--r-- | src/core/components/elements/Sidebar/Sidebar.jsx | 8 | ||||
| -rw-r--r-- | src/core/components/layouts/AppLayout.jsx | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/core/components/elements/Sidebar/Sidebar.jsx b/src/core/components/elements/Sidebar/Sidebar.jsx index c39b5e34..308538e7 100644 --- a/src/core/components/elements/Sidebar/Sidebar.jsx +++ b/src/core/components/elements/Sidebar/Sidebar.jsx @@ -134,9 +134,15 @@ const Sidebar = ({ active, close }) => { </SidebarLink> <SidebarLink className={itemClassName} + href='/faqs' + > + F.A.Q + </SidebarLink> + <SidebarLink + className={itemClassName} href='/' > - Pusat Bantuan + Hubungi Kami </SidebarLink> <button className={`${itemClassName} w-full text-left flex`} diff --git a/src/core/components/layouts/AppLayout.jsx b/src/core/components/layouts/AppLayout.jsx index a325b1c1..d74d61e3 100644 --- a/src/core/components/layouts/AppLayout.jsx +++ b/src/core/components/layouts/AppLayout.jsx @@ -2,14 +2,14 @@ import AppBar from '../elements/Appbar/Appbar' import BasicFooter from '../elements/Footer/BasicFooter' import AnimationLayout from './AnimationLayout' -const AppLayout = ({ children, title }) => { +const AppLayout = ({ children, title, withFooter = true }) => { return ( <> <AnimationLayout> <AppBar title={title} /> {children} </AnimationLayout> - <BasicFooter /> + {withFooter && <BasicFooter />} </> ) } |
