Don't use the public folder, as the public is stripped away during serving/build.
if you use public in the src path, the browser simply takes it as "public/public/..." which it would never find.
just use this code and keep the "leaves.jpg" in the public folder.
<img src="/leaves.jpg" alt "img" />