Merge branch 'dummy-lnd-page' of WrenchBoard/WrenchBoardMainSite into master

This commit is contained in:
2023-11-03 01:57:37 +00:00
committed by Gogs
2 changed files with 28 additions and 0 deletions
+2
View File
@@ -24,6 +24,7 @@ import UseCases from './components/UseCases';
import Privacy from './components/Service/Privacy';
import Terms from './components/Service/Terms';
import FAQ from './components/FAQ/Index';
import Lnd from './components/lnd/Lnd';
function Routes() {
const [loading, setLoading] = useState(true);
@@ -60,6 +61,7 @@ function Routes() {
<Route exact path="/contact" component={Contact} />
<Route exact path="/faq" component={FAQ} />
<Route exact path="/error" component={Error} />
<Route exact path="/lnd/*" component={Lnd} />
<Route component={Error} />
</Switch>
</ScrollToTop>
+26
View File
@@ -0,0 +1,26 @@
import React from 'react'
import useToggle from '../../Hooks/useToggle';
import Drawer from '../Mobile/Drawer';
import HomeOneHeader from '../HomeOne/HomeOneHeader';
import FooterHomeOne from '../HomeOne/FooterHomeOne';
import BackToTop from '../BackToTop';
function Lnd() {
const [drawer, drawerAction] = useToggle(false);
return (
<>
<Drawer drawer={drawer} action={drawerAction.toggle} />
{/* <StickyHeaderNav action={drawerAction.toggle} /> */}
<HomeOneHeader action={drawerAction.toggle} />
<div className='min-vh-100 d-flex flex-column justify-content-center align-items-center'>
<p>Dummy Empty Page</p>
</div>
<FooterHomeOne />
<BackToTop />
</>
);
}
export default Lnd