Toddler sleeps on the floor

My 19 month old learned to climb over her crib about a month or so ago. So we had no choice but to transition her. However, she won't sleep in bed. She's cries and goes to the door, where she ends up falling asleep by. I tried to keep putting her in her bed, it doesn't work. Once she falls asleep, we usually move her to her bed but she wakes up and just goes back to the floor. What do we do? It's not good for her to just sleep on the floor every night

I don't want to just put her mattress on the floor, I don't want her to just sleep like that. I feel like all kids need beds