I just started using Flarum after about a year of lurking around and what a platform! I absolutely love the navigation bar and I want to replace my static site's navbar with it. It would be a great way to kickstart my visitors to start using the forum and be a part of the community, and get alerts while surfing my static site.
Right off the bat, I don't think iframe is suitable since the best parts of the navbar (search, alerts and profile/sign in) either dropdown or have a modal component.
Would it be possible to embed just the working parts from the main page of my Flarum using javascript? Both the static site and Flarum are on the same domain so there wouldn't be any cross-origin issues.