styling and dicing main page into partials