This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
npm run dev- Start local dev server at localhost:4321npm run build- Run type checking and build to./dist/just run- Alias fornpm run dev
This is a personal website (dmeh.net) built with Astro 4 and Tailwind CSS.
Layout structure:
src/layouts/BaseLayout.astro- Main layout with Nav, uses Inter fontsrc/layouts/MarkdownPostLayout.astro- Layout for markdown blog posts
Pages:
src/pages/index.astro- Homepagesrc/pages/writing.astro- Blog post listingsrc/pages/books.astro- Book listsrc/pages/posts/- Markdown blog posts
Components:
src/components/Nav.astro- Navigation sidebarsrc/components/NavLink.astro- Styled nav links
Uses Prettier with prettier-plugin-astro for .astro files.