Hard code charities data
This commit is contained in:
parent
6fff033267
commit
1599d10e15
228
common/charity.ts
Normal file
228
common/charity.ts
Normal file
|
@ -0,0 +1,228 @@
|
|||
export const charities = [
|
||||
{
|
||||
name: 'Faunalytics',
|
||||
website: 'https://faunalytics.org/',
|
||||
ein: '01-0686889',
|
||||
photo:
|
||||
'https://animalcharityevaluators.org/wp-content/uploads/2016/08/logo-faunalytics2400x2400-200x200@2x.jpg',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'The Humane League',
|
||||
website: 'https://thehumaneleague.org/',
|
||||
ein: '04-3817491',
|
||||
photo:
|
||||
'https://animalcharityevaluators.org/wp-content/uploads/2019/03/thl-mended-heart-logo@2x-200x200@2x.jpg',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Wild Animal Initiative',
|
||||
website: 'https://www.wildanimalinitiative.org/',
|
||||
ein: '82-2281466',
|
||||
photo:
|
||||
'https://animalcharityevaluators.org/wp-content/uploads/2020/11/WAI-logo_square-gray-on-teal-1-630x630.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Give Directly',
|
||||
website: 'https://www.givedirectly.org/',
|
||||
ein: '27-1661997',
|
||||
photo:
|
||||
'https://www.givewell.org/sites/default/files/charity_logos/GiveDirectly.jpg',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Hellen Keller International',
|
||||
website: 'https://www.hki.org/',
|
||||
ein: '13-5562162',
|
||||
photo:
|
||||
'https://www.ntd-ngonetwork.org/sites/nnn/files/content/organisation/logos/2020-01-28/v2_HKLogo_Primary_RGB.jpg',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Against Malaria Foundation',
|
||||
website: 'https://www.againstmalaria.com/',
|
||||
ein: '20-3069841',
|
||||
photo:
|
||||
'https://media-exp1.licdn.com/dms/image/C4D0BAQFvdcum9KBNfg/company-logo_200_200/0?e=2159024400&v=beta&t=hxjJCKQkMp2irTOcuJEceW7x4l3c4PD7gYCQ6ulgYlg',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Malaria Consortium',
|
||||
website: 'https://www.malariaconsortium.org/',
|
||||
ein: '98-0627052',
|
||||
photo:
|
||||
'http://www.malariaconsortium.org/website-2013/images_template/malaria_consortium_logo.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'New Incentives',
|
||||
website: 'https://www.newincentives.org/',
|
||||
ein: '45-2368993',
|
||||
photo:
|
||||
'https://uploads-ssl.webflow.com/5f7c51bf9fac9b5ed62aa37b/5f7c51bf9fac9b85c42aa3df_Group%20344%20(1).svg',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'SCI foundation',
|
||||
website: 'https://schistosomiasiscontrolinitiative.org/',
|
||||
ein: '',
|
||||
photo:
|
||||
'https://images.easyfundraising.org.uk/cause/cropped/cause-logo-e99e0632a8a9572150fdcf3abf08ad45.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Wikimedia Foundation',
|
||||
website: 'https://wikimediafoundation.org/',
|
||||
ein: '20-0049703',
|
||||
photo:
|
||||
'http://2.bp.blogspot.com/-jVseU39DW0s/VjmXVMOEEEI/AAAAAAAACK8/dwUP6sLqy-Q/s1600/wikimedia.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Rainforest Trust',
|
||||
website: 'https://www.rainforesttrust.org/',
|
||||
ein: '13-3500609',
|
||||
photo:
|
||||
'http://ww1.prweb.com/prfiles/2019/05/29/16344590/Rrainforest%20Trust%20new%20logo%20tall-1%20copy.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'The Nature Conservancy',
|
||||
website: 'https://www.nature.org/en-us/',
|
||||
ein: '53-0242652',
|
||||
photo:
|
||||
'https://mma.prnewswire.com/media/1140905/The_Nature_Conservancy_Logo.jpg?p=facebook',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Doctors Without Borders',
|
||||
website: 'https://www.doctorswithoutborders.org/',
|
||||
ein: '13-3433452',
|
||||
photo: 'https://www.doctorswithoutborders.org/themes/custom/msf/logo.svg',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'World Wildlife Fund',
|
||||
website: 'https://www.worldwildlife.org/',
|
||||
ein: '52-1693387',
|
||||
photo:
|
||||
'https://www.worldwildlife.org/assets/structure/unique/logo-c562409bb6158bf64e5f8b1be066dbd5983d75f5ce7c9935a5afffbcc03f8e5d.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'UNICEF USA',
|
||||
website: 'https://www.unicefusa.org/',
|
||||
ein: '13-1760110',
|
||||
photo:
|
||||
'https://yt3.ggpht.com/-YSImZafvpdM/AAAAAAAAAAI/AAAAAAAAAAA/slYgCIuQ0xo/s900-c-k-no-mo-rj-c0xffffff/photo.jpg',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Vitamin Angels',
|
||||
website: 'https://www.vitaminangels.org/',
|
||||
ein: '77-0485881',
|
||||
photo:
|
||||
'https://www.newhope.com/sites/newhope360.com/files/styles/article_featured_retina/public/vitamin-angels-logo.jpg?itok=pfNCPLE0',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Free Software Foundation',
|
||||
website: 'https://www.fsf.org/',
|
||||
ein: '04-2888848',
|
||||
photo: 'https://www.gnu.org/graphics/logo-fsf.org.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Direct Relief',
|
||||
website: 'https://www.directrelief.org/',
|
||||
ein: '95-1831116',
|
||||
photo:
|
||||
'https://www.ngoadvisor.net/wp-content/uploads/2016/02/DirectRelief_Logo_RGB-2-1920x576.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'World Resources Institute',
|
||||
website: 'https://www.wri.org/',
|
||||
ein: '52-1257057',
|
||||
photo:
|
||||
'https://www.americansecurityproject.org/wp-content/uploads/2016/11/WRI_logo_4c.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'ProPublica',
|
||||
website: 'https://www.propublica.org/',
|
||||
ein: '14-2007220',
|
||||
photo:
|
||||
'https://seekvectorlogo.com/wp-content/uploads/2018/09/propublica-vector-logo.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Dana-Farber Cancer Institute',
|
||||
website: 'https://www.dana-farber.org/',
|
||||
ein: '04-2263040',
|
||||
photo:
|
||||
'https://www.danafarbermasterclass.com/assets/images/DFCI-logo-lens-stacked.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'Save The Children',
|
||||
website: 'https://www.savethechildren.org/',
|
||||
ein: '06-0726487',
|
||||
photo:
|
||||
'https://www.thisisclapham.co.uk/wp-content/uploads/2016/08/savethechildren.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'World Central Kitchen Incorporated',
|
||||
website: 'https://wck.org/',
|
||||
ein: '27-3521132',
|
||||
photo:
|
||||
'https://res.cloudinary.com/dktp1ybbx/image/upload/f_auto,fl_lossy,q_auto/v1560203222/organization/prod/924457/M0oxO9vaxO.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'The Johns Hopkins Center for Health Security',
|
||||
website: 'https://www.centerforhealthsecurity.org/',
|
||||
ein: '',
|
||||
photo:
|
||||
'https://www.centerforhealthsecurity.org/sebin/d/d/CHS.logo.horizontal.blue.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
{
|
||||
name: 'ALLFED',
|
||||
website: 'https://allfed.info/',
|
||||
ein: '27-6601178',
|
||||
photo:
|
||||
'https://allfed.info/templates/yootheme/cache/allfed%20logo%20horizontal%20white-dffe24f7.png',
|
||||
blurb:
|
||||
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
},
|
||||
].map((charity) => ({
|
||||
...charity,
|
||||
slug: charity.name.replace(/\s/g, '-'),
|
||||
}))
|
|
@ -1,32 +1,16 @@
|
|||
import _ from 'lodash'
|
||||
import { useState, useMemo } from 'react'
|
||||
import { charities as charityList } from '../../../common/charity'
|
||||
import Card from '../../components/charity/charity-card'
|
||||
import { Col } from '../../components/layout/col'
|
||||
import { Page } from '../../components/page'
|
||||
import { Title } from '../../components/title'
|
||||
|
||||
const charities = [
|
||||
'QRI',
|
||||
'Redwood Research',
|
||||
'._.',
|
||||
'Center for Effective Altruism',
|
||||
'AllFed',
|
||||
'Against Malaria Foundation',
|
||||
'Institution for Long Long Loooong Loquacious Language (ILL)',
|
||||
'American Red Cross',
|
||||
].map((name, i) => ({
|
||||
name,
|
||||
slug: name,
|
||||
website: 'https://www.google.com',
|
||||
ein: '123456789',
|
||||
photo: i === 4 ? '' : 'https://placekitten.com/200/200',
|
||||
blurb:
|
||||
i === 2
|
||||
? 'short text'
|
||||
: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
|
||||
// TODO: Fetch amount raised.
|
||||
const charities = charityList.map((charity) => ({
|
||||
...charity,
|
||||
raised: 4001,
|
||||
}))
|
||||
// TODO: actual data
|
||||
|
||||
export default function Charity() {
|
||||
const [query, setQuery] = useState('')
|
||||
|
|
Loading…
Reference in New Issue
Block a user