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

fix: improve accessibility of scripts #1650

Merged
merged 3 commits into from
Sep 18, 2023
Merged
Changes from 1 commit
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
11 changes: 11 additions & 0 deletions components/SocialMedia/SocialMediaIconsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,19 @@ 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 +42,9 @@ export const SocialMediaIconsList: FC<{
<FaDiscord className="hover:text-theme-primary transition duration-300 ease-in-out" />
</IconContext.Provider>
</a>
</ol>
</li>
CBID2 marked this conversation as resolved.
Show resolved Hide resolved
<ol>
<li>
<a
title="Link to Github project (External Link)"
Expand All @@ -55,6 +61,8 @@ export const SocialMediaIconsList: FC<{
</IconContext.Provider>
</a>
</li>
</ol>
<ol>
<li>
<a
title="Link to Twitter page (External Link)"
Expand All @@ -71,15 +79,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
Loading