Skip to content

Commit 43773d7

Browse files
Merge pull request #83 from codeXsit/codex-website-team-component
style: fixed social media icons to stay visible by default for mobile devices
2 parents 3983474 + fde8088 commit 43773d7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/components/WebsiteTeam/TeamMember.jsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,42 +39,42 @@ function TeamMember({ member, className }) {
3939
className={`min-w-[330px] max-w-[330px] relative group transition ease-in-out delay-150 hover:-translate-y-1 hover:scale-105 duration-200 cursor-pointer align-middle ${className}`}
4040
>
4141
<div className="align-middle">
42-
<div className="absolute top-[10%] -left-4 z-10 opacity-0 group-hover:opacity-100 transition-opacity duration-500 ">
42+
<div className="absolute top-[10%] -left-4 z-10 opacity-100 md:opacity-0 md:group-hover:opacity-100 transition-opacity duration-500">
4343
<div className="flex flex-col space-y-4">
4444
<a
4545
href={linkedin}
4646
target="_blank"
4747
rel="noreferrer"
48-
className="text-white font-sans opacity-0 group-hover:opacity-100 transition-opacity duration-500 delay-100"
48+
className="text-white font-sans opacity-100 md:opacity-0 md:group-hover:opacity-100 transition-opacity duration-500 delay-100"
4949
>
5050
<img
5151
src={LinkedInIcon}
5252
alt="Linkedin"
53-
className="w-10 h-10 sm:w-8 sm:h-8 md:w-10 md:h-10 lg:w-12 lg:h-12 p-2"
53+
className="w-10 h-10 sm:w-10 sm:h-10 md:w-10 md:h-10 lg:w-12 lg:h-12 p-2"
5454
/>
5555
</a>
5656
<a
5757
href={github}
5858
target="_blank"
5959
rel="noreferrer"
60-
className="text-white font-sans opacity-0 group-hover:opacity-100 transition-opacity duration-500 delay-200"
60+
className="text-white font-sans opacity-100 md:opacity-0 md:group-hover:opacity-100 transition-opacity duration-500 delay-200"
6161
>
6262
<img
6363
src={GithubIcon}
6464
alt="Github"
65-
className="w-10 h-10 sm:w-8 sm:h-8 md:w-10 md:h-10 lg:w-12 lg:h-12 p-2"
65+
className="w-10 h-10 sm:w-10 sm:h-10 md:w-10 md:h-10 lg:w-12 lg:h-12 p-2"
6666
/>
6767
</a>
6868
<a
6969
href={instagram}
7070
target="_blank"
7171
rel="noreferrer"
72-
className="text-white font-sans opacity-0 group-hover:opacity-100 transition-opacity duration-500 delay-300"
72+
className="text-white font-sans opacity-100 md:opacity-0 md:group-hover:opacity-100 transition-opacity duration-500 delay-300"
7373
>
7474
<img
7575
src={InstagramIcon}
7676
alt="Instagram"
77-
className="w-10 h-10 sm:w-8 sm:h-8 md:w-10 md:h-10 lg:w-12 lg:h-12 p-2"
77+
className="w-10 h-10 sm:w-10 sm:h-10 md:w-10 md:h-10 lg:w-12 lg:h-12 p-2"
7878
/>
7979
</a>
8080
</div>

0 commit comments

Comments
 (0)