Given that you scored excellent on all performance reviews and were otherwise regarded as the "perfect employee," your employer's bigotry will ultimately hurt them as they will likely have to hire someone that A) requires training to get up to speed, and B) isn't likely to perform as highly as you since you seem to be a positive outlier on the bell curve. Employers must weigh employee indiscretions against the actual costs of replacing that employee. If the employer errs and loses an otherwise top performer, they will incur additional expenses which diminish their profitability. Thus, your revenge is knowing the company's performance will suffer, all due to your boss's hasty judgments and actions. That being said, yours is a great cautionary tale for others to avoid personal activities while on-the-clock.
Better luck in your next position!
Better luck in your next position!