MainImage 내의 스타일링 사라지는 문제
해결했습니다. div style = { { backgroundImage : `linear-gradient(to bottom, rgba(0,0,0,0) 39%, rgba(0,0,0,0) 41%, rgba(0,0,0,0.65) 100%), url( ${ props . image } )` , backgroundPosition : 'center center' , backgroundSize : '100%, cover' , backgroundRepeat : 'no-repeat' , width : '100%' , height : '500px' , position : 'relative' } } > 이렇게 변경하면 스타일이 사라지지 않네요