Skip to content

Commit

Permalink
Remove links to tabs so it's not confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
kubgus committed Sep 8, 2024
1 parent c94bb04 commit 1c6350a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/layouts/blog-layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { frontmatter } = Astro.props;
og_type="article"
frontmatter={frontmatter}
>
<Navbar fixed={true} href="/?tab=blog" />
<Navbar fixed={true} href="/" />

<header>
{ frontmatter.image &&
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ let tab = "tab-1", translateSelector = "0%";
<nav id="picker" class="container">
<div class="content-selector-container">
<a href="/" class={tab === "tab-1" ? "content-selector active" : "content-selector"} id="about-me">About me</a>
<a href="/?tab=projects" class={tab === "tab-2" ? "content-selector active" : "content-selector"} id="projects">Projects</a>
<a href="/?tab=blog" class={tab === "tab-3" ? "content-selector active" : "content-selector"} id="blog">Blog</a>
<a href="/" class={tab === "tab-2" ? "content-selector active" : "content-selector"} id="projects">Projects</a>
<a href="/" class={tab === "tab-3" ? "content-selector active" : "content-selector"} id="blog">Blog</a>
</div>
<div aria-hidden="true" class="select-indicator" />
</nav>
Expand Down

0 comments on commit 1c6350a

Please sign in to comment.