Skip to content

Conversation

@HaudinFlorence
Copy link
Member

@HaudinFlorence HaudinFlorence commented Jun 19, 2025

Add a js script to resize the pictures for the blogposts page at start or build time, to avoid to download full size images.
Add the script in the package.json as prestart and prebuild scripts.
Update blogpostsDetails.json and BlogpostCard.tsx.
Remove obsolete or unused scripts and yml file.
Should fix issue #207.

@vercel
Copy link

vercel bot commented Jun 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quantstack-github-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2025 10:07am

@SylvainCorlay
Copy link
Member

Do we need to check in the resized images?

Add the script in the package.json as prestart and prebuild.
Update blogpostsDetails.json and BlogpostCard.tsx.
Remove unused or obsolote files in src/components/blog.
Remove gif files and replace them by png images.
Convert svg images to png ones.
Add static/img/blogposts/resized-images to .gitignore.
@HaudinFlorence
Copy link
Member Author

Do we need to check in the resized images?

No. You are right. They have been removed.

Re add missing image for collaborative GIS blog post.
Place the 2 images for the last 2 added blogs at the right place and remove old unnecessary size informations in blogpostsDetails.json.
@HaudinFlorence HaudinFlorence merged commit 4ecfe34 into QuantStack:master Jun 26, 2025
4 checks passed
@HaudinFlorence HaudinFlorence deleted the resize_blogposts_images branch September 16, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants