That's largely wrong. Most states legalized gay marriage via legislation or constitutional amendments, not courts. And on the federal level, you overstate the importance of court decisions.
Yes, schools are integrated because of the courts. That's about all they did. Everything else came from...