This is a Next.js project bootstrapped with create-next-app
.
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.
Add a new illustration to /content/illustrations
.
Then run npm run process-images
. This will generate two new versions of the illustration:
- Dark version in
/public/assets/dark-illustrations
- Dynamic version with CSS variables in
/public/assets/illustrations
Use /public/assets/illustrations
for any image to be embedded within an article. Others can be used for SEO images.