Skip to content

Commit 0da7db4

Browse files
committed
about me
1 parent 61677e0 commit 0da7db4

File tree

10 files changed

+89
-6
lines changed

10 files changed

+89
-6
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.about {
2+
color: var(--color-light);
3+
line-height: 28px;
4+
}

src/components/AboutMe/AboutMe.tsx

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import * as React from "react"
2+
import * as styles from "./AboutMe.module.css"
3+
import Link from "../Link/Link"
4+
5+
const AboutMe = () => {
6+
return (
7+
<div className={styles.about}>
8+
<p>
9+
Hi! I'm Pablo Androetto, and for over 10 years, I've been building,
10+
experimenting, and bringing ideas to life.
11+
</p>
12+
<p>
13+
Since childhood, I've been passionate about technology, starting by
14+
creating simple games, graphic and web design, tinkering with
15+
electronics, embedded systems, and reverse engineering. Over time, I
16+
realized that what I really love is to create software that solves real
17+
problems.
18+
</p>
19+
<p>
20+
I firmly believe that no matter how complex a problem is, the best
21+
solution is always the simplest one. Finding it is not always easy, but
22+
that's the part I enjoy the most.
23+
</p>
24+
<p>
25+
On this website, I share my experiences, projects, and technical
26+
explorations. If you're curious about what I do, check out my{" "}
27+
<Link to="/blog">blog</Link>, where I document my work, insights,
28+
experiments, and beyond.
29+
</p>
30+
</div>
31+
)
32+
}
33+
34+
export default AboutMe
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.container {
2+
max-width: 1100px;
3+
width: 100%;
4+
padding: 0 24px;
5+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import * as React from "react"
2+
import * as styles from "./Container.module.css"
3+
4+
interface ContainerProps {
5+
children: React.ReactNode | React.ReactNode[]
6+
}
7+
8+
const Container = ({ children }: ContainerProps) => {
9+
return <div className={styles.container}>{children}</div>
10+
}
11+
12+
export default Container

src/components/Layout/Layout.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@
1111
background-size: 1440px 280px, auto, auto;
1212
min-height: 100%;
1313
background-blend-mode: normal, luminosity, normal;
14+
display: flex;
15+
justify-content: center;
1416
}

src/components/Layout/Layout.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Link } from "gatsby"
22
import * as React from "react"
33
import * as styles from "./Layout.module.css"
44
import Navbar from "../Navbar/Navbar"
5+
import Container from "../Container/Container"
56

67
interface LayoutProps {
78
location: Location
@@ -15,8 +16,10 @@ const Layout = ({ location, title, children }: LayoutProps) => {
1516

1617
return (
1718
<div className={styles.wrapper} data-is-root-path={isRootPath}>
18-
<Navbar location={location} />
19-
<main>{children}</main>
19+
<Container>
20+
<Navbar location={location} />
21+
<main>{children}</main>
22+
</Container>
2023
</div>
2124
)
2225
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.section {
2+
3+
}

src/components/Section/Section.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import * as React from "react"
2+
import * as styles from "./Section.module.css"
3+
4+
const Section = () => {
5+
return (
6+
<div className={styles.section}>
7+
8+
</div>
9+
)
10+
}
11+
12+
export default Section

src/global.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ body,
1919

2020
/* Palette */
2121
--color-white: #fff;
22-
--color-dark: hsl(var(--color-hue), calc(var(--color-lightness) * 0.17), calc(var(--color-lightness) * 0.18));
23-
--color-light: hsl(var(--color-hue), calc(var(--color-lightness) * 0.11), calc(var(--color-lightness) * 1.52));
22+
--color-dark: hsl(var(--color-hue), calc(var(--color-saturation) * 0.17), calc(var(--color-lightness) * 0.18));
23+
--color-light: hsl(var(--color-hue), calc(var(--color-saturation) * 0.11), calc(var(--color-lightness) * 1.26));
2424
--color-primary: hsl(var(--color-base-primary));
25-
--color-secondary: hsl(var(--color-hue), calc(var(--color-lightness) * 0.23), calc(var(--color-saturation) * 0.62))
25+
--color-secondary: hsl(var(--color-hue), calc(var(--color-saturation) * 0.23), calc(var(--color-lightness) * 0.62))
2626
}
2727

2828
body {

src/pages/index.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Link, graphql } from "gatsby"
44
import Seo from "../components/Seo/Seo"
55
import Layout from "../components/Layout/Layout"
66
import Bio from "../components/Bio/Bio"
7+
import AboutMe from "../components/AboutMe/AboutMe"
78

89
interface BlogIndexProps {
910
data: {
@@ -59,6 +60,7 @@ const BlogIndex = ({ data, location }: BlogIndexProps) => {
5960
return (
6061
<Layout location={location} title={siteTitle}>
6162
<Bio />
63+
<AboutMe />
6264
<ol style={{ listStyle: `none` }}>
6365
{posts.map(post => {
6466
const title = post.frontmatter.title || post.fields.slug
@@ -77,7 +79,13 @@ const BlogIndex = ({ data, location }: BlogIndexProps) => {
7779
</Link>
7880
</h2>
7981
<small>{post.frontmatter.date}</small>
80-
<img src={post.frontmatter.thumbnail.childImageSharp.gatsbyImageData.images.fallback.src} alt={title} />
82+
<img
83+
src={
84+
post.frontmatter.thumbnail.childImageSharp.gatsbyImageData
85+
.images.fallback.src
86+
}
87+
alt={title}
88+
/>
8189
</header>
8290
<section>
8391
<p

0 commit comments

Comments
 (0)