Merge branch 'dummy-lnd-page' of WrenchBoard/WrenchBoardMainSite into master
This commit is contained in:
@@ -24,6 +24,7 @@ import UseCases from './components/UseCases';
|
|||||||
import Privacy from './components/Service/Privacy';
|
import Privacy from './components/Service/Privacy';
|
||||||
import Terms from './components/Service/Terms';
|
import Terms from './components/Service/Terms';
|
||||||
import FAQ from './components/FAQ/Index';
|
import FAQ from './components/FAQ/Index';
|
||||||
|
import Lnd from './components/lnd/Lnd';
|
||||||
|
|
||||||
function Routes() {
|
function Routes() {
|
||||||
const [loading, setLoading] = useState(true);
|
const [loading, setLoading] = useState(true);
|
||||||
@@ -60,6 +61,7 @@ function Routes() {
|
|||||||
<Route exact path="/contact" component={Contact} />
|
<Route exact path="/contact" component={Contact} />
|
||||||
<Route exact path="/faq" component={FAQ} />
|
<Route exact path="/faq" component={FAQ} />
|
||||||
<Route exact path="/error" component={Error} />
|
<Route exact path="/error" component={Error} />
|
||||||
|
<Route exact path="/lnd/*" component={Lnd} />
|
||||||
<Route component={Error} />
|
<Route component={Error} />
|
||||||
</Switch>
|
</Switch>
|
||||||
</ScrollToTop>
|
</ScrollToTop>
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user