fix broken static header from carousel

This commit is contained in:
k00b 2024-12-09 19:03:30 -06:00
parent 61fb1c445f
commit 52098a3e50
1 changed files with 14 additions and 11 deletions

View File

@ -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>
) )
} }