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 styles from '../header.module.css'
import { BackOrBrand, NavPrice, SearchItem } from './common'
import { CarouselProvider } from './carousel'
export default function StaticHeader () {
return (
<Container as='header' className='px-sm-0'>
<Navbar>
<Nav
className={styles.navbarNav}
>
<BackOrBrand />
<SearchItem />
<NavPrice className='justify-content-end' />
</Nav>
</Navbar>
</Container>
<CarouselProvider>
<Container as='header' className='px-sm-0'>
<Navbar>
<Nav
className={styles.navbarNav}
>
<BackOrBrand />
<SearchItem />
<NavPrice className='justify-content-end' />
</Nav>
</Navbar>
</Container>
</CarouselProvider>
)
}