Skip to content

Commit

Permalink
Update props for Footer to include new additions
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed Jun 22, 2024
1 parent 048b300 commit 9d65729
Showing 1 changed file with 52 additions and 5 deletions.
57 changes: 52 additions & 5 deletions apps/roboshield/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,9 @@ export async function getStaticProps() {
menus: [{ label: "ABOUT", href: "#" }],
socialLinks: [
{
platform: "Github",
url: "https://github.com/CodeForAfrica/ui",
id: "1",
platform: "Twitter",
url: "https://twitter.com/Code4Africa",
id: "651e88dbc938b817cab85671",
},
],
},
Expand All @@ -326,8 +326,43 @@ export async function getStaticProps() {
url: "https://cfa.dev.codeforafrica.org/media/cfalogobw.svg",
src: "https://cfa.dev.codeforafrica.org/media/cfalogobw.svg",
},
description:
"This site is an open source code built by Code for Africa, the continent's largest network of civic technology and data journalism labs. All content is released under a Creative Commons 4 Attribution License. Reuse it to help empower your own community.",
description: `This site is an <a href="https://github.com/CodeForAfrica/ui/tree/main/apps/roboshield">open source code</a> built by <a href="https://codeforafrica.org">Code for Africa</a>, the continent's largest network of civic technology and data journalism labs. All content is released under a <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons 4 Attribution</a> License. Reuse it to help empower your own community.`,
connect: {
title: "STAY IN TOUCH:",
links: [
{
platform: "Twitter",
url: "https://twitter.com/Code4Africa",
id: "651e88dbc938b817cab85671",
},
{
platform: "Slack",
url: "https://code4africa.slack.com/",
id: "651e8995c938b817cab85672",
},
{
platform: "Linkedin",
url: "https://www.linkedin.com/company/code-for-africa/",
id: "651e89a5c938b817cab85673",
},
{
platform: "Facebook",
url: "https://www.facebook.com/CodeForAfrica/",
id: "651e89afc938b817cab85674",
},
{
platform: "Instagram",
url: "https://www.instagram.com/code4africa__/",
id: "651e89c3c938b817cab85675",
},

{
platform: "Github",
url: "https://github.com/CodeForAfrica",
id: "651e89dec938b817cab85676",
},
],
},
partners: [
{
name: "DW Africa",
Expand All @@ -354,6 +389,18 @@ export async function getStaticProps() {
},
},
],
project: `This project was inspired by a
<a href="https://reutersinstitute.politics.ox.ac.uk/how-many-news-websites-block-ai-crawlers" rel="noreferrer noopener" target="blank">survey conducted</a>
by the Reutures Instititue in the Minority World. The Audit data used
in this project was based on
<a href="https://civicsignal.africa" rel="noreferrer noopener" target="blank">CivicSignal</a>
MediaData database.
`,
newsletter: {
title: "Subscribe to our Newsletter",
embedCode:
'<!-- Begin Mailchimp Signup Form -->\n\n<div id="mc_embed_signup">\n <form action="https://twitter.us6.list-manage.com/subscribe/post?u=65e5825507b3cec760f272e79&amp;id=c2ff751541" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>\n <div id="mc_embed_signup_scroll">\n <label for="MERGE1">Name</label>\n <input type="text" name="MERGE1" id="MERGE1" size="25" value="" placeholder="Your name">\n <label for="mce-EMAIL">Email</label>\n <input type="email" value="" placeholder="[email protected]" name="EMAIL" class="email" id="mce-EMAIL" required>\n <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->\n <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_65e5825507b3cec760f272e79_c2ff751541" tabindex="-1" value=""></div>\n <div class="clear"><input type="submit" value="Sign up" id="mc-embedded-subscribe" class="button"></div>\n </div>\n </form>\n</div>\n\n<!--End mc_embed_signup-->',
},
},
},
};
Expand Down

0 comments on commit 9d65729

Please sign in to comment.