Refactored home page into partials