1 import BlackFridayFooter from '../../components/blackFriday/BlackFridayFooter';
2 import DealsBF2024 from '../../components/blackFriday/DealsBF2024';
3 import OfferLayoutBF from '../../components/blackFriday/OfferLayoutBF2024';
4 import OfferFooter from '../../components/shared/OfferFooter';
5 import OfferLoader from '../../components/shared/OfferLoader';
6 import hasOffer from '../../helpers/hasOffer';
7 import type { OfferLayoutProps } from '../../interface';
9 const Layout = (props: OfferLayoutProps) => {
10 return hasOffer(props) ? (
11 <OfferLayoutBF {...props}>
12 <DealsBF2024 {...props} />
14 <OfferFooter {...props}>
15 <BlackFridayFooter {...props} />
23 export default Layout;