a baselayout for foundation-based apps