Next.js serves static files (images, fonts, icons, PDFs, robots.txt) from the special public/ folder at the root of your project.
The public folder maps to the URL root
public/
logo.png → served at /logo.png
favicon.ico → served at /favicon.ico
docs/guide.pdf → served at /docs/guide.pdf
robots.txt → served at /robots.txt
A file at is available at the URL — the part is dropped. Reference them with an absolute path from the root:
