Text Shadow on Header & Get Involved Hover - #78
Open
ney927 wants to merge 4 commits into
Open
Conversation
✅ Deploy Preview for storied-fox-9ba586 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
HasithDeAlwis
approved these changes
Aug 15, 2024
| const link = data?.link; | ||
|
|
||
| const overlayStyle = { | ||
| backgroundSize: '100% 600%', |
Collaborator
There was a problem hiding this comment.
can we experiment with a smaller background size for the hover? I think it might be cool if the gradient didn't span the whole component 👍
Collaborator
Author
| className="relative flex flex-col w-10/12 transition-all duration-30 text-white | ||
| rounded-tr-[3rem] rounded-bl-[3rem] | ||
| hover:rounded-tr-none hover:rounded-bl-none hover:rounded-tl-[3rem] hover:rounded-br-[3rem] | ||
| bg-primaryGray h-[16rem] sm:w-[32rem] sm:h-[22rem] shadow-red-bottom-left hover:shadow-red-bottom-left-hover" |
Collaborator
There was a problem hiding this comment.
Did the shadows look ugly with the gradient?
Collaborator
Author
There was a problem hiding this comment.
no its just that the reference pic from Avantika didn't have them
| alt="Header Background" | ||
| /> | ||
| <div className="absolute z-10 top-[14vh] sm:top-[20vh] md:top-[18vh] w-full text-center"> | ||
| <div className="absolute z-10 top-[14vh] sm:top-[20vh] md:top-[18vh] w-full text-center" style={{'text-shadow': '2px 4px 8px rgba(0, 0, 0, 0.5)'}}> |
Collaborator
There was a problem hiding this comment.
I think this text shadow works well 🔥
| <div | ||
| onMouseEnter={() => setIsHovering(true)} | ||
| onMouseLeave={() => setIsHovering(false)} | ||
| className="relative flex flex-col w-10/12 transition-all duration-30 text-white |
Collaborator
There was a problem hiding this comment.
little typo here (duration-30), I know that wasn't you, but could we change that to 300
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.