EddieHubCommunity / BioDrop

Connect to your audience with a single link. Showcase the content you create and your projects in one place. Make it easier for people to find, follow and subscribe.
https://biodrop.io
MIT License
5.73k stars 3.97k forks source link

Added animation in feature section #10208

Closed Monilprajapati closed 3 months ago

Monilprajapati commented 7 months ago

Closes #9874

Changes proposed

As we have mentioned in the Issue #9874 i have added the animation in the feature section without using any library such as framer-motion. it is completly made up with Tailwind CSS.

I have created one useElementOnscreen.jsx to observe the each feature card of the feature section to start the animation based on some threshold in viewport. I have added keyframes and animate property in tailwind.config.js file to perform desired animations and finally i have made changes into index.js file which is containing this feature section where i made changes into conditional rendering part of class where the animation is changing based upon the even and odd feature.

Check List (Check all the applicable boxes)

Screenshots

Previews: I think the video is lagging but it is my video recorder issue so please consider it else the animation is working well

Laptop screen:

https://github.com/EddieHubCommunity/BioDrop/assets/99136041/94628d3e-33d2-4753-be9c-f2431ba0f070

Tablet screens:

https://github.com/EddieHubCommunity/BioDrop/assets/99136041/fa6e5ce5-f80f-47c9-82ec-a000ede83238

Mobile screens:

https://github.com/EddieHubCommunity/BioDrop/assets/99136041/8b910af7-1581-4ade-8b30-d8659fbe2ac9

Monilprajapati commented 7 months ago

Hey @eddiejaoude

Monilprajapati commented 6 months ago

Hey @eddiejaoude Please look into it i have made it as per your requirements.

Monilprajapati commented 5 months ago

Hey @SaraJaoude @eddiejaoude It's been so long i have created this PR and no one has given me a response!!

Monilprajapati commented 5 months ago

Hey @eddiejaoude Thank you for your response :) One more thing i want to ask that i am also working on this #10209 issue and i am almost done with the solution. So could you please assign it to me! Features that i am adding :

  1. Smooth Navbar animation : Sticky Navbar
  2. Sidebar drawer button in documentation page
Monilprajapati commented 5 months ago

Here is the solution of the features that i have mentioned above:

Here is the PR : #10321

https://github.com/EddieHubCommunity/BioDrop/assets/99136041/c1235f97-5c33-4af6-bdda-9c81c3a344de

Monilprajapati commented 5 months ago

Hey @eddiejaoude :slightly_smiling_face:

Monilprajapati commented 5 months ago

Hey @eddiejaoude @SaraJaoude