finished refactoring home pages/partials