diff --git a/src/components/Link.astro b/src/components/Link.astro new file mode 100644 index 0000000..a4f39b2 --- /dev/null +++ b/src/components/Link.astro @@ -0,0 +1,5 @@ +--- +const { href } = Astro.props; +--- + + diff --git a/src/components/Prose.astro b/src/components/Prose.astro index f0f7e73..07b52c8 100644 --- a/src/components/Prose.astro +++ b/src/components/Prose.astro @@ -1,5 +1,4 @@ --- +import styles from "../styles/Blog.module.css"; --- -
- -
+
diff --git a/src/components/SubtitledHeading.astro b/src/components/SubtitledHeading.astro index acc9aee..404f8e2 100644 --- a/src/components/SubtitledHeading.astro +++ b/src/components/SubtitledHeading.astro @@ -1,8 +1,12 @@ --- +import { Show } from "solid-js" + const { heading, subtitle } = Astro.props ---

{heading}

-

{subtitle}

+ +

{subtitle}

+
diff --git a/src/layouts/Blog.astro b/src/layouts/Blog.astro new file mode 100644 index 0000000..9951d4b --- /dev/null +++ b/src/layouts/Blog.astro @@ -0,0 +1,14 @@ +--- +import Layout from "./Layout.astro"; +import SubtitledHeading from "../components/SubtitledHeading.astro"; +import Prose from "../components/Prose.astro"; + +const { frontmatter } = Astro.props +--- + + + + + + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 3c86886..564a8bb 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,7 +1,6 @@ --- import "../styles/global.css"; import NavButton from "../components/NavButton.astro"; -import Prose from "../components/Prose.astro"; const { title } = Astro.props; @@ -22,12 +21,11 @@ const isHome = Astro.url.pathname === "/"; {title ? `${title} - Andrew Brower` : "Andrew Brower"} - - +
@@ -37,9 +35,7 @@ const isHome = Astro.url.pathname === "/";
- - - +
diff --git a/src/pages/index.mdx b/src/pages/index.mdx index 8ddbec9..998f96c 100644 --- a/src/pages/index.mdx +++ b/src/pages/index.mdx @@ -1,21 +1,46 @@ --- -layout: "../layouts/Layout.astro" +layout: "../layouts/Blog.astro" +title: Andrew Brower +description: Software Engineer --- -import SubtitledHeading from "../components/SubtitledHeading.astro"; +import Link from "../components/Link.astro"; import NowPlaying from "../components/NowPlaying.tsx"; - - -
- -
+ -I'm **Andrew**, a software engineer based in **North Carolina**. +Hi! I'm **Andrew**, a software engineer based in **North Carolina**. I specialize in **systems** and **web development** and I'm skilled in lots of languages, including **Rust**, **TypeScript**, **Go**, and **Kotlin**. -Check out my [**GitHub**](https://github.com/bigspeedfpv) to see some of my projects! +Check out my **GitHub** to see some of my projects! + +# Contact Me +Email: [bigspeedfpv@gmail.com](mailto:bigspeedfpv@gmail.com) \ +Discord: @us.east.1 + +# Some facts about me +- I'm a mostly self-taught developer. + - In my free time, I like learning new languages. + - Functional languages are my current obsession; Rust and OCaml are some of my favorites. + - Most of my personal projects are made to teach myself how to use new tech. + - Recently, I've been playing with **Gleam**. It's powering this site's Spotify widget! +- I enjoy reimplementing things in novel ways. + - Check out **Crawlspace**, a scriptable Minecraft server I'm working on. + - Tools that make games more fun are my favorites to work on. +- I race FPV drones. **Here's a video**! + - I've placed within the top 20 pilots at major events like MultiGP IO 2025. + - I'm also trying to get into freestyle and cinematic flying. -Recently, I've been playing with [**Gleam**](https://gleam.run), a strongly-typed -functional language that runs on the Erlang VM. It's powering this site's Spotify widget. +# ...and some opinions +- Programming should be enjoyable + - Development environments matter for productivity + - ...but there's no "correct" setup +- Everyone should try functional programming + - Even if you don't stick with it, it'll change your thought process +- It's okay to be unsure - it builds critical thinking +- AI is an aid for engineers, not a replacement + - It's not your friend, either + - Relying on it to think for you will only make your life harder + - Knowing how to research is more necessary now than ever +- Trans rights are human rights 🏳️‍⚧️ diff --git a/src/styles/Blog.module.css b/src/styles/Blog.module.css new file mode 100644 index 0000000..cea5365 --- /dev/null +++ b/src/styles/Blog.module.css @@ -0,0 +1,44 @@ +@reference "../styles/global.css"; + +.prose { + @apply text-black dark:text-zinc-100/80; +} + +.prose p { + @apply my-3; +} + +.prose strong, +.prose h1, +.prose h2, +.prose h3 { + @apply font-bold text-black dark:text-zinc-100/90; +} + +.prose h1 { + @apply text-2xl mt-8 mb-4; +} + +.prose h2 { + @apply text-xl mt-6 mb-4; +} + +.prose h3 { + @apply text-lg mt-6 mb-4; +} + +.prose ul { + @apply list-disc; +} + +.prose li+li { + @apply mt-1; +} + +.prose li>ul { + @apply pl-6 mt-1; +} + +.prose a { + @apply underline hover:decoration-2; +} \ No newline at end of file diff --git a/src/styles/global.css b/src/styles/global.css index 913951c..90a2706 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1,5 +1,4 @@ @import "tailwindcss"; -@plugin '@tailwindcss/typography'; @theme { --breakpoint-xs: 28rem;