refactor style home index page