Opinions? Safe?

.e

Are these safe? I thought babies needed to sleep flat? I love the mesh sides but worries about the incline. Thanks for any opinions!