Skip to content

Commit 1a4b8b4

Browse files
💄 feat(pages/about): better buttons UI
1 parent 36e159b commit 1a4b8b4

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

src/content/misc/life.mdx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ classmates and ever since I was a speaker at the many meetups I attended.
1919
I've now delivered dozens of talks on topics including JavaScript/TypeScript,
2020
React, Performance, Programming Languages, and more.
2121

22-
## Traveling
23-
24-
As I started working as a remote developer, in late 2017, besides exploring a
25-
lot more Brazil, I decided to travel and live a little around the world for a
26-
while – not staying for too long on any city.
27-
28-
In 2019, my wife and I moved to Prague, Czech Republic 🇨🇿.
29-
3022
## Other Stuff
3123

3224
Here are some random fun facts, unique things about me and activities I love:
@@ -40,5 +32,3 @@ Here are some random fun facts, unique things about me and activities I love:
4032
- Finding new places to watch the sunset 🌇
4133
- Gathering friends and family by the beach 🏖️
4234
- Being #1 fan of my lovely wife, Jheniffer 💑
43-
44-
The rest is history!

src/pages/about/index.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { InferGetStaticPropsType, NextPage } from 'next';
22
import { NextSeo as Metadata } from 'next-seo';
3-
import { FaHammer, FaLaptopCode } from 'react-icons/fa';
3+
import { FaHammer, FaLaptopCode, FaPlane } from 'react-icons/fa';
44
import { GiCardRandom, GiTakeMyMoney } from 'react-icons/gi';
55

66
import { Routes, siteMetadata } from 'config/constants';
@@ -130,10 +130,13 @@ 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="flex flex-col gap-2 md:flex-row md:gap-2">
133+
<div className="grid sm:grid-cols-2 grid-cols-1 gap-2">
134134
<ButtonLink href={`/${Routes.life}`} icon={<GiCardRandom aria-hidden />}>
135135
Life
136136
</ButtonLink>
137+
<ButtonLink href={`/${Routes.traveling}`} icon={<FaPlane aria-hidden />}>
138+
Traveling
139+
</ButtonLink>
137140
<ButtonLink href={`/${Routes.experience}`} icon={<FaLaptopCode aria-hidden />}>
138141
Experience
139142
</ButtonLink>

src/pages/about/traveling.tsx

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

7575
<SectionContainer className="prose dark:prose-invert">
7676
<Typography.p>
77-
As I started working as a remote developer, in late 2017, besides exploring a lot more Brazil, I decided to
78-
travel and live a little around the world for a while – not staying for too long on any city.
77+
Since becoming a remote developer in late 2017, I’ve embraced the freedom of working from anywhere, which
78+
sparked my passion for traveling. I began by exploring more of Brazil, and soon after, I took the leap to
79+
live and travel around the world, immersing myself in different cultures without lingering too long in any
80+
one place.
81+
</Typography.p>
82+
<Typography.p>
83+
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!
7985
</Typography.p>
80-
<Typography.p>In 2019, my wife and I moved to Prague, Czech Republic.</Typography.p>
8186
</SectionContainer>
8287

8388
<SectionContainer className="prose dark:prose-invert">

src/pages/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ import { NextPage } from 'next';
22

33
import { siteMetadata, socialNetworks } from 'config/constants';
44

5+
import ForbesCurrencyConverter from 'services/providers/forbes-currency-converter';
6+
57
import Badge from 'components/shared/badge';
68
import ButtonLink from 'components/shared/button-link';
79
import SectionContainer from 'components/shared/section-container';
810
import Typography from 'components/shared/typography';
911

1012
import Layout from 'components/layouts/page';
11-
import ForbesCurrencyConverter from 'services/providers/forbes-currency-converter';
1213

1314
// ---------------------------------------------------------------------------
1415
// NEXT
@@ -17,7 +18,7 @@ import ForbesCurrencyConverter from 'services/providers/forbes-currency-converte
1718
const currencyServiceInstance = ForbesCurrencyConverter.getInstance();
1819

1920
export async function getStaticProps() {
20-
await currencyServiceInstance.generateCurrencyTable()
21+
await currencyServiceInstance.generateCurrencyTable();
2122
return {
2223
props: {},
2324
};

0 commit comments

Comments
 (0)