Notes

Since I started working on my personal website in 2023, I've done and built things that I wanted to share, but some of them felt too small or uninteresting for a full blog post. I figured it would be nice to create a place to collect these and that's what this page is for.

I've set up an agent to scan my commits and suggest a note entry whenever I add something "interesting" so it this page should be pretty lively, like a mini-changelog.

  1. Added a new skill: /teardown. It creates a technical illustration of any object. You can switch between expanded and assembled views, change dimensions, recolor or fill parts and download it as an SVG or PNG.

  2. I added a small AI agent to this website. It can answer questions about me, my work and anything from my blog posts. At first I thought it was a bit of a gimmick, but I ended up liking it a lot. If you’re curious about something, feel free to ask it.

  3. I updated the styling of the demo components across the website. The toolbars and footers used to be full-width with a border on top. Now they’re a nested container. I prefer this look way more; it feels cleaner.

  4. Luke (opens in a new tab) showed me Is Your Site Agent-Ready? (opens in a new tab) today and I gotta say it’s pretty cool. As a result, all of the content on this website and all my other projects is now served as markdown to agents.

  5. Added a new skill: /state-machine. It renders every state of a component on a throwaway page and makes it easier to work on them at the same time. I’ve been enjoying working with it a lot for the past few weeks.

  6. I removed dark mode a while ago because I generally prefer light mode and how it looks, I added it again and removed it again. Then I realized that dark mode is more than a visual preference, it’s an accessibility feature in a way, so I brought it back again.

  7. I switched from Biome (opens in a new tab) to Oxlint (opens in a new tab) for linting.

  8. I added remark-smartypants (opens in a new tab) to the MDX pipeline. It lets me write straight quotes like " and ' and they get curled at build time. This is important because when searching for text I’m used to typing straight quotes on my keyboard.

  9. I switched the syntax highlighting themes in the code block component to Pierre’s (opens in a new tab) themes. I use these in my IDE too and they’re great.

    next.config.ts
    import pierreDarkVibrant from "@pierre/theme/pierre-dark-vibrant";
    import pierreLightVibrant from "@pierre/theme/pierre-light-vibrant";
    
    const withMDX = createMDX({
      options: {
        rehypePlugins: [
          [
            "rehype-pretty-code",
            {
              theme: { dark: pierreDarkVibrant, light: pierreLightVibrant },
            },
          ],
        ],
      },
    });