2024-08-21 06:33:17 -04:00
|
|
|
import ReactDOM from 'react-dom'
|
|
|
|
import getMeta from '@/utils/meta'
|
2024-08-29 06:48:16 -04:00
|
|
|
import DefaultNavbar from '@/features/ui/components/bootstrap-5/navbar/default-navbar'
|
|
|
|
import FatFooter from '@/features/ui/components/bootstrap-5/footer/fat-footer'
|
2024-08-21 06:33:17 -04:00
|
|
|
|
2024-08-29 06:48:16 -04:00
|
|
|
const navbarElement = document.getElementById('navbar-container')
|
|
|
|
if (navbarElement) {
|
2024-08-21 06:33:17 -04:00
|
|
|
const navbarProps = getMeta('ol-navbar')
|
2024-08-29 06:48:16 -04:00
|
|
|
ReactDOM.render(<DefaultNavbar {...navbarProps} />, navbarElement)
|
|
|
|
}
|
|
|
|
|
|
|
|
const footerElement = document.getElementById('fat-footer-container')
|
|
|
|
if (footerElement) {
|
|
|
|
const footerProps = getMeta('ol-footer')
|
|
|
|
ReactDOM.render(<FatFooter {...footerProps} />, footerElement)
|
2024-08-21 06:33:17 -04:00
|
|
|
}
|