magicuidesign / magicui

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
https://magicui.design
MIT License
8.36k stars 323 forks source link

Why Browse Components button redirects to Marquee instead of Bento Grid? #154

Open alamenai opened 2 months ago

alamenai commented 2 months ago

Hi @dillionverma ,

While I was checking the interaction of the component in the landing page, I found that when I click on Browse Components, it redirects to the Marquee page instead the first component in the section which is Bendo Grid.

19b8f05f-c1c1-423a-871c-ff2ed984fc7a.webm

I checked the code of this button but I found it redirects to the components page. I did not figure out what should I change to index to first component.

Any tips from your side to fix it?

wbs99 commented 2 months ago

Changing the redirects function in next.config.js can optimize this problem but maybe it s not worth a PR if this is worth optimizing I think @dillionverma can optimize this problem later image

alamenai commented 2 months ago

Thank you @wbs99 .