homepage layout refactored