Layout of main page done.