Skip to content

Conversation

@akradadiya28
Copy link

Title: 🏗️ Add MacBook-Style Dock Navigation Component ( Solved #23 )

Description:
This PR introduces a MacBook-style Dock Navigation component built using Next.js, Framer Motion, and Tailwind CSS. The component includes:

DockContainer: A wrapper for the dock with customizable styles.

DockItem: Individual dock items with hover animations and tooltips.

Framer Motion animations for smooth scaling effects.

Utility function cn.ts for class merging using clsx and tailwind-merge.

Tailwind config updates for floating animations.

image

@vercel
Copy link

vercel bot commented Mar 29, 2025

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

Name Status Preview Comments Updated (UTC)
v3cn-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 29, 2025 5:02pm

@VineeTagarwaL-code
Copy link
Owner

add a smooth hover mac has, it lacks that rest is awsome

@VineeTagarwaL-code
Copy link
Owner

VineeTagarwaL-code commented Mar 29, 2025

Screenshot 2025-03-29 at 6 17 59 PM

something like this, good to merge when this animation is done

@VineeTagarwaL-code
Copy link
Owner

VineeTagarwaL-code commented Mar 29, 2025

Screenshot 2025-03-29 at 6 22 39 PM

fix : click on component code also opens tailwind code, this bug is there in card also fix for that too please

…onent code also opens tailwind code, this bug is there in card also fix this ui
@akradadiya28
Copy link
Author

Fix: Improved Dock Animation & Code Copying Issue

Enhanced Hover Animation: Implemented a smoother hover effect similar to the macOS dock, making the transition more fluid and visually appealing.

Bug Fix: Resolved an issue where clicking on component code also opened the Tailwind config code. The same fix has been applied to cards to prevent accidental expansions.

Overall Improvement: Refined the interaction to align better with user expectations and provide a seamless UI/UX experience.

@VineeTagarwaL-code
Copy link
Owner

it is close to what we need, good work

however i feel there can be some improvements in the animation, it just doesn't completely feel like macbook doc, plus when selected please add that tiny dot back in the bottom

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