Skip to content

devth/devth.com

Repository files navigation

devth.com

Requirements

  • Write posts in markdown. Solved via MDX.
  • Ability to render React components in posts. Solved via MDX.
  • Respect system dark / light mode. Solved via MUI.
  • Server side rendering (or static export). Solved via Next.js.
  • Super fast. Solved via Next.js client side routing and Vercel hosting.
  • Default branch deploys to production automatically. Solved via Vercel. We also get preview deploys for PRs!
  • Shift-K to nav to any page
  • Automatic ToC generation
  • Headers create hash links to auto link within posts
  • Animated page transitions
  • Preserve the old blog routes which included year in the URL, e.g. https://devth.com/2015/thrush-cond-is-not-a-monad. Solved via Next.js URL redirects.
  • Automatic deploys (via Vercel and GitHub Actions)
  • Automatic dependency upgrades (via dependabot)