Skip to content

Commit

Permalink
refactor: use author page for about
Browse files Browse the repository at this point in the history
  • Loading branch information
NobbZ committed Jul 3, 2023
1 parent 504c955 commit 49d4ab5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Layout = ({ className, pageTitle, children }: LayoutProps) => {
<Link to="/tags">Tags</Link>
</li>
<li>
<Link to="/about">About</Link>
<Link to="/author/nobbz">About</Link>
</li>
</ul>
</nav>
Expand Down
15 changes: 0 additions & 15 deletions src/pages/about.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion tests/components/layout.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe("Layout component", () => {
const navLinks = {
Blog: "/",
Tags: "/tags",
About: "/about",
About: "/author/nobbz",
};

for (const [name, path] of Object.entries(navLinks)) {
Expand Down

0 comments on commit 49d4ab5

Please sign in to comment.