Skip to content

Commit

Permalink
fix svg attribute names, topnav active (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
will0684 authored Jun 5, 2024
1 parent 357cecc commit 0433db6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
12 changes: 6 additions & 6 deletions components/molecules/TopNavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,20 @@ export function TopNavBar({
<path
d="M4 18L20 18"
stroke="#000000"
stroke-width="2"
stroke-linecap="round"
strokeWidth="2"
strokeLinecap="round"
/>
<path
d="M4 12L20 12"
stroke="#000000"
stroke-width="2"
stroke-linecap="round"
strokeWidth="2"
strokeLinecap="round"
/>
<path
d="M4 6L20 6"
stroke="#000000"
stroke-width="2"
stroke-linecap="round"
strokeWidth="2"
strokeLinecap="round"
/>
</svg>
</div>
Expand Down
23 changes: 10 additions & 13 deletions components/organisms/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export const Layout = ({
typeof window !== "undefined" && window.location.origin
? window.location.href
: "";
const isTopNavBarActive = false;

return (
<div className="overflow-x-hidden">
Expand Down Expand Up @@ -109,18 +108,16 @@ export const Layout = ({
</div>
</div>
<div className="border-b-[3px] border-multi-blue-blue35" />
{isTopNavBarActive ? (
<TopNavBar
homeLink={t("topNavBar.homeLink")}
homeLinkLabel={t("topNavBar.homeLinkLabel")}
updatesLink={t("topNavBar.updatesLink")}
updatesLinkLabel={t("topNavBar.updatesLinkLabel")}
projectsLink={t("topNavBar.projectsLink")}
projectsLinkLabel={t("topNavBar.projectsLinkLabel")}
navAriaLabel={t("topNavBar.ariaLabel")}
buttonAriaLabel={t("topNavBar.buttonAriaLabel")}
/>
) : null}
<TopNavBar
homeLink={t("topNavBar.homeLink")}
homeLinkLabel={t("topNavBar.homeLinkLabel")}
updatesLink={t("topNavBar.updatesLink")}
updatesLinkLabel={t("topNavBar.updatesLinkLabel")}
projectsLink={t("topNavBar.projectsLink")}
projectsLinkLabel={t("topNavBar.projectsLinkLabel")}
navAriaLabel={t("topNavBar.ariaLabel")}
buttonAriaLabel={t("topNavBar.buttonAriaLabel")}
/>
<div className="layout-container mt-4">
<Breadcrumb items={breadcrumbItems} />
</div>
Expand Down

0 comments on commit 0433db6

Please sign in to comment.