Skip to content

Use native astro component dedicated to swiper#995

Open
pascal-brand38 wants to merge 1 commit into
unitaryfoundation:mainfrom
pascal-brand38:swiper
Open

Use native astro component dedicated to swiper#995
pascal-brand38 wants to merge 1 commit into
unitaryfoundation:mainfrom
pascal-brand38:swiper

Conversation

@pascal-brand38
Copy link
Copy Markdown

@pascal-brand38 pascal-brand38 commented May 11, 2026

The aim is to use an astro native component for swiper, instead of the react one:

  • Slider.tsx which is a react component is renamed in Slider.astro
  • astro-swiper package is used instead of a direct use swiper, followed by import of swiper/react, swiper/modules and swiper/css
  • When using Slider, no more need to add client:load as this is no more a react component.

Signed-off-by: Pascal Brand <pascal.brand38@gmail.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
unitary-fund-prel Ready Ready Preview May 11, 2026 9:43am

Request Review

@cosenal
Copy link
Copy Markdown
Contributor

cosenal commented May 20, 2026

Hi, thanks for your contribution.
Can you please add a description so we understand what it is about?

@pascal-brand38
Copy link
Copy Markdown
Author

I updated the description of the PR right now.

Would you like me to rebase on top of current main to resolve the conflicts?

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