Frameworks
Astro
Build a fast, mostly text-and-image website such as a blog, portfolio, or documentation site.
For a photography portfolio, most visitors just need a page they can read and pictures they can see. Astro can turn your content into finished web pages ahead of time. You can still add interactive features where a visitor needs them.
Make a layout for one photo essay with a title, caption, and image. Use the same layout for a second essay. You can then change the placement of every caption by editing the shared layout once.
- When to use it
- When you build a content site that you want to load fast.
- When to skip it
- If your app has lots of signed-in features. Next.js may fit better.
- What it costs
- Free and open source.
- What you need first
- Node.js, a free program that lets JavaScript run on your computer, and a terminal.
Try it
Run this in a terminal in the folder where you keep your code. A setup wizard walks you through the rest.
Command
npm create astro@latestOfficial pages
Similar options
- Next.js · Build a React website with pages people can visit by link and server code that can fetch the data each page needs.