magicui icon indicating copy to clipboard operation
magicui copied to clipboard

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

Open alamenai opened this issue 1 year ago • 2 comments

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?

alamenai avatar Jun 15 '24 21:06 alamenai

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

wbs99 avatar Jun 20 '24 09:06 wbs99

Thank you @wbs99 .

alamenai avatar Jun 20 '24 18:06 alamenai

fixed for now! The default redirect is marquee which is the first component :)

dillionverma avatar Dec 18 '24 19:12 dillionverma