Skip to content

Commit 5dd7c3c

Browse files
committed
chore: eslint issues
1 parent 375d234 commit 5dd7c3c

File tree

99 files changed

+1258
-1361
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+1258
-1361
lines changed

src/2023/Attendee/AttendeeInformation2023.tsx

Lines changed: 38 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
import { FC } from "react";
22
import { Color } from "../../styles/colors";
3-
import styled from "styled-components";
3+
import { styled } from "styled-components";
44
import { BIG_BREAKPOINT } from "../../constants/BreakPoints";
55

66
const PrePartyImg = styled.img`
7-
{
7+
{
88
width: 20vw;
99
border-radius: 3%;
1010
margin: 0.3rem;
1111
padding: 0.2rem;
1212
border: 1px solid ${Color.DARK_BLUE};
1313
transition: 0.5s linear;
14-
}
14+
}
1515
1616
&:hover {
1717
filter: brightness(1.2);
1818
}
1919
`;
2020

2121
const PartyImg = styled.img`
22-
{
22+
{
2323
width: 20vw;
2424
border-radius: 3%;
2525
margin: 0.3rem;
2626
padding: 0.2rem;
2727
border: 1px solid ${Color.SKY_BLUE};
28-
}
28+
}
2929
3030
&:hover {
3131
filter: brightness(1.2);
@@ -43,10 +43,10 @@ const MobileSection = styled.section`
4343
`;
4444

4545
const PrePartySection = styled.section`
46-
{
46+
{
4747
background-color: ${Color.LIGHT_BLUE};
4848
padding: 50px 100px 20px;
49-
}
49+
}
5050
`;
5151

5252
const NetworkingPartySection = styled.section`
@@ -66,15 +66,15 @@ const AttendeeInformation2023: FC<React.PropsWithChildren<unknown>> = () => {
6666
Attendee information
6767
</h1>
6868
<p style={{ margin: "20px" }}>
69-
Here's some important information to get the most of your attendance to
70-
DevBcn 2023.
69+
Here&#39;s some important information to get the most of your attendance
70+
to DevBcn 2023.
7171
</p>
7272
<PrePartySection id="pre-party">
7373
<SectionWrapper>
7474
<h2 style={{ color: Color.DARK_BLUE }}>Pre-Party</h2>
7575
<p style={{ textAlign: "justify", margin: "15px" }}>
76-
We believe that learning and enjoyment go hand in hand. That's why
77-
we have organized a pre-party session sponsored by{" "}
76+
We believe that learning and enjoyment go hand in hand. That&#39;s
77+
why we have organized a pre-party session sponsored by{" "}
7878
<a
7979
target="_blank"
8080
rel="noreferrer noopener"
@@ -86,9 +86,9 @@ const AttendeeInformation2023: FC<React.PropsWithChildren<unknown>> = () => {
8686
<strong>Monday, July 3rd from 19:00 to 20:00</strong>. During this
8787
time, you can unwind, socialize, and have a great time with fellow
8888
participants. Indulge in tasty snacks and beverages while engaging
89-
in friendly games of air hockey and table football. It's a fantastic
90-
opportunity to network, relax, and set the tone for the upcoming
91-
conference. We can't wait to see you there!
89+
in friendly games of air hockey and table football. It&#39;s a
90+
fantastic opportunity to network, relax, and set the tone for the
91+
upcoming conference. We can&#39;t wait to see you there!
9292
</p>
9393
<p>
9494
<PrePartyImg
@@ -137,19 +137,27 @@ const AttendeeInformation2023: FC<React.PropsWithChildren<unknown>> = () => {
137137
<SectionWrapper>
138138
<h2 style={{ color: Color.SKY_BLUE }}>Networking Party</h2>
139139
<p
140-
style={{ color: Color.WHITE, margin: "20px", textAlign: "justify" }}
140+
style={{
141+
color: Color.WHITE,
142+
margin: "20px",
143+
textAlign: "justify",
144+
}}
141145
>
142-
Only for a selected audience, we'll deliver a networking party with
143-
dinner, orchestra, and Karaoke. These tickets will be distributed
144-
among the sponsors, and they are they only ones who can provide you
145-
one, so make sure to contact them at their booth or through the
146-
mobile app throughout the day to get one. They will organize
147-
constests and raffles, so make sure to participate in them all to
148-
increase your chance of attending.
146+
Only for a selected audience, we&#39;ll deliver a networking party
147+
with dinner, orchestra, and Karaoke. These tickets will be
148+
distributed among the sponsors, and they are they only ones who can
149+
provide you one, so make sure to contact them at their booth or
150+
through the mobile app throughout the day to get one. They will
151+
organize constests and raffles, so make sure to participate in them
152+
all to increase your chance of attending.
149153
</p>
150154
<PartyImg src="/images/party/entry-pass.png" alt="party" />
151155
<p
152-
style={{ color: Color.WHITE, margin: "20px", textAlign: "center" }}
156+
style={{
157+
color: Color.WHITE,
158+
margin: "20px",
159+
textAlign: "center",
160+
}}
153161
>
154162
<strong>Monday, July 3rd from 20:00 to 22:00</strong>
155163
</p>
@@ -204,7 +212,13 @@ const AttendeeInformation2023: FC<React.PropsWithChildren<unknown>> = () => {
204212
<p>
205213
Get the most out of the app and have a more productive experience!
206214
</p>
207-
<div style={{ textAlign: "left", fontSize: "14px", clear: "both" }}>
215+
<div
216+
style={{
217+
textAlign: "left",
218+
fontSize: "14px",
219+
clear: "both,
220+
}}
221+
>
208222
{" "}
209223
<div style={{ clear: "both" }}>
210224
{" "}

src/2023/Cfp/CfpSection2023.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import LinkedinIcon from "../../components/Icons/Linkedin";
1616

1717
import conferenceData from "../../data/2023.json";
1818
import { CfpTrackProps, data } from "./CfpData";
19-
import styled from "styled-components";
19+
import { styled } from "styled-components";
2020
import {
2121
StyledAboutImage,
2222
StyledSocialIconsWrapper,

src/2023/Communities/Communities2023.tsx

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { FC } from "react";
2-
import styled from "styled-components";
2+
import { styled } from "styled-components";
33
import TwitterIcon from "../../components/Icons/Twitter";
44
import { Color } from "../../styles/colors";
55
import WebsiteIcon from "../../components/Icons/website";
@@ -116,18 +116,19 @@ const Communities2023: FC<React.PropsWithChildren<unknown>> = () => {
116116
organization, funded by individual donations and corporate
117117
sponsors. Our all-volunteer board oversees more than 350
118118
leading Open Source projects, including Apache HTTP Server --
119-
the world's most popular Web server software. The ASF provides
120-
an established framework for intellectual property and
121-
financial contributions that limits potential legal exposure
122-
for our project committers. Through the ASF's meritocratic
123-
process known as `The Apache Way,`` more than 850 individual
124-
Members and 8,200 Committers successfully collaborate to
125-
develop freely available enterprise-grade software that
126-
benefits millions of users worldwide: projects distribute
127-
thousands of software solutions under the Apache License; and
128-
the community actively participates in ASF mailing lists,
129-
mentoring initiatives, and ApacheCon (the Foundation's
130-
official user conference), trainings, and other events.
119+
the world&#39;s most popular Web server software. The ASF
120+
provides an established framework for intellectual property
121+
and financial contributions that limits potential legal
122+
exposure for our project committers. Through the ASF&#39;s
123+
meritocratic process known as `The Apache Way,`` more than 850
124+
individual Members and 8,200 Committers successfully
125+
collaborate to develop freely available enterprise-grade
126+
software that benefits millions of users worldwide: projects
127+
distribute thousands of software solutions under the Apache
128+
License; and the community actively participates in ASF
129+
mailing lists, mentoring initiatives, and ApacheCon (the
130+
Foundation&#39;s official user conference), trainings, and
131+
other events.
131132
</div>
132133
</div>
133134
</div>
@@ -214,7 +215,7 @@ const Communities2023: FC<React.PropsWithChildren<unknown>> = () => {
214215
</div>
215216
</div>
216217
</FoSS>
217-
<Paragraph>Don't forget to visit them !!!!</Paragraph>
218+
<Paragraph>Don&#39;t forget to visit them !!!!</Paragraph>
218219
</>
219220
);
220221
};

src/2023/Diversity/Diversity2023.tsx

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FC } from "react";
22
import { Color } from "../../styles/colors";
33
import data from "../../data/2023.json";
4-
import styled from "styled-components";
4+
import { styled } from "styled-components";
55
import { BIG_BREAKPOINT } from "../../constants/BreakPoints";
66
import { Link } from "react-router";
77
import {
@@ -12,22 +12,22 @@ import { useDocumentTitleUpdater } from "../../hooks/useDocumentTitleUpdate";
1212

1313
const StyledSection = styled.section`
1414
{
15-
padding-top: 48px;
15+
padding-top: 48px;
1616
}
1717
18-
.top {
19-
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 50px));
20-
height: 51px;
21-
background-color: ${Color.DARK_BLUE};
22-
border-top: 1px solid ${Color.DARK_BLUE};
23-
}
18+
.top {
19+
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 50px));
20+
height: 51px;
21+
background-color: ${Color.DARK_BLUE};
22+
border-top: 1px solid ${Color.DARK_BLUE};
23+
}
2424
25-
.bottom {
26-
clip-path: polygon(0 0, 100% 50px, 100% 100%, 0 100%);
27-
margin-top: -50px;
28-
height: 50px;
29-
background-color: ${Color.WHITE};
30-
}
25+
.bottom {
26+
clip-path: polygon(0 0, 100% 50px, 100% 100%, 0 100%);
27+
margin-top: -50px;
28+
height: 50px;
29+
background-color: ${Color.WHITE};
30+
}
3131
`;
3232

3333
const StyledWave = styled.section`
@@ -38,14 +38,14 @@ const StyledWave = styled.section`
3838

3939
const StyledLogo = styled.img`
4040
{
41-
max-width: 30vw;
42-
flex: 2 1 auto;
43-
padding-bottom: 50px;
41+
max-width: 30vw;
42+
flex: 2 1 auto;
43+
padding-bottom: 50px;
4444
}
45-
@media only screen and (max-width: ${BIG_BREAKPOINT}px) {
46-
padding-bottom: 20px;
47-
max-width: 65vw;
48-
}
45+
@media only screen and (max-width: ${BIG_BREAKPOINT}px) {
46+
padding-bottom: 20px;
47+
max-width: 65vw;
48+
}
4949
`;
5050

5151
const Heading = styled.h1`
@@ -70,16 +70,16 @@ const StyledP = styled.p`
7070

7171
const FlexDiv = styled.div`
7272
{
73-
display: flex;
74-
width: 20%;
75-
margin: 0 auto;
76-
flex-direction: column;
77-
padding-bottom: 20px;
73+
display: flex;
74+
width: 20%;
75+
margin: 0 auto;
76+
flex-direction: column;
77+
padding-bottom: 20px;
7878
}
79-
@media only screen and (max-width: ${BIG_BREAKPOINT}px) {
80-
width: 60%;
81-
padding-bottom: 0.5rem;
82-
}
79+
@media only screen and (max-width: ${BIG_BREAKPOINT}px) {
80+
width: 60%;
81+
padding-bottom: 0.5rem;
82+
}
8383
`;
8484

8585
const StyledParagraph = styled.section`
@@ -192,8 +192,8 @@ const Diversity2023: FC<React.PropsWithChildren<unknown>> = () => {
192192
</div>
193193
<div className="paragraph">
194194
<p>
195-
All applications' information will be kept confidential and
196-
used exclusively for this campaign.
195+
All applications&#39; information will be kept confidential
196+
and used exclusively for this campaign.
197197
</p>
198198
</div>
199199
</div>

src/2023/Home/Home2023Wrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React, { FC } from "react";
33
import Faqs from "./components/Faqs/Faqs";
44
import Home from "./components/Home/Home";
55
import Sponsors from "./components/Sponsors/Sponsors";
6-
import styled from "styled-components";
6+
import { styled } from "styled-components";
77
import data from "../../data/2023.json";
88
import { useLocation } from "react-router";
99
import SpeakersCarousel from "../../components/Swiper/SpeakersCarousel";

src/2023/Home/components/ActionButtons/ActionButtons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { FC, useCallback } from "react";
22
import data from "../../../../data/2023.json";
33
import Button from "../../../../components/UI/Button";
4-
import styled from "styled-components";
4+
import { styled } from "styled-components";
55
import { BIG_BREAKPOINT } from "../../../../constants/BreakPoints";
66
import { gaEventTracker } from "../../../../components/analytics/Analytics";
77
import { useDateInterval } from "../../../../hooks/useDateInterval";

src/2023/Home/components/Faqs/Faqs.style.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import styled from "styled-components";
2-
import {Color} from "../../../../styles/colors";
3-
import {motion} from "framer-motion";
4-
import {BIG_BREAKPOINT} from "../../../../constants/BreakPoints";
1+
import { styled } from "styled-components";
2+
import { Color } from "../../../../styles/colors";
3+
import { motion } from "framer-motion";
4+
import { BIG_BREAKPOINT } from "../../../../constants/BreakPoints";
55

66
export type FaqCardType = {
77
faq: {
@@ -77,7 +77,7 @@ export const StyledFaqCard = styled.div`
7777
}
7878
`;
7979
export const StyledFaqImageContainer = styled.div.withConfig({
80-
shouldForwardProp: (prop) => !['padding'].includes(prop),
80+
shouldForwardProp: (prop) => !["padding"].includes(prop),
8181
})<{ padding: string }>`
8282
position: relative;
8383
@media (min-width: 800px) {

src/2023/Home/components/Home/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
} from "./Style.Home";
2323
import logo from "../../../../assets/images/logo.png";
2424
import ActionButtons from "../ActionButtons/ActionButtons";
25-
import styled from "styled-components";
25+
import { styled } from "styled-components";
2626
import { Color } from "../../../../styles/colors";
2727
import InfoButtons from "../InfoButtons/InfoButtons";
2828
import MultimediaInfoButtons from "../MultimediaInfoButtons/MultimediaInfoButtons";

src/2023/Home/components/Home/Style.Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import styled from "styled-components";
1+
import { styled } from "styled-components";
22
import { Color } from "../../../../styles/colors";
33
import { motion } from "framer-motion";
44
import { BIG_BREAKPOINT } from "../../../../constants/BreakPoints";

src/2023/Home/components/InfoButtons/InfoButtons.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { fireEvent, render, screen } from "@testing-library/react";
22
import ActionButtons from "./InfoButtons";
33
import { gaEventTracker } from "../../../../components/analytics/Analytics";
44

5-
import { vi } from "vitest";
65
import { vi } from "vitest";
76

87
vi.mock("../../../../components/analytics/Analytics", () => ({

0 commit comments

Comments
 (0)