How to add preview button with code in my website

Hi

I want to add preview button beneath the theme on my website.

<snip/>

please guide me in doing this.