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

Refine "View Profile" Button Styling with Enhanced Hover Effects #1058

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/data/Sahilll15.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Sahil Sanjay Chalke",
"location": "Mumbai, India 🇮🇳",
"location": "Mumbai, India 🇮🇳",
"bio": "FULL STACK DEV",
"avatar": "https://avatars.githubusercontent.com/u/109215419?v=4",
"portfolio": "https://sahilchalke.online/",
Expand Down
7 changes: 6 additions & 1 deletion src/components/Profile/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ function Card({ data }) {
data.portfolio ? 'ml-auto w-28 hover:underline' : 'ml-auto w-28 cursor-not-allowed brightness-50'
}`}
>
<a href={data.portfolio} className="text-textSecondary" target="_blank" rel="noreferrer">
<a
href={data.portfolio}
className="inline-block transform rounded-full border-2 border-transparent bg-[rgb(0,166,251,var(--tw-bg-opacity))] px-5 py-2 text-sm font-medium text-white shadow-lg transition-all duration-300 ease-in-out hover:scale-105 hover:border-[rgb(0,166,251,var(--tw-border-opacity))] hover:bg-[rgb(243,244,246,var(--tw-bg-opacity))] hover:text-textSecondary hover:shadow-xl focus:outline-none focus:ring-4 focus:ring-blue-300"
target="_blank"
rel="noreferrer"
>
View Profile &#8594;
</a>
</div>
Expand Down