componentised navbar and footer