Skip to content

Commit 3a3ecb8

Browse files
chore(app): lint
1 parent c936a21 commit 3a3ecb8

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/components/pages/about/flight-map.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ interface MapProps {
6161
function Map({ flights, airports, isDarkMode }: MapProps) {
6262
const [hoveredFlight, setHoveredFlight] = useState<number | null>(null);
6363
return (
64-
<MapContainer center={[20, 0]} zoom={2} className="absolute inset-0 w-full h-full">
64+
<MapContainer center={[20, 0]} zoom={2} className="absolute inset-0 h-full w-full">
6565
<TileLayer
6666
url={getTileUrl(isDarkMode)}
6767
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
@@ -105,7 +105,7 @@ function Map({ flights, airports, isDarkMode }: MapProps) {
105105
fillOpacity={1}
106106
>
107107
<TooltipContainer
108-
className="absolute inset-0 w-full h-full"
108+
className="absolute inset-0 h-full w-full"
109109
direction="auto"
110110
offset={[0, -5]}
111111
opacity={1}
@@ -141,9 +141,9 @@ export default function FlightMap({ flights, airlines, airports }: FlightMapProp
141141
const filteredFlights = selectedAirline ? flights.filter((flight) => flight.airline === selectedAirline) : flights;
142142

143143
return (
144-
<div className="w-full flex flex-col">
144+
<div className="flex w-full flex-col">
145145
<div className="p-4">
146-
<div className="container mx-auto flex flex-col sm:flex-row items-start sm:items-center justify-between space-y-4 sm:space-y-0 sm:space-x-4">
146+
<div className="container mx-auto flex flex-col items-start justify-between space-y-4 sm:flex-row sm:items-center sm:space-x-4 sm:space-y-0">
147147
<div className="flex items-center space-x-4">
148148
<AirlineSelector
149149
airlines={airlines}
@@ -164,7 +164,7 @@ export default function FlightMap({ flights, airlines, airports }: FlightMapProp
164164
</div>
165165
</div>
166166
</div>
167-
<div className="relative h-[60vh] w-full mt-4 rounded-lg overflow-hidden shadow-lg">
167+
<div className="relative mt-4 h-[60vh] w-full overflow-hidden rounded-lg shadow-lg">
168168
<Map flights={filteredFlights} airports={airports} isDarkMode={isDarkMode} />
169169
</div>
170170
</div>

src/components/shared/section-cover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const SectionCover: FunctionComponent<PropsWithChildren<SectionCoverProps
1616
width={700}
1717
height={475}
1818
sizes="100vw"
19-
className="w-full aspect-video object-cover rounded-lg grayscale hover:grayscale-0"
19+
className="aspect-video w-full rounded-lg object-cover grayscale hover:grayscale-0"
2020
/>
2121
);
2222
};

src/pages/about/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const Page: NextPage<PageProps> = ({ openGraphImage }) => {
130130
Curious to know further details about the stuff I mentioned above? I keep some pages updated with these!
131131
</Typography.p>
132132

133-
<div className="grid sm:grid-cols-2 grid-cols-1 gap-2">
133+
<div className="grid grid-cols-1 gap-2 sm:grid-cols-2">
134134
<ButtonLink href={`/${Routes.life}`} icon={<GiCardRandom aria-hidden />}>
135135
Life
136136
</ButtonLink>

src/pages/about/traveling.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ const Page: NextPage<PageProps> = ({ openGraphImage, flights, airlines, airports
7474

7575
<SectionContainer className="prose dark:prose-invert">
7676
<Typography.p>
77-
Since becoming a remote developer in late 2017, I’ve embraced the freedom of working from anywhere, which
77+
Since becoming a remote developer in late 2017, {`I've`} embraced the freedom of working from anywhere, which
7878
sparked my passion for traveling. I began by exploring more of Brazil, and soon after, I took the leap to
7979
live and travel around the world, immersing myself in different cultures without lingering too long in any
8080
one place.
8181
</Typography.p>
8282
<Typography.p>
8383
In 2019, my wife and I made a significant move to Prague, Czech Republic, marking the start of an exciting
84-
new chapter in our journey. The world is vast, and we're determined to see it all!
84+
new chapter in our journey. The world is vast, and {`we're`} determined to see it all!
8585
</Typography.p>
8686
</SectionContainer>
8787

0 commit comments

Comments
 (0)