-
Notifications
You must be signed in to change notification settings - Fork 100
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
Cursor hover #218
Cursor hover #218
Conversation
1. Rewrote the existing code and added additional hover code in an understandable way (tracks.tsx) 2. A supporting CSS file has been added to styles dir to support hover zoom ----------------------------------------------- I will complete the .md file and initiate a PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your pull request and welcome to our community! We will be getting back to you soon . Your patience will be greatly appreciated! Thanks! 🥳
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments
styles/tracks.module.css
Outdated
@@ -0,0 +1,10 @@ | |||
/* components/Tracks.module.css */ | |||
|
|||
.image-container { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't we do it with tailwind only? instead of adding plain stylesheet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes definitely, I tried and it worked. Can you recheck the PR request?
@ManishBisht777 @Vishal-raj-1
1. Rewrote the existing code with tailwind CSS only (tracks.tsx) 2. The supporting CSS file has been removed from styles dir -----------------------------------------------
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good just remove the unused imports
components/tracks.tsx
Outdated
@@ -2,109 +2,52 @@ import Image from "next/image"; | |||
import { buttonVariants } from "./ui/button"; | |||
import Link from "next/link"; | |||
import { cn } from "@/lib/utils"; | |||
import React from "react"; // Import React |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there is need for this import?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I forgot to review imports after changing the CSS codes, I have removed it since we are working React above 17. Apologies for the overlook. Let me anything else required to complete the PR acceptance.
Thank you @ManishBisht777
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is some build error can you check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am trying to do, should I check it from Vercel or my local IDE?
1. Removed unnecessary imports from the code -----------------------------------------------
Hey @monisanees270798 any update why preview is failing again and again on this PR? |
I am trying to learn it, I tried clicking on Vercel for the details but it keeps giving me error 404. |
1. Trying to fix Deployment (Hover Effect only) -----------------------------------------------
@ManishBisht777 @Vishal-raj-1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From next time, try not to change formatting of the file
Sure thing, it was a great learning experience. Thank You. |
Fixes Issue
Closes Issue #202
Changes proposed
List of changes proposed by my PR
Check List (Check all the applicable boxes)
Screenshots
Note to reviewers
I made sure my code does not create any bugs within the rest of your website. Please let me know if there are any issues with my PR getting accepted.