refactor home page to separate partials