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

Fixed inconsistent icon order in header and footer of docs. #191

Merged
merged 1 commit into from
May 6, 2024
Merged
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
8 changes: 4 additions & 4 deletions src/components/docs/header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ const pathname = new URL(Astro.request.url).pathname;
<DarkModeToggle />
<a
class="cursor-pointer hover:text-primary"
href="https://github.com/akash-network"
href="https://twitter.com/akashnet_"
target="_blank"
>
<GithubIcon />
<TwitterIcon />
</a>
<a
class="cursor-pointer hover:text-primary"
href="https://twitter.com/akashnet_"
href="https://github.com/akash-network"
target="_blank"
>
<TwitterIcon />
<GithubIcon />
</a>
<a
class="cursor-pointer hover:text-primary"
Expand Down
8 changes: 4 additions & 4 deletions src/components/header/hamburger-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const Panel = ({ currentPath, open }: { currentPath: string; open: any }) => {
? "text-base font-medium text-foreground"
: "inline-flex items-center text-base font-medium hover:font-semibold hover:text-foreground",
)}
// aria-current={item.current ? "page" : undefined}
// aria-current={item.current ? "page" : undefined}
>
{item.name}
{/* {item.icon} */}
Expand Down Expand Up @@ -183,12 +183,12 @@ const Panel = ({ currentPath, open }: { currentPath: string; open: any }) => {

<div className="flex items-center justify-between border-t border-border py-7 text-para">
<div className="flex gap-x-[20px] px-2">
<a href="https://github.com/akash-network" target="_blank">
<GithubIcon />
</a>
<a href="https://twitter.com/akashnet_" target="_blank">
<TwitterIcon />
</a>
<a href="https://github.com/akash-network" target="_blank">
<GithubIcon />
</a>
<a href="https://discord.com/invite/akash" target="_blank">
<DiscordIcon />
</a>
Expand Down
12 changes: 6 additions & 6 deletions src/components/header/header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -95,18 +95,18 @@ ${disableSticky ? "" : "sticky top-0 z-[30]"}

<div class="mr-3 hidden items-center gap-x-[12px] text-para xl:flex">
<a
aria-label="Github Icon"
href="https://github.com/akash-network"
aria-label="Twitter Icon"
href="https://twitter.com/akashnet_"
target="_blank"
>
<GithubIcon />
<TwitterIcon />
</a>
<a
aria-label="Twitter Icon"
href="https://twitter.com/akashnet_"
aria-label="Github Icon"
href="https://github.com/akash-network"
target="_blank"
>
<TwitterIcon />
<GithubIcon />
</a>
<a
aria-label="Discord Icon"
Expand Down