trying to clean up the layouts into more partials but probably just made things messier