Dinosaurs became extinct long before Noah’s Ark.
However, all animals, birds, insects etc. that lived in the Garden of Eden lived in harmony until Adam and Eve disobeyed God and ate of the forbidden fruit.
That is my humble opinion.
"Dinosaurs became extinct long before Noah's Ark"
But am I correct that you're also saying "dinosaurs and mammals lived together in harmony in the Garden of Eden until..."?
So you don't think the birds at the insects? How about spiders, what did they eat?