Skip to content

Commit fff60ed

Browse files
committed
add about me page
1 parent f96d4dd commit fff60ed

File tree

6 files changed

+117
-2
lines changed

6 files changed

+117
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"dependencies": {
1313
"@astrojs/tailwind": "^5.0.4",
1414
"@igor.dvlpr/astro-post-excerpt": "^2.1.0",
15+
"@tailwindcss/typography": "^0.5.10",
1516
"astro": "^4.0.7",
1617
"mdast-util-to-string": "^4.0.0",
1718
"reading-time": "^1.5.0",

pnpm-lock.yaml

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Markdown.astro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div
2+
class="prose prose-lg prose-sky dark:prose-invert prose-pre:rounded-none prose-pre:md:rounded-md prose-pre:-mx-4 prose-pre:px-4 prose-pre:py-2 prose-pre:md:mx-0 prose-pre:md:p-0"
3+
>
4+
<slot />
5+
</div>

src/layouts/MarkdownPageLayout.astro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
import type { MarkdownLayoutProps } from 'astro'
3+
import PageTitle from '../components/PageTitle.astro'
4+
import Markdown from '../components/Markdown.astro'
5+
import Layout from './Layout.astro'
6+
7+
type Props = MarkdownLayoutProps<{
8+
title: string
9+
}>
10+
11+
const {
12+
frontmatter: { title },
13+
} = Astro.props
14+
---
15+
16+
<Layout title={title}>
17+
<PageTitle>{title}</PageTitle>
18+
<Markdown>
19+
<slot />
20+
</Markdown>
21+
</Layout>

src/pages/about.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: ../layouts/MarkdownPageLayout.astro
3+
title: About Me
4+
---
5+
6+
Hi there! 👋 My name is Ray Gesualdo. I'm a software engineer based out of Atlanta, Georgia where I live with my wife, our two children, and our dog.
7+
8+
I've been working with the web for over 15 years. In that time, I've had the opportunity to serve in a variety of roles. With those roles has come a variety of work including e-learning content development, LMS systems implementations, medium-scale WordPress multi-site installs and deployments, WordPress custom plugin development, bespoke website development, full-stack JavaScript and Elixir application development, design systems, frontend architecture and framework migration, and developer tooling and enablement.
9+
10+
As a [community-taught](/talks#reconfiguring-our-mindset-from-self-taught-to-community-taught) individual, I am passionate about giving back to the community and seeing others succeed. I am a perennial conference speaker, mentor to early career engineers, and teacher. When I'm not working, I enjoy reading good books, watching great movies and TV shows, geeking out over a variety of geeky things, and spending time with my family.

tailwind.config.mjs

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import typography from '@tailwindcss/typography'
2+
13
/** @type {import('tailwindcss').Config} */
24
export default {
35
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
@@ -7,7 +9,52 @@ export default {
79
display: 'Montserrat, sans-serif',
810
body: 'Georgia, Cambria, serif',
911
},
10-
extend: {},
12+
extend: {
13+
typography: (theme) => ({
14+
lg: {
15+
css: {
16+
blockquote: {
17+
paddingLeft: null,
18+
},
19+
pre: {
20+
paddingTop: null,
21+
paddingBottom: null,
22+
paddingLeft: null,
23+
paddingRight: null,
24+
},
25+
},
26+
},
27+
DEFAULT: {
28+
css: {
29+
color: null,
30+
'h1, h2, h3, h4, h5, h6': {
31+
color: theme('colors.red.500'),
32+
fontFamily: theme('fontFamily.display'),
33+
},
34+
code: {
35+
fontStyle: 'normal',
36+
fontWeight: 'normal',
37+
},
38+
'code::before': {
39+
content: 'none',
40+
},
41+
'code::after': {
42+
content: 'none',
43+
},
44+
blockquote: null,
45+
'blockquote p': {
46+
margin: '0 !important',
47+
},
48+
'figure figcaption': {
49+
color: null,
50+
},
51+
summary: {
52+
cursor: 'pointer',
53+
},
54+
},
55+
},
56+
}),
57+
},
1158
},
12-
plugins: [],
59+
plugins: [typography],
1360
}

0 commit comments

Comments
 (0)