cloudinary-examples
cloudinary-examples copied to clipboard
Update `<CldUploadButton>` component
This PR updates the example for the <CldUploadButton> component. The changes are as follows
- Updated Dependencies
- Added appropriate header and footer
- Customized the CldUploadButton, wrapped the demo in a card
- Added App Router example
- Removed unnecessary code
- Added Tailwind CSS
- Added toasts to show error and success messages
- Use
CldImageandCldVideoPlayerto display the uploaded media
@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.
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 Done
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 I opened #160 with the changes now