Grades aren’t terribly important. Some companies (including notable ones) will filter those with lower than a certain GPA, but there’s always ways around that.
If you don’t have good grades, rely on your school name. If your school isn’t notable, projects are key.