Skip to content

Commit 6969c65

Browse files
committed
Revert "add March 2022 event and update Discord Invite link"
This reverts commit 27e7e22.
1 parent 8239b24 commit 6969c65

File tree

5 files changed

+10
-78
lines changed

5 files changed

+10
-78
lines changed

data/online-2022-march.yaml

-64
This file was deleted.

netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
[[redirects]]
55
from = "/discord"
6-
to = "https://discord.gg/pkUr62MvKD"
6+
to = "https://discord.gg/wGpgHrsW3Q"

src/components/Sponsors.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const Grid = styled.ul`
1414
}
1515
1616
li {
17-
background: ${(props) => props.theme.boldAqua};
17+
background: ${props => props.theme.boldAqua};
1818
padding: 20px;
1919
display: flex;
2020
align-items: center;
@@ -29,10 +29,9 @@ const SponsorImage = styled.img`
2929
`
3030

3131
export default ({ sponsors }) => {
32-
if (!sponsors) return <></>
3332
return (
3433
<Grid>
35-
{sponsors.map((sponsor) => (
34+
{sponsors.map(sponsor => (
3635
<li key={sponsor.name}>
3736
<a target="_blank" title={sponsor.name} href={sponsor.link} rel="noopener noreferrer">
3837
<SponsorImage src={sponsor.media} alt={sponsor.name} />

src/pages/_main.js

+6-9
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,22 @@ const Main = ({ city, attendees }) => {
4040

4141
{speakers.length > 0 || site.cfp ? (
4242
<Panel heading="Speakers">
43-
<Speakers cfp={site.cfp} speakers={speakers.filter((s) => !s.mc)} />
43+
<Speakers cfp={site.cfp} speakers={speakers.filter(s => !s.mc)} />
4444
</Panel>
4545
) : null}
46-
{speakers.filter((s) => s.mc).length ? (
46+
{speakers.filter(s => s.mc).length ? (
4747
<Panel heading="MC">
48-
<Speakers noSpeak cfp={site.cfp} speakers={speakers.filter((s) => s.mc)} />
48+
<Speakers noSpeak cfp={site.cfp} speakers={speakers.filter(s => s.mc)} />
4949
</Panel>
5050
) : null}
5151
{!site.rsvpLink ? (
5252
<Panel heading={`Attendees (${attendees.length})`}>
5353
<Attendees attendees={attendees} />
5454
</Panel>
5555
) : null}
56-
{sponsors && (
57-
<Panel heading="Sponsors">
58-
<Sponsors sponsors={sponsors} />
59-
</Panel>
60-
)}
61-
56+
<Panel heading="Sponsors">
57+
<Sponsors sponsors={sponsors} />
58+
</Panel>
6259
{mainOrganizer && mainOrganizer.length > 0 ? (
6360
<Panel heading={mainOrganizer.length > 1 ? 'Organizers' : 'Organizer'}>
6461
<Organizers organizers={mainOrganizer} />

src/templates/city.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const query = graphql`
4040
calendarLink
4141
# rsvpLink
4242
cfp
43-
customDescription
43+
# customDescription
4444
}
4545
announcement {
4646
heading

0 commit comments

Comments
 (0)