add code example to home page