First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
- Install Next.js
- Install Sanity
- Add post in Sanity Studio
- Add Sanity fetch function and groq queries
- Get and display posts
- Get and display content of each post
- Install and apply Tailwind CSS Typography Plugin
- Add extra fields to the Sanity studio
- Make more customised queries
- Alternative way to fetch and display images
- Apply CSS to blog