Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update styling for image on the Event Details page #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KnightTheLion
Copy link

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.

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.
Copy link

vercel bot commented Dec 22, 2023

@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.

@Moureeswaran2705
Copy link

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

@KnightTheLion
Copy link
Author

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

Ok cool deal @Moureeswaran2705

@Moureeswaran2705
Copy link

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

@KnightTheLion
Copy link
Author

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.

@ravindrasirvi609
Copy link

@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."

Copy link

@tonythetaylor tonythetaylor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran into the same issue on the EventDetails page 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]"

@ravindrasirvi609
Copy link

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?

@tonythetaylor
Copy link

tonythetaylor commented Jan 29, 2024

@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.

@ravindrasirvi609
Copy link

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

Okay 🆗👍

@ravindrasirvi609
Copy link

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

@aladdinbruv
Copy link

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

@Pratik-003
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants