Girls, did I fuck up by telling her how I really felt and should I block her?

Basically I have gotten to know this girl the last 2 semesters and developed feelings for her. In the past she would say things like I am so glad we are in the same group and your so funny. When we graduated I told her how I felt and she said she didn’t feel the same way. But that I was a cool person and glad she met me. She has not blocked me on anything either but I feel like it would probably be better for me at least if I just don’t speak to her anymore because it is painful for me? Should I just block her number and all socials or just not contact anymore? Also do you think she would just say that to be nice but deep down hates me?
Girls, did I fuck up by telling her how I really felt and should I block her?
Post Opinion