How to use brand header html in my WordPress site

I don’t think I can just copy the JS Discourse uses for that since it looks like it’s tied into their plugin system.