Skip to content

Commit

Permalink
Sync in-facto-web
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed May 11, 2024
1 parent 89ea722 commit 1b999c4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions website/app/(main)/(sub)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ const Navigation = (props: { isVisible: boolean }) => {
page = "videos";
}

const currentArrow = "›";

return (
<Transition nodeRef={nodeRef} in={isVisible} timeout={5000} appear={false}>
{(state) => {
Expand All @@ -119,15 +117,12 @@ const Navigation = (props: { isVisible: boolean }) => {
</div>
<div className={clsx("mt-3", page === "about" && "font-bold")}>
<A href="/about">About</A>
{page === "about" && ` ${currentArrow}`}
</div>
<div className={clsx(page === "videos" && "font-bold")}>
<A href="/videos">Videos</A>
{page === "videos" && ` ${currentArrow}`}
</div>
<div className={clsx(page === "posts" && "font-bold")}>
<A href={"/posts"}>Posts</A>
{page === "posts" && ` ${currentArrow}`}
</div>
</div>
</div>
Expand Down

0 comments on commit 1b999c4

Please sign in to comment.