Where is the box "Public link"?
In the section "Sharing" of a file's page, the card "Sharing" of an open folder and the dialog "Share {name}", while the item is public. It holds the public link, or for a folder the gallery address, with "Copy public link" beside it.