Skip to content

Commit

Permalink
fix: improve accessibility of scripts (#1650)
Browse files Browse the repository at this point in the history
* fix: improve accessibility of scripts

* fix: revise the order

Co-authored-by: Anmol Baranwal <74038190+Anmol-Baranwal@users.noreply.github.com>

* chore: remove empty line

---------

Co-authored-by: Anmol Baranwal <74038190+Anmol-Baranwal@users.noreply.github.com>
Co-authored-by: Rupali Haldiya <78981177+rupali-codes@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 18, 2023
1 parent fa8fad2 commit 973c343
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion components/SocialMedia/SocialMediaIconsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@ export const SocialMediaIconsList: FC<{
<ul className={`flex flex-wrap gap-5 ${className}`}>
{!showGithubButtons && (
<>
<ol>
<li className="pt-6 hidden md:block">
<GitHubForkButton repo="rupali-codes/LinksHub" />
</li>
<li className="mr-2 pt-6 hidden md:block">
<GitHubStarButton repo="rupali-codes/LinksHub" />
</li>
</ol>
</>
)}
<div className="flex items-center gap-6">
<ol>
<li>
<a
title="Link to Discord server (External Link)"
Expand All @@ -38,7 +41,9 @@ export const SocialMediaIconsList: FC<{
<FaDiscord className="hover:text-theme-primary transition duration-300 ease-in-out" />
</IconContext.Provider>
</a>
</li>
</li>
</ol>
<ol>
<li>
<a
title="Link to Github project (External Link)"
Expand All @@ -55,6 +60,8 @@ export const SocialMediaIconsList: FC<{
</IconContext.Provider>
</a>
</li>
</ol>
<ol>
<li>
<a
title="Link to Twitter page (External Link)"
Expand All @@ -71,15 +78,18 @@ export const SocialMediaIconsList: FC<{
</IconContext.Provider>
</a>
</li>
</ol>
</div>
{showGithubButtons && (
<div className="flex">
<ol>
<li className="mr-4 sm:block">
<GitHubForkButton repo="rupali-codes/LinksHub" />
</li>
<li className="mr-2 sm:block">
<GitHubStarButton repo="rupali-codes/LinksHub" />
</li>
</ol>
</div>
)}
</ul>
Expand Down

1 comment on commit 973c343

@vercel
Copy link

@vercel vercel bot commented on 973c343 Sep 18, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.