a mainpage framework