event_platform icon indicating copy to clipboard operation
event_platform copied to clipboard

Update styling for image on the Event Details page

Open KnightTheLion opened this issue 2 years ago • 13 comments

I wrapped the Event image in a div and set the class name to 'max-w-full'. On my deployed version the image was taking up the whole section as a background image. This styled it appropriately for the deployed mobile view.

KnightTheLion avatar Dec 22 '23 21:12 KnightTheLion

@KnightTheLion is attempting to deploy a commit to the JS Mastery Pro Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Dec 22 '23 21:12 vercel[bot]

i currently in work to finish the project ,wait 2 days i would be complete

Moureeswaran2705 avatar Dec 27 '23 10:12 Moureeswaran2705

i currently in work to finish the project ,wait 2 days i would be complete

Ok cool deal @Moureeswaran2705

KnightTheLion avatar Dec 27 '23 17:12 KnightTheLion

i currently in work to finish the project ,wait 2 days i would be complete

Ok cool deal @Moureeswaran2705 i completed most of my work it shows some error in payment mode,except that all is good

Moureeswaran2705 avatar Dec 29 '23 08:12 Moureeswaran2705

i currently in work to finish the project ,wait 2 days i would be complete

Ok cool deal @Moureeswaran2705 i completed most of my work it shows some error in payment mode,except that all is good

@Moureeswaran2705 If you mean your stripe webhook is failing, then you should check you database to make sure your new user was created. If it wasn't it could be because you need to go to Clerk and click on User & Authentication then Email, Phone, Username and make sure all fields say "required" such as name, username and email. This has been a common issue I have seen amongst the youtube community.

KnightTheLion avatar Dec 29 '23 20:12 KnightTheLion

@KnightTheLion, could you please explain why users are not being created in MongoDB? I've ensured that all required fields such as name, username, and email have been filled out. This seems to be a recurring problem within the YouTube community. Any insights or possible solutions would be greatly appreciated."

ravindrasirvi609 avatar Jan 28 '24 09:01 ravindrasirvi609

I ran into the same issue and followed this solution from the tailwindcss docs by adding "min-[320px]:h-[25vh]" to the Image className. I added the md: and sm: to debug the sizes when the screen width changed and it works seamlessly on my desktop and mobile devices.

      src={event.imageUrl}
      alt="hero image"
      width={1000}
      height={1000}
      className="h-full min-h-[300px] object-cover object-center md:h-full sm:h-[25vh] min-[320px]:h-[25vh]"

@tonythetaylor , are you referring to the issue of users not being saved in MongoDB?

ravindrasirvi609 avatar Jan 29 '24 17:01 ravindrasirvi609

@ravindrasirvi609 No, sorry about that. I'm referring to the image in the EventDetails page overlapping the details on mobile screens. Updated my comment to reflect the correct issue.

tonythetaylor avatar Jan 29 '24 18:01 tonythetaylor

@ravindrasirvi609 No, sorry about that. I'm referring to the image in the EventDetails page overlapping the details on mobile screens.

Okay 🆗👍

ravindrasirvi609 avatar Jan 29 '24 18:01 ravindrasirvi609

@sourabhnoob It is Fixed you have to check all of your environment variable

ravindrasirvi609 avatar Mar 05 '24 06:03 ravindrasirvi609

still having the probleme with users are not created in mongo db

aladdinbruv avatar Mar 11 '24 14:03 aladdinbruv

Any body can help as my database is not syncing with the clerk and application and no data is showing in my database please feel free to contact me on 7205650815

Pratik-003 avatar Apr 20 '24 06:04 Pratik-003

i currently in work to finish the project ,wait 2 days i would be complete

bro can u help me this project as my mongodb is not connection and no user of data is showing in the database please contact me on +91 7205650815

Pratik-003 avatar Apr 20 '24 06:04 Pratik-003