finish the complete layout of index page