refactor code good sunday page into static page