Skip to content

Commit 7068bdf

Browse files
committed
fix warnings
1 parent 08ea50b commit 7068bdf

File tree

10 files changed

+36
-14
lines changed

10 files changed

+36
-14
lines changed

data/sf.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ speakers:
2929
twitterLink: AlxSavage
3030
- name: Stephanie Winn
3131
twitterLink: steph_happens
32+
talk: Out of the closet- Building a virtual closet
3233
- mc: true
3334
name: Sara Vieira
3435
twitterLink: NikkitaFTW
@@ -38,5 +39,6 @@ speakers:
3839
twitterLink: radhikamorabia
3940
- name: Lily Scott
4041
twitterLink: suchipi
42+
talk: Presenting and discovering our identities through social software
4143
- name: Nat Alison
4244
twitterLink: tesseralis

src/components/Attendees/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default ({ attendees }) => {
3535

3636
const ghLink = `https://github.com/${cleanGhLink.trim().replace('https://github.com/', '')}`
3737
return (
38-
<li key={a.id}>
38+
<li key={a.ghLink}>
3939
<a href={ghLink} target="_blank" title={a.name} rel="noopener noreferrer">
4040
<img src={`${ghLink}.png?size=50`} alt={a.name} width="50" />
4141
</a>

src/components/Info/Form.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,12 @@ export default ({ onSubmit, city }) => {
9494
</label>
9595
)}
9696

97-
<Button>I AM IN 🎉</Button>
97+
<Button>
98+
I AM IN{' '}
99+
<span role="img" aria-label="Party">
100+
🎉
101+
</span>
102+
</Button>
98103
</Form>
99104
)
100105
}

src/components/Info/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ export default ({ site, city, info, attendeesNumber }) => {
1717
info.rsvpsClosed ||
1818
isPast(parse(info.date))
1919

20-
console.log(attendeesNumber >= info.maxCapacity, info.rsvpsClosed || isPast(parse(info.date)))
21-
2220
return (
2321
<>
2422
<Info>

src/components/Speakers/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Speakers = ({ noSpeak, speakers, cfp }) => {
1818
{speakers.map(human => (
1919
<ListItem
2020
talk={human.talk}
21-
key={human.id}
21+
key={human.twitterLink}
2222
data-tooltip={`I'm speaking about ${human.talk}!`}
2323
>
2424
<UnstyledLink
@@ -34,7 +34,7 @@ const Speakers = ({ noSpeak, speakers, cfp }) => {
3434
width="240"
3535
height="240"
3636
src={`https://avatars.io/twitter/${human.twitterLink}`}
37-
alt={human.name}
37+
alt={`${human.name} photo`}
3838
/>
3939
</SpeakerPhoto>
4040
<Unstyled>{human.name}</Unstyled>

src/components/Sponsors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default ({ sponsors }) => {
2828
return (
2929
<Grid>
3030
{sponsors.map(sponsor => (
31-
<li>
31+
<li key={sponsor.name}>
3232
<a target="_blank" title={sponsor.name} href={sponsor.link} rel="noopener noreferrer">
3333
<SponsorImage src={sponsor.media} alt={sponsor.name} />
3434
</a>

src/components/header/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const Header = ({ siteTitle }) => (
2222
<Subtitle>A meetup for everyone where Queer Speakers take the stage</Subtitle>
2323
<NavRow>
2424
<LogoWrap>
25-
<Logo irrelevant src={text} />
25+
<Logo irrelevant alt="" src={text} />
2626
<RainbowWithClicker stripes={['red']}>
2727
<Logo src={logo} alt="Queer JS" />
2828
</RainbowWithClicker>

src/pages/_main.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Main = ({ city, attendees }) => {
1818
title={`QueerJS - ${info.city}`}
1919
description={'A meetup for everyone where Queer Speakers take the stage'}
2020
/>
21-
<main>
21+
<section>
2222
<Heading sub="queerjs @">{info.city}</Heading>
2323
<Info attendeesNumber={attendees.length} site={site} info={info} city={info.link} />
2424
<Panel heading="What?">
@@ -29,7 +29,12 @@ const Main = ({ city, attendees }) => {
2929
This meetup exists to give a voice to everyone, to make a safe space where everyone is
3030
welcome.
3131
</p>
32-
<p>Join us! There will be food and stickers 🌈</p>
32+
<p>
33+
Join us! There will be food and stickers{' '}
34+
<span role="img" aria-label="Queer Rainbow">
35+
🌈
36+
</span>
37+
</p>
3338
</Panel>
3439
<Panel heading="Speakers">
3540
<Speakers cfp={site.cfp} speakers={speakers.filter(s => !s.mc)} />
@@ -46,7 +51,7 @@ const Main = ({ city, attendees }) => {
4651
<Panel heading="Sponsors">
4752
<Sponsors sponsors={sponsors} />
4853
</Panel>
49-
</main>
54+
</section>
5055
<Panel heading="Special Thanks">
5156
<Thanks
5257
organizers={organizers}

src/pages/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ const IndexPage = ({ data: { allEvent } }) => {
3030
This meetup exists to give a voice to everyone, to make a safe space where everyone is
3131
welcome.
3232
</LargeParagraph>
33-
<LargeParagraph>Join us! There will be food and stickers 🌈</LargeParagraph>
33+
<LargeParagraph>
34+
Join us! There will be food and stickers{' '}
35+
<span role="img" aria-label="Queer Rainbow">
36+
🌈
37+
</span>
38+
</LargeParagraph>
3439
</Panel>
3540
{futureMeetups.length ? (
3641
<Panel wide heading="Upcoming meetups">

src/pages/speak.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ export default () => {
1919
<h1 hidden>Welcome to {site.title}</h1>
2020
<Panel heading="Speaking at QueerJS">
2121
First of all, thank you for thinking about submitting a talk to an upcoming QueerJS event.
22-
We're happy you're here 🌈
22+
We're happy you're here{' '}
23+
<span role="img" aria-label="Queer Rainbow">
24+
🌈
25+
</span>
2326
</Panel>
2427
<Panel heading="How do I submit a talk?">
2528
Click the shiny button at the bottom! That will lead you to our GitHub repo and from
@@ -66,7 +69,11 @@ export default () => {
6669
present, please let us know so we can adjust the schedule or coordinate with the venue.
6770
</Panel>
6871
<Panel heading="Where does QueerJS happen?">
69-
We have a bunch of meetups being planned all over the globe 🌍 You can check the{' '}
72+
We have a bunch of meetups being planned all over the globe{' '}
73+
<span role="img" aria-label="earth">
74+
🌍
75+
</span>{' '}
76+
You can check the{' '}
7077
<a
7178
href="https://queerjs.com/"
7279
title="QueerJS website"

0 commit comments

Comments
 (0)