Different behaviour of links in site navigation

I’m working on a website for an IT firm. It is mostly a single page website with only two exceptions (Careers, Data Privacy).

Is it considered bad practice to have a navigation bar where some of the entries jump to parts on the same page (like About Us, Products, …) while the two exceptions jump to a different page?

And if so, what would be a clean approach to separate the two?