cloudinary-examples icon indicating copy to clipboard operation
cloudinary-examples copied to clipboard

Update `<CldUploadButton>` component

Open max-programming opened this issue 1 year ago • 1 comments

This PR updates the example for the <CldUploadButton> component. The changes are as follows

  1. Updated Dependencies
  2. Added appropriate header and footer
  3. Customized the CldUploadButton, wrapped the demo in a card
  4. Added App Router example
  5. Removed unnecessary code
  6. Added Tailwind CSS
  7. Added toasts to show error and success messages
  8. Use CldImage and CldVideoPlayer to display the uploaded media

max-programming avatar Apr 10 '24 06:04 max-programming

@max-programming is attempting to deploy a commit to the Cloudinary DevX Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 10 '24 06:04 vercel[bot]

i appreciate you adding Sonner, great library, but generally i want to keep the examples as MVP as possible, avoiding dependencies where we can, i think in this example we can maintain just updating the page with state to show the image/url

the rest looks good to me!

colbyfayock avatar May 09 '24 15:05 colbyfayock

@colbyfayock Done

max-programming avatar May 18 '24 10:05 max-programming

hey @max-programming im not sure whats going on but im getting some funky conflicts after merging in your other upload widget example, can you take al ook at this? idk if we need to just delete it and readd it or osmething

colbyfayock avatar May 21 '24 14:05 colbyfayock

@colbyfayock I opened #160 with the changes now

max-programming avatar May 22 '24 07:05 max-programming