Hi @frob ,
This is the behavior by default. The link content type will not be showed in the library web part. You may need to go to the actual web part to add the links and then the updates will be synced to the web part on the modern site page.
A similar post for your reference:
SharePoint Online - Unable to create link to other folders/files within Document Library
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.