diff --git a/models/Header.yaml b/models/Header.yaml index 72121dd8..7a304ee0 100644 --- a/models/Header.yaml +++ b/models/Header.yaml @@ -24,7 +24,7 @@ fields: value: variant-d - label: Header with logo centered and primary links centered value: variant-e - default: variant-a + default: variant-c - type: enum name: primaryColors label: Primary colors @@ -141,6 +141,11 @@ fields: name: logo label: Logo models: [ImageBlock] + default: + type: ImageBlock + url: '' + altText: '' + caption: '' - type: list name: primaryLinks label: Primary navigation links diff --git a/models/MediaGallerySection.yaml b/models/MediaGallerySection.yaml index 679f22e1..fce1db22 100644 --- a/models/MediaGallerySection.yaml +++ b/models/MediaGallerySection.yaml @@ -30,20 +30,20 @@ fields: default: - type: ImageBlock url: https://assets.stackbit.com/components/images/default/image-1.jpeg - altText: Media gallery image - caption: Image caption + altText: Image one + caption: Image one caption - type: ImageBlock url: https://assets.stackbit.com/components/images/default/image-2.jpeg - altText: Media gallery image - caption: Image caption + altText: Image two + caption: Image two caption - type: ImageBlock url: https://assets.stackbit.com/components/images/default/image-3.jpeg - altText: Media gallery image - caption: Image caption + altText: Image three + caption: Image three caption - type: ImageBlock url: https://assets.stackbit.com/components/images/default/image-4.jpeg - altText: Media gallery image - caption: Image caption + altText: Image four + caption: Image four caption - type: number name: spacing label: Spacing between images diff --git a/models/PostLayout.yaml b/models/PostLayout.yaml index 32bebf1d..63012c51 100644 --- a/models/PostLayout.yaml +++ b/models/PostLayout.yaml @@ -20,7 +20,7 @@ fields: - type: string name: excerpt label: Excerpt - default: This is the excerpt of your blog post visible in the post feed or featured posts. + default: Nunc rutrum felis dui, ut consequat sapien scelerisque vel. Integer condimentum dignissim justo vel faucibus. - type: model name: featuredImage label: Featured image diff --git a/src/components/FeaturedPeopleSection/index.tsx b/src/components/FeaturedPeopleSection/index.tsx index 4fc75d2b..527d8d19 100644 --- a/src/components/FeaturedPeopleSection/index.tsx +++ b/src/components/FeaturedPeopleSection/index.tsx @@ -191,7 +191,7 @@ function peopleVariantC(props) { } const middleIndex = Math.floor(people.length / 2); const peopleLeft = people.slice(0, middleIndex); - const peopleRight = people.slice(-middleIndex); + const peopleRight = people.slice(middleIndex, people.length); return (