egui is immediate, so every frame you can choose what to do. You can say "if width < x do this, else do that".
I think the side menu would have to become a dropdown at certain widths, and some of the pages need to have their content wrap instead of scrolling left-right.