I'm aware a lot of people can't do that, because their personality consists of being of a certain ideology and they cannot shut up about it, but it's technically possible to just have a normal-ass presence online without pushing opinions or ideology beyond professional/technical ones.
It's very simple -- this stuff is private. Your political opinions are private. Your social opinions are private. The internet isn't private.
Talk to your friends about that stuff, in person, instead.