Page Builder: Featured pages component
leandrocp opened this issue · 1 comments
leandrocp commented
Currently the featured blog posts section in the dockyard.com website (screenshot below) is managed by a custom database table and custom code but we want to expose that kind of content as a reusable component that will look like:
<BeaconWeb.Components.featured_pages />
That component can receive an source
argument that is a function used to return a list of pages. It should be optional and the default implementation should be Content.list_pages(site, per_page: 3, sort: :updated_at)
site
can be fetched from the live view process, see