import styles from "./styles.module.scss"
import { SideSlider } from '@/components/SideSlider/SideSlider'
import { Container } from '@/components/Container/Container'

type ContentWithSliderProps = {
  children: React.ReactNode;
  slider: React.ReactNode;
}

export const ContentWithSlider = ({children, slider}: ContentWithSliderProps) => {
  return (
    <div className={styles.container}>
      <Container>
        {children}
      </Container>
      <div className={styles.slider}>
        <SideSlider>
          {slider}
        </SideSlider>
      </div>
    </div>
  )
}