Skip to content

Commit a808d4f

Browse files
committed
Revert "Improve accessability field label & placeholder"
This reverts commit cd3bda1.
1 parent cd3bda1 commit a808d4f

File tree

3 files changed

+8
-43
lines changed

3 files changed

+8
-43
lines changed

components/bio.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ export default function Bio({ popup = true, spanTwo = false, ...props }) {
4242
height={64}
4343
mr={3}
4444
src={
45-
img
46-
// require(`../public/team/${name.split(' ')[0].toLowerCase()}.jpg`)
45+
img ||
46+
require(`../public/team/${name.split(' ')[0].toLowerCase()}.jpg`)
4747
}
4848
alt={name}
4949
sx={{

components/hcb/apply/personal-form.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ export default function PersonalInfoForm({
164164
<Field
165165
name="accommodations"
166166
label="Accessibility needs"
167-
description="Please specify any accommodations, accessibility needs, or other important information so we can support you during onboarding and while using HCB"
167+
description="Please specify any accommodations or accessibility needs you have so we can support you during onboarding and while using HCB"
168168
requiredFields={requiredFields}
169169
>
170170
<Input
171171
name="accommodations"
172172
id="accommodations"
173-
placeholder="I use a screen reader / I need increased text size during onboarding"
173+
placeholder="I need a screen reader"
174174
sx={{ ...AutofillColourFix }}
175175
/>
176176
</Field>

pages/team.js

+4-39
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import Footer from '../components/footer'
66
import Bio from '../components/bio'
77
import ForceTheme from '../components/force-theme'
88

9-
export default function Team({ team }) {
10-
console.log(team.current)
9+
export default function Team() {
1110
return (
1211
<>
1312
<Box as="main" key="main">
@@ -82,17 +81,7 @@ export default function Team({ team }) {
8281
</Text>
8382
<Box sx={{ flexGrow: 1 }}>
8483
<Grid columns={[1, null, 2]} gap={2} mb={2}>
85-
{team.current.filter(m => m.department === "Board").map(m => (
86-
<Bio
87-
img={m.avatar}
88-
name={m.name}
89-
teamRole={m.role}
90-
text={m.bio}
91-
pronouns={m.pronouns}
92-
/>
93-
))}
94-
<>
95-
{/* <Bio
84+
<Bio
9685
img="/team/zach.jpg"
9786
name="Zach Latta"
9887
teamRole="Founder"
@@ -131,8 +120,7 @@ export default function Team({ team }) {
131120
href="https://en.wikipedia.org/wiki/John_Abele"
132121
subrole="Founder, Boston Scientific"
133122
pronouns="he/him"
134-
/> */}
135-
</>
123+
/>
136124
</Grid>
137125
</Box>
138126
</Flex>
@@ -155,17 +143,7 @@ export default function Team({ team }) {
155143
Hacker Resources Team
156144
</Text>
157145
<Grid columns={[1, null, 2]} gap={2}>
158-
{team.current.filter(m => m.department === "HQ").map(m => (
159-
<Bio
160-
img={m.avatar}
161-
name={m.name}
162-
teamRole={m.role}
163-
text={m.bio}
164-
pronouns={m.pronouns}
165-
/>
166-
))}
167-
{/* <>
168-
<Bio
146+
<Bio
169147
name="Kara Massie"
170148
teamRole="Production Lead"
171149
text="Before joining Hack Club, Kara was a lead producer at Activision, shipping Crash Bandicoot N. Sane Trilogy and Bungie's Destiny 2 expansions. She’s deeply committed to inclusivity in gaming and tech spaces, and is beyond thrilled to be part of an org with kindness at its core. She has lived in 3 countries and names her pets after vegetables."
@@ -287,7 +265,6 @@ export default function Team({ team }) {
287265
href="https://page.devlucas.page"
288266
video="https://www.youtube.com/embed/vuLtlzMMW6o?si=v-Dbn2fSGvTyXlbY"
289267
/>
290-
</> */}
291268
</Grid>
292269
</Box>
293270
</Box>
@@ -715,15 +692,3 @@ When not busy juggling different tasks he takes up, he enjoys tinkering & buildi
715692
</>
716693
)
717694
}
718-
719-
export async function getStaticProps(context) {
720-
const res = await fetch(`https://internal.hackclub.com/team`)
721-
const team = await res.json()
722-
723-
return {
724-
props: {
725-
team
726-
},
727-
revalidate: 10
728-
}
729-
}

0 commit comments

Comments
 (0)