fix broken static header from carousel
This commit is contained in:
parent
61fb1c445f
commit
52098a3e50
|
@ -1,19 +1,22 @@
|
||||||
import { Container, Nav, Navbar } from 'react-bootstrap'
|
import { Container, Nav, Navbar } from 'react-bootstrap'
|
||||||
import styles from '../header.module.css'
|
import styles from '../header.module.css'
|
||||||
import { BackOrBrand, NavPrice, SearchItem } from './common'
|
import { BackOrBrand, NavPrice, SearchItem } from './common'
|
||||||
|
import { CarouselProvider } from './carousel'
|
||||||
|
|
||||||
export default function StaticHeader () {
|
export default function StaticHeader () {
|
||||||
return (
|
return (
|
||||||
<Container as='header' className='px-sm-0'>
|
<CarouselProvider>
|
||||||
<Navbar>
|
<Container as='header' className='px-sm-0'>
|
||||||
<Nav
|
<Navbar>
|
||||||
className={styles.navbarNav}
|
<Nav
|
||||||
>
|
className={styles.navbarNav}
|
||||||
<BackOrBrand />
|
>
|
||||||
<SearchItem />
|
<BackOrBrand />
|
||||||
<NavPrice className='justify-content-end' />
|
<SearchItem />
|
||||||
</Nav>
|
<NavPrice className='justify-content-end' />
|
||||||
</Navbar>
|
</Nav>
|
||||||
</Container>
|
</Navbar>
|
||||||
|
</Container>
|
||||||
|
</CarouselProvider>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue