Implemented main page design