Skip to content

zaber-ahmed-selise/l3-next-instapix

Repository files navigation

for UI library: used shadcn

Implementation of the lucide icon library lucide react for react applications

className: cn("navLink", { "hidden md:flex": link.hideOnMobile }), what cn does is that it will join the classnames together and return a string of classnames and removes duplicates

If You want to pass dynamic styles as props from a component we can use cn {cn("relative flex items-start w-full gap-x-2", className)}

for shadcn darkmode we have to use theme first install npm install next-themes

(auth) then create a file called layout and folder called login and inside that folder create a file called page.tsx. now evenrything under the (auth) follow the layout(AuthLayout)

https://codesandbox.io/p/sandbox/mockuuupppp-forked-fe8w11?file=%2Fsrc%2FApp.js (with slide show)

useMount(): costom hook help to prevent the hydration issue. it will run only on the client side. it will run only once when the component is mounted. it will not run on the server side

for file upload I used: https://uploadthing.com/dashboard (s3 bucket) like features

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •