Against code of conduct is a pretty clear case. More companies should take this hard line with their employees, and I'm surprised this didn't happen 2 days ago.
It is a slippery slope though. I wouldn't be surprised if putting "MAGA" in your email signature could be interpreted as a code of conduct violation at Google.