[landing] fix mobile nav still being shown when window resizes
Summary:
As I was doing some tests on the new Header I noticed that if a user resized the window while the mobile nav header was acitve, the moible nav header would still be open. This diff fixes this problem by adding a resize event listener that checks if the window width is more than 848px (the breakpoint that @ted and I determined earlier) and if the window is ever bigger than 848px sets the showMobileNav state to false
Depends on D7869
Test Plan:
Please watch the demo videos below:
Before:
After:
Reviewers: atul, kamil
Reviewed By: atul
Subscribers: ted, ashoat, tomek, atul
Differential Revision: https://phab.comm.dev/D7870