From 614c57d248f80c6838bb994c45bb6ec99cd57a72 Mon Sep 17 00:00:00 2001 From: kilemensi Date: Mon, 27 Nov 2023 15:02:27 +0300 Subject: [PATCH 1/7] Add longform support to pages --- .../src/components/LongForm/LongForm.js | 29 +++++++++++++++++++ .../src/components/LongForm/LongForm.snap.js | 3 ++ .../src/components/LongForm/LongForm.test.js | 16 ++++++++++ .../src/components/LongForm/index.js | 3 ++ .../src/lib/data/blockify/longform.js | 8 +++++ .../src/pages/[...slugs].page.js | 2 ++ .../src/payload/blocks/LongForm.js | 18 ++++++++++++ .../src/payload/collections/Pages.js | 2 ++ 8 files changed, 81 insertions(+) create mode 100644 apps/codeforafrica/src/components/LongForm/LongForm.js create mode 100644 apps/codeforafrica/src/components/LongForm/LongForm.snap.js create mode 100644 apps/codeforafrica/src/components/LongForm/LongForm.test.js create mode 100644 apps/codeforafrica/src/components/LongForm/index.js create mode 100644 apps/codeforafrica/src/lib/data/blockify/longform.js create mode 100644 apps/codeforafrica/src/payload/blocks/LongForm.js diff --git a/apps/codeforafrica/src/components/LongForm/LongForm.js b/apps/codeforafrica/src/components/LongForm/LongForm.js new file mode 100644 index 000000000..6b9b4a4b7 --- /dev/null +++ b/apps/codeforafrica/src/components/LongForm/LongForm.js @@ -0,0 +1,29 @@ +import React from "react"; + +import CMSContent from "@/codeforafrica/components/CMSContent"; + +const LongForm = React.forwardRef(function LongForm(props, ref) { + const { content } = props; + + if (!content?.length) { + return null; + } + return ( + + {content} + + ); +}); + +export default LongForm; diff --git a/apps/codeforafrica/src/components/LongForm/LongForm.snap.js b/apps/codeforafrica/src/components/LongForm/LongForm.snap.js new file mode 100644 index 000000000..e97bb15f8 --- /dev/null +++ b/apps/codeforafrica/src/components/LongForm/LongForm.snap.js @@ -0,0 +1,3 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[` renders unchanged 1`] = `
`; diff --git a/apps/codeforafrica/src/components/LongForm/LongForm.test.js b/apps/codeforafrica/src/components/LongForm/LongForm.test.js new file mode 100644 index 000000000..c1d9dca58 --- /dev/null +++ b/apps/codeforafrica/src/components/LongForm/LongForm.test.js @@ -0,0 +1,16 @@ +import { createRender } from "@commons-ui/testing-library"; +import React from "react"; + +import LongForm from "."; + +import theme from "@/codeforafrica/theme"; + +// eslint-disable-next-line testing-library/render-result-naming-convention +const render = createRender({ theme }); + +describe("", () => { + it("renders unchanged", () => { + const { container } = render(); + expect(container).toMatchSnapshot(); + }); +}); diff --git a/apps/codeforafrica/src/components/LongForm/index.js b/apps/codeforafrica/src/components/LongForm/index.js new file mode 100644 index 000000000..d5cef9952 --- /dev/null +++ b/apps/codeforafrica/src/components/LongForm/index.js @@ -0,0 +1,3 @@ +import LongForm from "./LongForm"; + +export default LongForm; diff --git a/apps/codeforafrica/src/lib/data/blockify/longform.js b/apps/codeforafrica/src/lib/data/blockify/longform.js new file mode 100644 index 000000000..43882bf0b --- /dev/null +++ b/apps/codeforafrica/src/lib/data/blockify/longform.js @@ -0,0 +1,8 @@ +function longform(block) { + return { + ...block, + slug: "longform", + }; +} + +export default longform; diff --git a/apps/codeforafrica/src/pages/[...slugs].page.js b/apps/codeforafrica/src/pages/[...slugs].page.js index fe5b244fa..b017880cd 100644 --- a/apps/codeforafrica/src/pages/[...slugs].page.js +++ b/apps/codeforafrica/src/pages/[...slugs].page.js @@ -12,6 +12,7 @@ import GetInvolved from "@/codeforafrica/components/GetInvolved"; import GuidingPrinciplesCardList from "@/codeforafrica/components/GuidingPrinciplesCardList"; import Hero from "@/codeforafrica/components/Hero"; import JoinOurSlack from "@/codeforafrica/components/JoinOurSlack"; +import LongForm from "@/codeforafrica/components/LongForm/LongForm"; import MeetOurTeam from "@/codeforafrica/components/MeetOurTeam"; import NewsAndStories from "@/codeforafrica/components/NewsAndStories"; import OfficeAddresses from "@/codeforafrica/components/OfficeAddresses"; @@ -30,6 +31,7 @@ const componentsBySlugs = { "about-page-entity": AboutPageEntity, article: ArticlePage, "contact-form": ContactForm, + longform: LongForm, "custom-page-header": CustomPageHeader, "featured-work": FeaturedProjects, "featured-stories": NewsAndStories, diff --git a/apps/codeforafrica/src/payload/blocks/LongForm.js b/apps/codeforafrica/src/payload/blocks/LongForm.js new file mode 100644 index 000000000..2385afdc7 --- /dev/null +++ b/apps/codeforafrica/src/payload/blocks/LongForm.js @@ -0,0 +1,18 @@ +import content from "../fields/content"; + +const LongForm = { + slug: "longform", + imageURL: "/images/cms/blocks/longform.jpg", + imageAltText: "Our team.", + labels: { + singular: { + en: "Long Form", + }, + plural: { + en: "Long Form", + }, + }, + fields: [content({ minRows: 1, required: true, localized: true })], +}; + +export default LongForm; diff --git a/apps/codeforafrica/src/payload/collections/Pages.js b/apps/codeforafrica/src/payload/collections/Pages.js index b17bd002c..ec3a75d74 100644 --- a/apps/codeforafrica/src/payload/collections/Pages.js +++ b/apps/codeforafrica/src/payload/collections/Pages.js @@ -8,6 +8,7 @@ import GetInvolved from "../blocks/GetInvolved"; import GuidingPrinciples from "../blocks/GuidingPrinciples"; import Hero from "../blocks/Hero"; import JoinOurSlack from "../blocks/JoinOurSlack"; +import LongForm from "../blocks/LongForm"; import MeetOurTeam from "../blocks/MeetOurTeam"; import OurImpact from "../blocks/OurImpact"; import OurMission from "../blocks/OurMission"; @@ -64,6 +65,7 @@ const Pages = { PageHeader, Posts, CustomPageHeader, + LongForm, OurOffices, OurImpact, OurMission, From d0647b3923e1f0ea79161b465eecfcebb1368951 Mon Sep 17 00:00:00 2001 From: kilemensi Date: Mon, 27 Nov 2023 15:03:50 +0300 Subject: [PATCH 2/7] Support Link on Grantees --- .../src/components/Grantees/GranteeCard.js | 24 +- .../src/components/Grantees/Grantees.snap.js | 240 +++++++++--------- .../src/payload/collections/Grantees.js | 11 + 3 files changed, 142 insertions(+), 133 deletions(-) diff --git a/apps/charterafrica/src/components/Grantees/GranteeCard.js b/apps/charterafrica/src/components/Grantees/GranteeCard.js index 9e6fe35e7..265191520 100644 --- a/apps/charterafrica/src/components/Grantees/GranteeCard.js +++ b/apps/charterafrica/src/components/Grantees/GranteeCard.js @@ -1,5 +1,5 @@ import { Link } from "@commons-ui/next"; -import { Box, Button, CardContent, CardMedia } from "@mui/material"; +import { Box, Button, CardContent, CardMedia, Stack } from "@mui/material"; import PropTypes from "prop-types"; import React from "react"; @@ -17,7 +17,7 @@ const GranteeCard = React.forwardRef(function GranteeCard(props, ref) { square, variant = "outlined", elevation, - href, + link, tags, } = props; const ownerState = { @@ -28,14 +28,15 @@ const GranteeCard = React.forwardRef(function GranteeCard(props, ref) { let ActionArea = Box; let ActionAreaProps = { sx: { p: 2.5 } }; - if (href?.length) { + if (link?.href?.length) { ActionArea = StyledActionArea; ActionAreaProps = { ...ActionAreaProps, component: Link, - href, + href: link.href, }; } + return ( - + {tags?.length > 0 ? ( - ))} - + ) : null} diff --git a/apps/charterafrica/src/components/Grantees/Grantees.snap.js b/apps/charterafrica/src/components/Grantees/Grantees.snap.js index 90bfb3809..a7415b83f 100644 --- a/apps/charterafrica/src/components/Grantees/Grantees.snap.js +++ b/apps/charterafrica/src/components/Grantees/Grantees.snap.js @@ -30,7 +30,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -82,7 +82,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -134,7 +134,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -186,7 +186,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -238,7 +238,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -290,7 +290,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -342,7 +342,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -394,7 +394,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -446,7 +446,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -498,7 +498,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -550,7 +550,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -602,7 +602,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -654,7 +654,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -706,7 +706,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -758,7 +758,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -810,7 +810,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -862,7 +862,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -914,7 +914,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -966,7 +966,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1018,7 +1018,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1070,7 +1070,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1122,7 +1122,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1174,7 +1174,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1226,7 +1226,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1278,7 +1278,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1330,7 +1330,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1382,7 +1382,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1434,7 +1434,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1486,7 +1486,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
@@ -1538,7 +1538,7 @@ exports[` renders unchanged 1`] = ` role="img" />
renders unchanged 1`] = `

Constitutional changes of government
diff --git a/apps/charterafrica/src/payload/collections/Grantees.js b/apps/charterafrica/src/payload/collections/Grantees.js index 197d74427..29bf3a5f1 100644 --- a/apps/charterafrica/src/payload/collections/Grantees.js +++ b/apps/charterafrica/src/payload/collections/Grantees.js @@ -1,4 +1,5 @@ import content from "../fields/content"; +import linkGroup from "../fields/linkGroup"; import publishedOn from "../fields/publishedOn"; import richText from "../fields/richText"; import slug from "../fields/slug"; @@ -54,6 +55,16 @@ const Grantees = { elements: ["leaves"], }, }), + linkGroup({ + linkConfig: { + disableLabel: true, + disableOpenInNewTab: true, + required: false, + }, + overrides: { + required: false, + }, + }), tags(), content(), slug({ fieldToUse: "name" }), From c8ab7419d524a4dfc86a75e230217ddd5393485f Mon Sep 17 00:00:00 2001 From: kilemensi Date: Mon, 27 Nov 2023 15:04:37 +0300 Subject: [PATCH 3/7] Fix key --- .../src/components/ProjectTileList/ProjectTileList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/codeforafrica/src/components/ProjectTileList/ProjectTileList.js b/apps/codeforafrica/src/components/ProjectTileList/ProjectTileList.js index 2b63fe5ef..fae42cbac 100644 --- a/apps/codeforafrica/src/components/ProjectTileList/ProjectTileList.js +++ b/apps/codeforafrica/src/components/ProjectTileList/ProjectTileList.js @@ -14,7 +14,7 @@ const ProjectTileList = React.forwardRef(function ProjectTileList(props, ref) { return ( {projects?.map((project) => ( - + ))} From a27b2eee99b2ab3b77f5df48dccfd59332be09a0 Mon Sep 17 00:00:00 2001 From: kilemensi Date: Mon, 27 Nov 2023 15:08:44 +0300 Subject: [PATCH 4/7] Update backward-compatible deps --- apps/charterafrica/package.json | 66 +- .../src/components/Articles/Articles.snap.js | 3 +- .../CommunityPlatforms.snap.js | 2 +- .../src/components/Dataset/Dataset.snap.js | 10 +- .../DatasetCard/DatasetCard.snap.js | 4 +- .../Datasets/DatasetFilterBar.snap.js | 2 +- .../src/components/Datasets/Datasets.snap.js | 2 +- .../DesktopNavBar/DesktopNavBar.snap.js | 2 +- .../src/components/Document/Document.snap.js | 6 +- .../components/Documents/Documents.snap.js | 2 +- .../src/components/Entity/Entity.snap.js | 4 +- .../src/components/Error/Error.snap.js | 2 +- .../components/ErrorPage/ErrorPage.snap.js | 2 +- .../FeaturedPostCard/FeaturedPostCard.snap.js | 4 +- .../src/components/NavBar/NavBar.snap.js | 4 +- .../Opportunity/Opportunity.snap.js | 2 +- .../OpportunityCard/OpportunityCard.snap.js | 2 +- .../src/components/RichText/RichText.snap.js | 2 +- .../ShareThisPage/ShareThisPage.snap.js | 4 +- .../SocialMediaBar/SocialMediaBar.snap.js | 4 +- .../src/components/Tool/Tool.snap.js | 15 +- .../YoutubeVideoPlayer.snap.js | 282 +- apps/codeforafrica/package.json | 52 +- .../public/images/cms/blocks/longform.jpg | Bin 0 -> 24220 bytes .../ArticleHeader/ArticleHeader.snap.js | 4 +- .../ArticlePage/ArticlePage.snap.js | 14 +- .../src/components/Articles/Articles.snap.js | 10 +- .../src/components/Author/Author.snap.js | 4 +- .../components/CMSContent/CMSContent.snap.js | 2 +- .../components/ChoiceChip/ChoiceChip.snap.js | 2 +- .../FeaturedArticle/FeaturedArticle.snap.js | 2 +- .../components/FilterBar/FilterBar.snap.js | 2 +- .../components/GetInTouch/GetInTouch.snap.js | 2 +- .../GetInvolved/GetInvolved.snap.js | 2 +- .../LongFormRichText/LongFormRichText.snap.js | 2 +- .../MeetOurTeam/MeetOurTeam.snap.js | 2 +- .../NavBarNavList/NavBarNavList.snap.js | 4 +- .../NewsAndStories/NewsAndStories.snap.js | 4 +- .../Opportunities/Opportunities.snap.js | 2 +- .../OpportunityCard/OpportunityCard.snap.js | 2 +- .../OpportunityCardList.snap.js | 4 +- .../components/OurMission/OurMission.snap.js | 26 +- .../src/components/Project/Project.snap.js | 8 +- .../ProjectDetails/ProjectDescription.snap.js | 6 +- .../ProjectDescriptionButton.snap.js | 2 +- .../ProjectDetails/ProjectDetails.snap.js | 6 +- .../ProjectStakeholders.snap.js | 8 +- .../ProjectPageHeader.snap.js | 2 +- .../RelatedStories/RelatedStories.snap.js | 2 +- .../src/components/RichText/RichText.snap.js | 2 +- .../ShareThisPage/ShareThisPage.snap.js | 4 +- .../SocialMediaBar/SocialMediaBar.snap.js | 4 +- .../SocialMediaButton.snap.js | 2 +- .../SocialMediaButtonGroup.snap.js | 2 +- apps/codeforafrica/turbo.json | 10 +- apps/commons-ui-docs/package.json | 46 +- apps/pesayetu/package.json | 117 +- apps/promisetracker/package.json | 48 +- package.json | 8 +- packages/commons-ui-core/package.json | 20 +- packages/commons-ui-next/package.json | 14 +- .../commons-ui-next/src/Link/Link.snap.js | 2 +- .../commons-ui-testing-library/package.json | 22 +- .../eslint-config-commons-ui/package.json | 30 +- packages/jest-config-commons-ui/package.json | 14 +- .../playwright-config-commons-ui/package.json | 12 +- pnpm-lock.yaml | 15335 +++++++--------- 67 files changed, 7103 insertions(+), 9191 deletions(-) create mode 100644 apps/codeforafrica/public/images/cms/blocks/longform.jpg diff --git a/apps/charterafrica/package.json b/apps/charterafrica/package.json index 91bd233b5..f648edd2e 100644 --- a/apps/charterafrica/package.json +++ b/apps/charterafrica/package.json @@ -36,36 +36,36 @@ "db-rollback": "migrate-mongo down" }, "dependencies": { - "@aws-sdk/client-s3": "^3.417.0", - "@aws-sdk/lib-storage": "^3.417.0", + "@aws-sdk/client-s3": "^3.458.0", + "@aws-sdk/lib-storage": "^3.458.0", "@commons-ui/core": "workspace:*", "@commons-ui/next": "workspace:*", "@emotion/cache": "^11.11.0", - "@emotion/react": "^11.10.8", - "@emotion/server": "^11.10.0", + "@emotion/react": "^11.11.1", + "@emotion/server": "^11.11.0", "@emotion/styled": "^11.11.0", - "@mui/material": "^5.14.0", - "@mui/utils": "^5.12.3", - "@next/env": "^13.5.2", + "@mui/material": "^5.14.18", + "@mui/utils": "^5.14.18", + "@next/env": "^14.0.3", "@nivo/core": "^0.80.0", "@nivo/pie": "^0.80.0", "@nivo/tooltip": "^0.80.0", "@nivo/waffle": "^0.80.0", - "@payloadcms/plugin-cloud-storage": "^1.0.16", - "@payloadcms/plugin-nested-docs": "^1.0.6", - "@payloadcms/plugin-seo": "^1.0.13", - "@sentry/nextjs": "^7.77.0", - "airtable": "^0.12.1", - "dotenv": "^16.0.3", + "@payloadcms/plugin-cloud-storage": "^1.1.1", + "@payloadcms/plugin-nested-docs": "^1.0.9", + "@payloadcms/plugin-seo": "^1.0.15", + "@sentry/nextjs": "^7.81.1", + "airtable": "^0.12.2", + "dotenv": "^16.3.1", "express": "^4.18.2", - "leaflet": "^1.9.3", + "leaflet": "^1.9.4", "migrate-mongo": "^10.0.0", "monaco-editor": "^0.38.0", "nanoid": "^4.0.2", - "next": "^13.5.2", + "next": "^14.0.3", "next-seo": "^5.15.0", "nodemailer-sendgrid": "^1.0.3", - "payload": "^1.11.8", + "payload": "^1.15.8", "prop-types": "^15.8.1", "qs": "^6.11.2", "react": "^18.2.0", @@ -77,36 +77,36 @@ "sharp": "^0.32.6", "slate": "^0.94.1", "swr": "^1.3.0", - "video.js": "^8.3.0", + "video.js": "^8.6.1", "videojs-youtube": "^3.0.1" }, "devDependencies": { - "@babel/core": "^7.22.9", - "@babel/preset-react": "^7.22.5", - "@babel/register": "^7.21.0", - "@babel/runtime": "^7.21.5", + "@babel/core": "^7.23.3", + "@babel/preset-react": "^7.23.3", + "@babel/register": "^7.22.15", + "@babel/runtime": "^7.23.4", "@commons-ui/testing-library": "workspace:*", - "@playwright/test": "^1.33.0", + "@playwright/test": "^1.40.0", "@svgr/webpack": "^6.5.1", - "@swc/core": "^1.3.56", - "@types/express": "^4.17.17", - "@types/node": "^18.11.9", - "@types/react": "^18.2.15", - "babel-jest": "^29.5.0", - "eslint": "^8.39.0", + "@swc/core": "^1.3.99", + "@types/express": "^4.17.21", + "@types/node": "^18.18.13", + "@types/react": "^18.2.38", + "babel-jest": "^29.7.0", + "eslint": "^8.54.0", "eslint-config-commons-ui": "workspace:*", - "eslint-import-resolver-webpack": "^0.13.2", - "eslint-plugin-import": "^2.27.5", + "eslint-import-resolver-webpack": "^0.13.8", + "eslint-plugin-import": "^2.29.0", "identity-obj-proxy": "^3.0.0", - "jest": "^29.5.0", + "jest": "^29.7.0", "jest-config-commons-ui": "workspace:*", "nodemon": "^2.0.22", "playwright-config-commons-ui": "workspace:*", - "prettier": "^3.0.0", + "prettier": "^3.1.0", "react-test-renderer": "^18.2.0", "ts-node": "^10.9.1", "typescript": "^4.9.5", - "webpack": "^5.82.0" + "webpack": "^5.89.0" }, "engines": { "node": "18.x" diff --git a/apps/charterafrica/src/components/Articles/Articles.snap.js b/apps/charterafrica/src/components/Articles/Articles.snap.js index 0a95ef800..7df6bc079 100644 --- a/apps/charterafrica/src/components/Articles/Articles.snap.js +++ b/apps/charterafrica/src/components/Articles/Articles.snap.js @@ -67,11 +67,12 @@ exports[` renders unchanged 1`] = ` class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary css-a46zki-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root" >
renders unchanged 1`] = ` class="MuiTypography-root MuiTypography-p1 css-l6prdf-MuiTypography-root" > Created January 1, 2021 @@ -37,7 +37,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-4 css-1phk7xb-MuiGrid-root" >
renders unchanged 1`] = `
renders unchanged 1`] = ` Open Dataset
renders unchanged 1`] = ` Share Via
diff --git a/apps/charterafrica/src/components/Datasets/Datasets.snap.js b/apps/charterafrica/src/components/Datasets/Datasets.snap.js index 474e83359..a565149de 100644 --- a/apps/charterafrica/src/components/Datasets/Datasets.snap.js +++ b/apps/charterafrica/src/components/Datasets/Datasets.snap.js @@ -317,7 +317,7 @@ exports[` renders unchanged 1`] = ` Datasets diff --git a/apps/charterafrica/src/components/DesktopNavBar/DesktopNavBar.snap.js b/apps/charterafrica/src/components/DesktopNavBar/DesktopNavBar.snap.js index 9aa320f17..bb885f5d4 100644 --- a/apps/charterafrica/src/components/DesktopNavBar/DesktopNavBar.snap.js +++ b/apps/charterafrica/src/components/DesktopNavBar/DesktopNavBar.snap.js @@ -9,7 +9,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root" > diff --git a/apps/charterafrica/src/components/Document/Document.snap.js b/apps/charterafrica/src/components/Document/Document.snap.js index 4b72b1eb3..4d3b482c9 100644 --- a/apps/charterafrica/src/components/Document/Document.snap.js +++ b/apps/charterafrica/src/components/Document/Document.snap.js @@ -41,7 +41,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-direction-xs-[object Object] MuiGrid-grid-xs-12 MuiGrid-grid-md-4 css-19fdzmu-MuiGrid-root" > @@ -56,7 +56,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-mqmitf-MuiGrid-root" >
renders unchanged 1`] = ` Share this document
diff --git a/apps/charterafrica/src/components/FeaturedPostCard/FeaturedPostCard.snap.js b/apps/charterafrica/src/components/FeaturedPostCard/FeaturedPostCard.snap.js index 1a67affee..20adbda31 100644 --- a/apps/charterafrica/src/components/FeaturedPostCard/FeaturedPostCard.snap.js +++ b/apps/charterafrica/src/components/FeaturedPostCard/FeaturedPostCard.snap.js @@ -20,7 +20,7 @@ exports[`FeaturedPostCard should render 1`] = ` class="MuiCardContent-root css-cnb62q-MuiCardContent-root" >
renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root" > @@ -57,7 +57,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root" > diff --git a/apps/charterafrica/src/components/Opportunity/Opportunity.snap.js b/apps/charterafrica/src/components/Opportunity/Opportunity.snap.js index ac5b4229a..f966b2ced 100644 --- a/apps/charterafrica/src/components/Opportunity/Opportunity.snap.js +++ b/apps/charterafrica/src/components/Opportunity/Opportunity.snap.js @@ -63,7 +63,7 @@ exports[` renders unchanged 1`] = ` class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root" > diff --git a/apps/charterafrica/src/components/OpportunityCard/OpportunityCard.snap.js b/apps/charterafrica/src/components/OpportunityCard/OpportunityCard.snap.js index 0392c57b7..015766958 100644 --- a/apps/charterafrica/src/components/OpportunityCard/OpportunityCard.snap.js +++ b/apps/charterafrica/src/components/OpportunityCard/OpportunityCard.snap.js @@ -6,7 +6,7 @@ exports[` renders unchanged 1`] = ` class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root css-s80wf8-MuiPaper-root-MuiCard-root" > diff --git a/apps/charterafrica/src/components/RichText/RichText.snap.js b/apps/charterafrica/src/components/RichText/RichText.snap.js index 5fa0ce56c..66b366f35 100644 --- a/apps/charterafrica/src/components/RichText/RichText.snap.js +++ b/apps/charterafrica/src/components/RichText/RichText.snap.js @@ -20,7 +20,7 @@ exports[` renders unchanged 1`] = ` > The project currently supports initiatives in 11 countries. Find out more here diff --git a/apps/charterafrica/src/components/ShareThisPage/ShareThisPage.snap.js b/apps/charterafrica/src/components/ShareThisPage/ShareThisPage.snap.js index 3f4172087..89c9aec8e 100644 --- a/apps/charterafrica/src/components/ShareThisPage/ShareThisPage.snap.js +++ b/apps/charterafrica/src/components/ShareThisPage/ShareThisPage.snap.js @@ -3,7 +3,7 @@ exports[` renders unchanged 1`] = `