diff --git a/.github/workflows/deploy_gh_pages.yml b/.github/workflows/deploy_gh_pages.yml index cc2355f..96b44ca 100644 --- a/.github/workflows/deploy_gh_pages.yml +++ b/.github/workflows/deploy_gh_pages.yml @@ -48,4 +48,4 @@ jobs: steps: - name: Deploy id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v2 diff --git a/README.md b/README.md index 4dfbf6a..29d8c69 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,26 @@ # svelte-swiper-cards -Tinder-like swipeable cards for svelte. +Tinder-like swipeable cards component for svelte. -> [!NOTE] -> Still in active development. Expect breaking changes. - -[Try the simple demo here!](https://flo-bit.github.io/svelte-swiper-cards/simple-demo) +[Try the demo here!](https://flo-bit.github.io/svelte-swiper-cards) https://github.com/flo-bit/svelte-swiper-cards/assets/45694132/61077605-b6f8-4114-aaa3-5527d8887f99 ## Features -- Built with tailwind -- Reuses cards (only two cards, that are swapped) -- Customizable (customize the card) -- Modern: uses @use-gesture/vanilla for gesture handling -- TypeScript +- Built with **tailwind** +- **Reuses cards** (only two cards, that are swapped) +- **Customizable** (easily customize the card ui and data) +- **Modern**: uses @use-gesture/vanilla for gesture handling +- Uses **TypeScript** ## Installation - You need to have tailwind installed in your project, see [here for installation instructions](https://tailwindcss.com/docs/guides/sveltekit). -- Copy the `CardSwiper` folder from `src/libs` to your projects `lib` folder. +- Download the [`CardSwiper`](https://download-directory.github.io/?url=https%3A%2F%2Fgithub.com%2Fflo-bit%2Fsvelte-swiper-cards%2Ftree%2Fmain%2Fsrc%2Flib%2FCardSwiper) folder from `src/libs` to your projects `src/lib` folder. -- Install dependency +- Install dependency `@use-gesture/vanilla` ```bash npm i @use-gesture/vanilla @@ -32,19 +29,21 @@ npm i @use-gesture/vanilla ## Usage ```svelte -