This Page is used for all blog detail routes to display craft article entry content model/type and the components from the component library.
The first iteration of requirements is captured here
Design
Please also see attached screenshots for quick reference.
If no mobile designs provided, please use your best judgment for responsiveness.
First Iteration of Requirements:
The route link to set up in the Nuxt pages folder is pages/blog/index.vue
The route link to set up in the Nuxt pages folder is pages/blog/[slug].vue
Header:
We already have the Header-sticky component added to the layout.
Bread Crumb:
Bread Crumb is Blogs > Blog title, clicking the Blogs link takes the user to the blogs listing page /blogs
No nested routes for this content
Image or ImageCarousel:
The behavior is the same as the Event Detail and Series Detail page we built in the last epics.
Card Meta:
Category label is a string in the component, if the craft data as more than one category, on the page computed method will parse the categories and create a string with multiple categories concatenated by a comma.
The article title is shown after the category
Byline will be next, it comes from the external contributor field in craft, Right now we have 2 string type fields in Card Meta named byline 1 and byline 2, The stakeholder can combine all external contributor in one craft field and we can use a single byline string for this template. Bylines will be plain text, even in case of multiple names will use 1 field
Bylines have unique styles
The byline and date are combined in one line and separated by a diamond icon. This work needs extra thought and can be developed using sectionhandle field.
Do we will need a dateCreated prop for the published date. We should not use slot here for this content as we need to format this data inside the component. this will be used also on BlockCardWithImage for this content type which uses CardMeta.
Or DATE: Date: coming from the publish date. It is shown in mockups as a byline position and style, Axa is saying this will be the data that is feed to start-date field, that will require considerable work on our side, investigate using byline 2 field instead.
Add a story for Cardmeta where we add a slot for share button.
RichText
Add About the author title and its text under CardMeta,should we use section wrapper?
DividerWayFinder
FlexiblePageBlocks
This page template will have flexibleblocks component. To make flexibleblocks work on this template we need to following things working:
There is a FtvaFlexibleblocks fragment query? do we need multiple kinds of queries for future templates?
Do we need to update any flexible page blocks fragment query for FTVA?
We are assuming the content editors will be using mostly RichText, horizontal divider, pull quote flexible blocks, Media Gallery on this template @axamei can you confirm again?
We need to create FTVA variations for flexible pull quote and flexible richtext (@axamei will be updating design system with more examples)
We need GQL query and test data in Craft for testing the data structure.
FTVA variation of flexible-blocks , no zebra strikes like in library website, do we still keep the dividergeneral component, Add new flexible components to this component.
Read more most recent posts
Pull the 3 most recent published article/blog posts
Will have a link to view more blogs
Use SectionTeaserCard like on EventDetailPage and EventSeriesPage
Pass the section title, link title and link url to SectionWrapper, look at EventSeries detail page for an example.
DateCreated will be a new prop in SectionTeaserCard and BlockCardWithImage, which will be consumed by CardMeta eventually.
The Date created prop may need a different style and format for this template.
Background color will be ucla blue for BlockCardWithImage, use ftva theme to add this.
How are these cards sorted or ordered? @axamei can you provide more details?
Max cards to show is 3
Footer
We already have the footer component added to the layout.
Events
Describe any events that this page should handle.
No event handling on this page
Child components
NavBreadCrumb is used for BreadCrumb.
ResponsiveImage or FlexibleMediaGalleryNewLightbox is used for (Single Image or ImageCarousel) with credit text.
CardMeta and RichText is used for displaying Metadata of the Blog.
Question that didn't occur to me until today: Are we keeping the 2 column layout for this? The mockups all show everything as 60% of the page content even though there is no sidebar.
Page Description
This Page is used for all blog detail routes to display craft article entry content model/type and the components from the component library. The first iteration of requirements is captured here
Design
Please also see attached screenshots for quick reference.
If no mobile designs provided, please use your best judgment for responsiveness.
First Iteration of Requirements:
The route link to set up in the Nuxt pages folder is
pages/blog/index.vue
The route link to set up in the Nuxt pages folder ispages/blog/[slug].vue
Header:
Bread Crumb:
Image or ImageCarousel:
Card Meta:
sectionhandle
field.RichText
DividerWayFinder
FlexiblePageBlocks
This page template will have flexibleblocks component. To make flexibleblocks work on this template we need to following things working:
Read more most recent posts
Footer
Events
Describe any events that this page should handle.
Child components
NavBreadCrumb
is used for BreadCrumb.ResponsiveImage
orFlexibleMediaGalleryNewLightbox
is used for (Single Image or ImageCarousel) with credit text.CardMeta
andRichText
is used for displaying Metadata of the Blog.DividerWayFinder
FlexibleBlocks
SectionTeaserCard
Screenshots
Mobile: