page.js

A file named 'page.js', when created in one of the folders in 'app/', makes the route segment publicly accessible.

For instance, the project file '[project]/app/dashboard/profile/page.js' can be accessed at 'https://[yourdomain.com]/dashboard/profile' on a browser.

Below, the URLs "https://[domain]/dashboard" and "https://[domain]/common" are inaccessible because there is no file named 'page.js' in the folders 'app/dashboard/' and 'app/common/'.

The component exported from page.tsx can be designated as a client component.

You can also export an 'async' function.