Skip to content

Conversation

@KyleAMathews
Copy link
Contributor

Use @unpic/vue with background="auto" for blur-up placeholder effect on blog post images. This prevents layout shift when visiting posts by displaying a low-res placeholder while the full image loads.

  • Install @unpic/vue package
  • Update BlogPostHeader.vue to use unpic Image component
  • Update BlogPostListing.vue to use unpic Image component
  • Remove unused netlify-images.ts utility (social meta images use inline implementation in config.mts)

Use @unpic/vue with background="auto" for blur-up placeholder effect
on blog post images. This prevents layout shift when visiting posts
by displaying a low-res placeholder while the full image loads.

- Install @unpic/vue package
- Update BlogPostHeader.vue to use unpic Image component
- Update BlogPostListing.vue to use unpic Image component
- Remove unused netlify-images.ts utility (social meta images
  use inline implementation in config.mts)
@codecov
Copy link

codecov bot commented Dec 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.76%. Comparing base (f6e7c75) to head (be43759).
⚠️ Report is 7 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3637   +/-   ##
=======================================
  Coverage   87.76%   87.76%           
=======================================
  Files          18       18           
  Lines        1676     1676           
  Branches      424      429    +5     
=======================================
  Hits         1471     1471           
  Misses        203      203           
  Partials        2        2           
Flag Coverage Δ
packages/experimental 87.73% <ø> (ø)
packages/react-hooks 86.48% <ø> (ø)
packages/typescript-client 93.66% <ø> (ø)
packages/y-electric 56.05% <ø> (ø)
typescript 87.76% <ø> (ø)
unit-tests 87.76% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@netlify
Copy link

netlify bot commented Dec 24, 2025

Deploy Preview for electric-next ready!

Name Link
🔨 Latest commit be43759
🔍 Latest deploy log https://app.netlify.com/projects/electric-next/deploys/694b31c0a01362000806184f
😎 Deploy Preview https://deploy-preview-3637--electric-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Apply unpic Image component to the elephant header image on the
blog listing page for consistent blur-up placeholder behavior.
@thruflo thruflo merged commit 45ae6c5 into main Dec 24, 2025
37 checks passed
@thruflo thruflo deleted the claude/add-image-placeholders-S96qu branch December 24, 2025 16:17
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.

4 participants