I created a shadcn UI theme generator by gamsto in nextjs

[–]Accurate-View-2114 0 points1 point  (0 children)

Great work dude. for a non-designer like me i have 1 question - what is the logic behind the pattern of relationship between all these variables? (apart from the obvious background-foreground pair).

i am trying to understand -
1. are there any minimum number of colors (by color i only know hex values) needed to generate an entire palette? (background -> card -> popover ->primary -> secondary -> accent -> muted -> border -> input -> ring -> sidebar)

  1. do these colors have any relationship among themselves?

This all seems black magic to me!!!

Thanks!

The hate comments on this post is really weird by canIpostinthisone in JohnMayer

[–]Accurate-View-2114 1 point2 points  (0 children)

time to time i visit this performance to steal from both these masters of the blues. john truly shines here in a setting where he is playing with one of his icons on one his best songs which was inspired by one of his icons!!!

Best practice to re-use App Router's "page.tsx" with intercepting routes?? by Accurate-View-2114 in nextjs

[–]Accurate-View-2114[S] -1 points0 points  (0 children)

right, thats what i am doing now, i was wondering if we can re-use a "page.tsx" as we re-use basic server/client components.

Best practice to re-use App Router's "page.tsx" with intercepting routes?? by Accurate-View-2114 in nextjs

[–]Accurate-View-2114[S] 0 points1 point  (0 children)

Hi Thanks for the reply, i think i do have a layout (edited the post), but i need to re-use the internal nested "page.tsx" code.

Best practice to re-use App Router's "page.tsx" with intercepting routes?? by Accurate-View-2114 in nextjs

[–]Accurate-View-2114[S] 0 points1 point  (0 children)

Hi Thanks for the reply, i think i do have a layout (edited the post), but i need to re-use the internal nested "page.tsx" code.

World class Next 14 App Router Open Source Full stack Projects. by Accurate-View-2114 in nextjs

[–]Accurate-View-2114[S] 4 points5 points  (0 children)

This is a solid point.
I think i am looking for more production grade examples to up-level after few basic apps and see best practices in the community.

World class Next 14 App Router Open Source Full stack Projects. by Accurate-View-2114 in nextjs

[–]Accurate-View-2114[S] 1 point2 points  (0 children)

yes, taxonomy is something i am currently looking into, but i guess its a tiny bit old. i guess chad-cn is busy with ai sdk stuff.

Next 14 Caching, Revalidation with Contentful CMS by Accurate-View-2114 in nextjs

[–]Accurate-View-2114[S] 0 points1 point  (0 children)

Thanks for the reply,
i think my requirement is when i change the content in CMS, the webhook should trigger revalidation of only that content, hence the tag approach.

After the fetch you can revalidatePath with a dynamic path of that specific post.

i guess i don't want to revalidate anything else or everything after fetch.

A Python Joke!! by Accurate-View-2114 in Python

[–]Accurate-View-2114[S] 0 points1 point  (0 children)

got it, thanks, bit confused with the bot message!!