Skip to content

Commit

Permalink
Merge pull request #642 from CodeForAfrica/fix/codeforafrica_projects
Browse files Browse the repository at this point in the history
Fix @/codeforafrica projects components
  • Loading branch information
kilemensi authored Nov 10, 2023
2 parents cd163dc + 67de0ce commit 75db70d
Show file tree
Hide file tree
Showing 36 changed files with 137 additions and 120 deletions.
2 changes: 1 addition & 1 deletion apps/codeforafrica/contrib/dokku/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM codeforafrica/codeforafrica-ui:1.0.48
FROM codeforafrica/codeforafrica-ui:1.0.49
2 changes: 1 addition & 1 deletion apps/codeforafrica/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codeforafrica",
"version": "1.0.48",
"version": "1.0.49",
"private": true,
"author": "Code for Africa <tech@codeforafrica.org>",
"description": "This is the main CFA site.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports[`<AccoladeBadge /> renders unchanged 1`] = `
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1j7654b-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-cx4ow6-MuiTypography-root"
>
Award Name
</p>
Expand All @@ -40,7 +40,7 @@ exports[`<AccoladeBadge /> renders unchanged 1`] = `
class="MuiGrid-root MuiGrid-item css-13i4rnv-MuiGrid-root"
>
<span
class="MuiTypography-root MuiTypography-caption css-1oqmokl-MuiTypography-root"
class="MuiTypography-root MuiTypography-caption css-1nn8juq-MuiTypography-root"
>
Month 2021
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ exports[`<ArticleGrid /> renders unchanged 1`] = `
class="MuiFormControl-root MuiTextField-root css-1p0a819-MuiFormControl-root-MuiTextField-root"
>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1u16ib2-MuiInputBase-root-MuiOutlinedInput-root"
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1avksc5-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputTypeSearch MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-h7q3zr-MuiInputBase-input-MuiOutlinedInput-input"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputTypeSearch MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-uotzle-MuiInputBase-input-MuiOutlinedInput-input"
id=":r0:"
type="search"
value=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports[`<ArticlePage /> renders unchanged 1`] = `
class="MuiContainer-root MuiContainer-maxWidthLg MuiContainer-fixed MuiContainer-disableGutters css-12qr4r4-MuiContainer-root"
>
<div
class="MuiTypography-root MuiTypography-body2 css-myiz4y-MuiTypography-root"
class="MuiTypography-root MuiTypography-body2 css-1jq7s7e-MuiTypography-root"
>
Sept 1, 2021
</div>
Expand Down Expand Up @@ -120,7 +120,7 @@ exports[`<ArticlePage /> renders unchanged 1`] = `
class="MuiStack-root css-1yu3riq-MuiStack-root"
>
<div
class="MuiTypography-root MuiTypography-body2 css-tua52g-MuiTypography-root"
class="MuiTypography-root MuiTypography-body2 css-1g3st0c-MuiTypography-root"
>
Article by
</div>
Expand All @@ -133,7 +133,7 @@ exports[`<ArticlePage /> renders unchanged 1`] = `
Author 1
</div>
<div
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
Author 1 bio
</div>
Expand All @@ -143,7 +143,7 @@ exports[`<ArticlePage /> renders unchanged 1`] = `
class="MuiStack-root css-1yu3riq-MuiStack-root"
>
<div
class="MuiTypography-root MuiTypography-body2 css-tua52g-MuiTypography-root"
class="MuiTypography-root MuiTypography-body2 css-1g3st0c-MuiTypography-root"
>
Article by
</div>
Expand All @@ -156,7 +156,7 @@ exports[`<ArticlePage /> renders unchanged 1`] = `
Author 2
</div>
<div
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
Author 2 bio
</div>
Expand Down
8 changes: 4 additions & 4 deletions apps/codeforafrica/src/components/Articles/Articles.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ exports[`<Articles /> renders unchanged 1`] = `
class="MuiFormControl-root MuiTextField-root css-1p0a819-MuiFormControl-root-MuiTextField-root"
>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1u16ib2-MuiInputBase-root-MuiOutlinedInput-root"
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1avksc5-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputTypeSearch MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-h7q3zr-MuiInputBase-input-MuiOutlinedInput-input"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputTypeSearch MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-uotzle-MuiInputBase-input-MuiOutlinedInput-input"
id=":r0:"
placeholder="Search"
type="search"
Expand Down Expand Up @@ -136,12 +136,12 @@ exports[`<Articles /> renders unchanged 1`] = `
class="MuiCardContent-root css-jq2jyh-MuiCardContent-root"
>
<p
class="MuiTypography-root MuiTypography-body1 css-pdkb43-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-kaytih-MuiTypography-root"
>
Battle for gender equality in African media continues
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-ajju11-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-k5rac-MuiTypography-root"
>
Lorem ipsum dolor sit amet consectetur adipiscing elit mattis, vestibulum potenti rhoncus eget lacus fermentum taciti quam, quis curae accumsan viverra semper dapibus sed.
</p>
Expand Down
2 changes: 1 addition & 1 deletion apps/codeforafrica/src/components/Author/Author.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`<Author /> renders unchanged 1`] = `
class="MuiStack-root css-1yu3riq-MuiStack-root"
>
<div
class="MuiTypography-root MuiTypography-body2 css-tua52g-MuiTypography-root"
class="MuiTypography-root MuiTypography-body2 css-1g3st0c-MuiTypography-root"
>
Article by
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`<Breadcrumbs /> renders unchanged 1`] = `
<div>
<nav
class="MuiTypography-root MuiTypography-body1 MuiBreadcrumbs-root css-telel4-MuiTypography-root-MuiBreadcrumbs-root"
class="MuiTypography-root MuiTypography-body1 MuiBreadcrumbs-root css-1yleyq8-MuiTypography-root-MuiBreadcrumbs-root"
>
<ol
class="MuiBreadcrumbs-ol css-4pdmu4-MuiBreadcrumbs-ol"
Expand All @@ -28,7 +28,7 @@ exports[`<Breadcrumbs /> renders unchanged 1`] = `
class="MuiBreadcrumbs-li"
>
<div
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
Initiatives
</div>
Expand Down
14 changes: 7 additions & 7 deletions apps/codeforafrica/src/components/CMSContent/CMSContent.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ exports[`<CMSContent /> renders unchanged 1`] = `
class="MuiContainer-root MuiContainer-maxWidthLg MuiContainer-fixed MuiContainer-disableGutters css-1y3f71u-MuiContainer-root"
>
<div
class="MuiBox-root css-1atzel7"
class="MuiBox-root css-6cogad"
>
<p
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
Women make up only 22% of the people seen, heard or read about in the news in Africa, the results of the 
<a
class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways MuiTypography-root MuiTypography-body1 css-hpqj4d-MuiTypography-root-MuiLink-root-MuiTypography-root"
class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways MuiTypography-root MuiTypography-body1 css-1evosmk-MuiTypography-root-MuiLink-root-MuiTypography-root"
href="https://whomakesthenews.org/gmmp-2020-final-reports/"
rel="noreferrer noopener"
target="_blank"
Expand All @@ -23,17 +23,17 @@ exports[`<CMSContent /> renders unchanged 1`] = `
 report launched on 14 July show. The performance of the continent’s news media has stagnated in comparison to the media in the rest of the world which has improved in the quarter century that the research has been running.
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
“At the world level, women are only 1 in 4 of subjects and sources in the news. This proportion is marginally better in the digital news space but at the cumulative pace of change over time, it will take at least 67 more years to close the average global gender equality gap in news media content,” Sarah Macharia, Coordinator of WACC’s Global Media Monitoring Project (GMMP) said.
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
However, in a more positive development, women in Africa tend to be featured more as subjects on science and health stories at 30%. Interestingly, this topic is also covered by more women reporters than average. The positive correlation supports the idea that having a more diverse newsroom leads to more diverse stories.
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
Taking place every five years, the GMMP study is the largest and longest longitudinal study on gender in the world’s media. The 6th edition took place in 2020, in the midst of the pandemic and some adjustments had to be made on the schedule and data capture, including offline coding tools.
</p>
Expand Down Expand Up @@ -66,7 +66,7 @@ exports[`<CMSContent /> renders unchanged 1`] = `
class="MuiBox-root css-rm9e7r"
>
<div
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
<iframe
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`<ContactForm /> renders unchanged 1`] = `
class="MuiContainer-root MuiContainer-maxWidthLg MuiContainer-fixed MuiContainer-disableGutters css-1y3f71u-MuiContainer-root"
>
<div
class="MuiTypography-root MuiTypography-body1 css-147vjd2-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-s7jzf1-MuiTypography-root"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ exports[`<FeaturedArticle /> renders unchanged 1`] = `
class="MuiCardContent-root css-jq2jyh-MuiCardContent-root"
>
<p
class="MuiTypography-root MuiTypography-body1 css-pdkb43-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-kaytih-MuiTypography-root"
>
Battle for gender equality in African media continues
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-ajju11-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-k5rac-MuiTypography-root"
>
Lorem ipsum dolor sit amet consectetur adipiscing elit mattis, vestibulum potenti rhoncus eget lacus fermentum taciti quam, quis curae accumsan viverra semper dapibus sed.
</p>
Expand Down
4 changes: 2 additions & 2 deletions apps/codeforafrica/src/components/FilterBar/FilterBar.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ exports[`<FilterBar /> renders unchanged 1`] = `
class="MuiFormControl-root MuiTextField-root css-1p0a819-MuiFormControl-root-MuiTextField-root"
>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1u16ib2-MuiInputBase-root-MuiOutlinedInput-root"
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1avksc5-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputTypeSearch MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-h7q3zr-MuiInputBase-input-MuiOutlinedInput-input"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputTypeSearch MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-uotzle-MuiInputBase-input-MuiOutlinedInput-input"
id=":r0:"
type="search"
value=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`<LongFormExternalEmbed /> renders unchanged 1`] = `
class="MuiBox-root css-rm9e7r"
>
<div
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
<iframe
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
exports[`<LongFormRichText /> renders unchanged 1`] = `
<div>
<div
class="MuiBox-root css-1atzel7"
class="MuiBox-root css-6cogad"
>
<p
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
Women make up only 22% of the people seen, heard or read about in the news in Africa, the results of the 
<a
class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways MuiTypography-root MuiTypography-body1 css-hpqj4d-MuiTypography-root-MuiLink-root-MuiTypography-root"
class="MuiTypography-root MuiTypography-inherit MuiLink-root MuiLink-underlineAlways MuiTypography-root MuiTypography-body1 css-1evosmk-MuiTypography-root-MuiLink-root-MuiTypography-root"
href="https://whomakesthenews.org/gmmp-2020-final-reports/"
rel="noreferrer noopener"
target="_blank"
Expand All @@ -20,17 +20,17 @@ exports[`<LongFormRichText /> renders unchanged 1`] = `
 report launched on 14 July show. The performance of the continent’s news media has stagnated in comparison to the media in the rest of the world which has improved in the quarter century that the research has been running.
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
“At the world level, women are only 1 in 4 of subjects and sources in the news. This proportion is marginally better in the digital news space but at the cumulative pace of change over time, it will take at least 67 more years to close the average global gender equality gap in news media content,” Sarah Macharia, Coordinator of WACC’s Global Media Monitoring Project (GMMP) said.
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
However, in a more positive development, women in Africa tend to be featured more as subjects on science and health stories at 30%. Interestingly, this topic is also covered by more women reporters than average. The positive correlation supports the idea that having a more diverse newsroom leads to more diverse stories.
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
Taking place every five years, the GMMP study is the largest and longest longitudinal study on gender in the world’s media. The 6th edition took place in 2020, in the midst of the pandemic and some adjustments had to be made on the schedule and data capture, including offline coding tools.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ exports[`<NewsAndStories /> renders unchanged 1`] = `
class="MuiCardContent-root css-jq2jyh-MuiCardContent-root"
>
<p
class="MuiTypography-root MuiTypography-body1 css-pdkb43-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-kaytih-MuiTypography-root"
>
Battle for gender equality in African media continues
</p>
<p
class="MuiTypography-root MuiTypography-body1 css-ajju11-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-k5rac-MuiTypography-root"
>
Lorem ipsum dolor sit amet consectetur adipiscing elit mattis, vestibulum potenti rhoncus eget lacus fermentum taciti quam, quis curae accumsan viverra semper dapibus sed.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`<NewsletterSubscription /> renders unchanged 1`] = `
class="MuiStack-root css-4qg6bb-MuiStack-root"
>
<div
class="MuiTypography-root MuiTypography-body1 css-emierv-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1nqhb84-MuiTypography-root"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ exports[`<Opportunities /> renders unchanged 1`] = `
class="MuiFormControl-root MuiTextField-root css-1p0a819-MuiFormControl-root-MuiTextField-root"
>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1u16ib2-MuiInputBase-root-MuiOutlinedInput-root"
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedEnd css-1avksc5-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputTypeSearch MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-h7q3zr-MuiInputBase-input-MuiOutlinedInput-input"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputTypeSearch MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedEnd css-uotzle-MuiInputBase-input-MuiOutlinedInput-input"
id=":r0:"
placeholder="Search"
type="search"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ exports[`<OpportunityCard /> renders unchanged 1`] = `
class="MuiBox-root css-k008qs"
>
<div
class="MuiTypography-root MuiTypography-body1 css-fc9h1t-MuiTypography-root"
class="MuiTypography-root MuiTypography-body1 css-1gtn7ca-MuiTypography-root"
>
Data Journalism
</div>
</div>
<section
class="MuiTypography-root MuiTypography-body2 css-14zxna8-MuiTypography-root"
class="MuiTypography-root MuiTypography-body2 css-1u319hv-MuiTypography-root"
>
Position in: Africa Do you want to help expose the puppet-masters behind disinformation networks, and expose transnational organised criminals? Code for Africa (CfA) has an immediate vacancy for a full-time Deputy Investigative Manager to join our pan-African forensic...
</section>
Expand Down
Loading

0 comments on commit 75db70d

Please sign in to comment.