Main page framework