getstaticprops for ssg