Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 128 Collective #1447

Merged
merged 5 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 3 additions & 84 deletions pages/fiscal-sponsorship/climate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,6 @@ export const badges = [
icon: 'explore',
match: org => org.isTransparent
},
// The "128 Collective Funded" is hidden for now. It may be re-added in the
// future after 128 Collective has more multi-year grants.
// {
// label: 'Funded',
// id: '128CollectiveFunded',
// tooltip: '128 Collective Funded',
// match: org => org.is128Funded,
// image:
// 'https://d33wubrfki0l68.cloudfront.net/5fc90935f8126233f42919a6c68601a5d735d798/fa4b2/images/logo.svg'
// },
{
label: 'Recommended',
id: '128CollectiveRecommended',
tooltip: '128 Collective Recommended',
match: org => org.is128Recommended,
image:
'https://d33wubrfki0l68.cloudfront.net/5fc90935f8126233f42919a6c68601a5d735d798/fa4b2/images/logo.svg'
}
]

badges.__proto__.forOrg = function (org) {
Expand Down Expand Up @@ -1147,69 +1129,6 @@ export default function ClimatePage({ rawOrganizations, pageRegion }) {
</Grid>
</Container>
</Grid>
<Box
sx={{
mt: [5, 3, 0],
pt: [5, null, null, null, 6],
pb: [3, 4, 5, null, 6],
minHeight: ['70vh', 'none'],
textAlign: 'center',
backgroundImage:
"linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('https://cloud-hc1lyhwxy-hack-club-bot.vercel.app/0marita-kavelashvili-ugnrxk1129g-unsplash.jpg')",
backgroundSize: 'cover',
backgroundPosition: 'center center',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
color: 'white'
}}
>
<Box
sx={{
width: '100%',
maxWidth: 'calc(48rem + 312px)',
mx: 'auto',
px: '16px'
}}
>
<Heading
sx={{
textAlign: 'center',
mt: [2, 4],
textShadow: '0 0 16px rgba(0, 0, 0, 1)',
fontSize: [5, null, 6, 6]
}}
as="h3"
variant="subheadline"
>
Join us in supporting <br /> climate initiatives.
</Heading>
<Box
sx={{
fontSize: [2, 3, 3],
textAlign: 'center',
my: 3
}}
>
Let your money work for change by donating to all climate-focused
nonprofits on HCB. Donate to 128 Collective’s curated list of
recommended organizations.
</Box>
<Button
variant="ctaLg"
as="a"
href="https://hcb.hackclub.com/donations/start/128-collective-fund"
target="_blank"
sx={{
ml: [0, 3],
mt: 2,
backgroundImage: t => t.util.gx('green', 'blue')
}}
>
<Text>Donate to the climate&nbsp;fund</Text>
</Button>
</Box>
</Box>
</Box>
<Footer />
</div>
Expand Down Expand Up @@ -1316,7 +1235,7 @@ export class Organization {
return {
type: this.raw.category,
category: 'Coding',
badges: ['128_collective_funded']
badges: ['']
}
}

Expand Down Expand Up @@ -1367,15 +1286,15 @@ export class Organization {
* @type {boolean}
*/
get is128Recommended() {
return this.raw.partners?.['128_collective']?.recommended
return false
}

/**
* Checks if the organization is funded by 128 Collective.
* @type {boolean}
*/
get is128Funded() {
return this.raw.partners?.['128_collective']?.funded
return false
}

/**
Expand Down
6 changes: 3 additions & 3 deletions pages/fiscal-sponsorship/directory/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ export class Organization {
return {
type: this.raw.category,
category: 'Coding',
badges: ['128_collective_funded']
badges: ['']
}
}

Expand Down Expand Up @@ -1161,15 +1161,15 @@ export class Organization {
* @type {boolean}
*/
get is128Recommended() {
return this.raw.partners?.['128_collective']?.recommended
return false
}

/**
* Checks if the organization is funded by 128 Collective.
* @type {boolean}
*/
get is128Funded() {
return this.raw.partners?.['128_collective']?.funded
return false
}

/**
Expand Down
69 changes: 0 additions & 69 deletions pages/fiscal-sponsorship/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,75 +315,6 @@ export default function Page() {
</Grid>
</Container>
</Box>
<Box as="section" bg="snow" sx={{ py: 5 }}>
<Container>
<Grid columns={[null, null, 2]} gap={[4, 5]}>
<div>
<Heading
variant="headline"
as="h2"
sx={{ marginBlockStart: [null, 4] }}
>
<Balancer>
The fiscal sponsor of&nbsp;choice for the best funders.
</Balancer>
</Heading>
<Flex
sx={{
alignItems: 'center',
gap: [3, 4],
mt: 4,
img: {
width: [72, 128],
height: [72, 128],
objectFit: 'contain'
}
}}
>
{['128.png', 'ycjf.png', 'first.png'].map(file => (
<img
key={file}
src={`/fiscal-sponsorship/${file}`}
width={128}
height={128}
loading="lazy"
alt={file.split('.')[0].toUpperCase()}
/>
))}
</Flex>
</div>
<Card sx={{ maxWidth: 'copy', ml: [null, -4], textAlign: 'left' }}>
<Text
as="blockquote"
variant="lead"
sx={{
mt: '0 !important',
color: 'slate',
textIndent: '-0.33em'
}}
>
“HCB’s Climate fiscal sponsorship program removes funding
barriers with a blend of youth-centered, tech-savvy services and
a deep commitment to authentic youth empowerment.”
</Text>
<Text
as="p"
variant="caption"
sx={{ color: 'muted', mt: 3, textIndent: '-1.5ch' }}
>
<Text as="strong" color="slate">
Kate Goss
</Text>
, Executive Director,{' '}
<UILink href="https://128collective.org">
128&nbsp;Collective
</UILink>
</Text>
</Card>
</Grid>
</Container>
</Box>

<Container>
<Grid
Expand Down
Binary file removed public/fiscal-sponsorship/128.png
Binary file not shown.
Loading