Example page
A page made of blocks hhhh
This page is not in the code. It is one Firestore doc in sites/hatem/pages, drawn by the page builder.
Why blocks
Built once, used by every site
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore.
1
No code per page
Add a doc, get a page. Dummy text for the first card.
2
Own data
Each site reads only its own pages. Dummy text for the second card.
3
Fast to change
Edit the doc and reload. Dummy text for the third card.
- 1
- Deploy
- 2
- Sites
- 22
- Block types
How it works
From host to page
- 1
Host
The proxy reads the host and picks the site.
- 2
Page
The site route finds the page by its slug in sites/hatem/pages.
- 3
Blocks
Each block in the doc is drawn by its renderer.
FAQ
Common questions
Where does this page live?
In Firestore, at sites/hatem/pages. The global pages collection is not used.
Can I edit it in the admin?
Not yet. The admin still works on the main site only.
Next step
Ready to build more pages?
Lorem ipsum dolor sit amet, consectetur adipiscing elit.