diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-06 11:59:03 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-06 11:59:03 +0700 |
| commit | 78d02a2392924d5d4a21206fb52f627251883af8 (patch) | |
| tree | b1cda7f12961508065b5ddedcfa757ea6ec0ff4e /src/core | |
| parent | 66f1fb98cf450c98fca14fd76809ff99c52533e6 (diff) | |
fix
Diffstat (limited to 'src/core')
| -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 />} </> ) } |
