Add basic mainpage resource
add related resource for mainpage