Skip to content

Commit

Permalink
Update our team
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinkipruto committed Sep 20, 2023
1 parent d13ecbf commit 7f30732
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion apps/codeforafrica/src/lib/data/rest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ export const api = {
export async function getPageStaticProps(context) {
const props = await getPageProps(api, context);
return {
props: props || {},
props,
};
}
12 changes: 2 additions & 10 deletions apps/codeforafrica/src/payload/blocks/MeetOurTeam.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import richText from "../fields/richText";

const MeetOurTeam = {
slug: "meet-our-team",
imageURL: "/images/cms/blocks/team_infographic.jpg",
imageURL: "/images/cms/blocks/meet_our_team.jpg",
imageAltText: "Display Team Call to Action",
fields: [
{
Expand All @@ -22,15 +22,7 @@ const MeetOurTeam = {
name: "action",
label: "Action Button",
type: "group",
fields: [
{
name: "label",
label: "Label",
type: "text",
required: true,
},
link({}),
],
fields: [link({})],
},
image({
overrides: {
Expand Down

0 comments on commit 7f30732

Please sign in to comment.