On this page
Customise
The landing page
What the landing page of a one-collection site shows, and where each figure and sentence comes from.
When a site has one#
A Cloudflare site whose settings list exactly one Ethereum collection opens on a landing page for it. A site with several collections opens on a directory instead, and an Ink site has its own page.
To open on the collection's items instead, set "home": "collection" in your design's theme.json:
"home": "collection",What it shows#
- The collection's name and art, and some of the NFTs for sale, cheapest first.
- Your
introline fromtheme.json, or, without one, a sentence of the engine's: once the floor is known, the listing behind it, its price and where it is; before then, the lowest price read so far or an invitation to browse. - Three figures: the floor, how many are for sale, and the best offer. All three are always shown; one not known reads Unknown.
- A button into the items.
- A section for each thing the site does for a buyer or a seller: comparing venues and sweeping first, with letting the pool choose and basket pricing inside the sweep, and a note on the visitor's wallet beside them; then finding, selling and listing, smaller.
Where each figure comes from#
The figures are the collection page's own, from the book your site keeps for the collection. The landing page has no reading of its own: each claim calls the same code the feature itself uses, on the same data.
| Figure | Comes from | When it is not known |
|---|---|---|
| Floor | The lowest eligible current ask, once every venue you switched on has settled its lowest price | Unknown until then |
| For sale | The book's count of NFTs for sale, each once across venues | The exact count when every venue gave a complete read, "At least" a number when only part was read, and Unknown when nothing can be said |
| Best offer | The highest net proceeds, before gas, among eligible collection-wide offers and reviewed NFTX sell estimates. A pool estimate is not a signed offer | Unknown when a feed it needs was not read completely, never None |
What each sentence may say#
Every sentence says only what is so for your site and your collection at that moment:
- A venue is named only when it can trade the collection here: OpenSea when it is on; your own listings when they are on and the collection's transfer rules allow them; an NFTX pool only when the book holds a current quote for it.
- The sweep appears only when the site's own checkout can buy from at least one of those, and says "across" only when there is more than one. Listings that can only be bought on OpenSea are said to be left out of it.
- A saving from letting the pool choose is claimed only when the two prices differ as printed.
- The fee is stated as a term of listings and offers signed from now, including when it is zero. Orders already signed keep their terms.
- The promise that a purchase is simulated from the visitor's address covers the site's own checkout, never a listing that opens on its venue.
- A site on which nothing can be bought or sold says so plainly.
Styling it#
The landing page's classes, for custom.css or one-collection.css:
| Class | What it is |
|---|---|
.landing |
The whole page |
.landing-hero |
The first screen: name, art, figures and buttons |
.landing-lead |
Your intro line, or the engine's sentence |
.landing-figures, .landing-figure |
The floor, for sale and best offer |
.landing-enter |
The way into the items |
.landing-art |
The NFTs for sale, cheapest first |
.landing-point |
Each section |
.landing-close |
The last button |
Each section also carries data-landing with its name (venues, sweep, random, pools, find, sell, list, wallet):
:where([data-one-collection]) [data-landing="wallet"]{border-top:1px solid var(--line)}