Build a random image component with Astro and React

Build a random image component to make your hero image more interactive and interesting.