Skip to content

Commit

Permalink
[fix] 2 URL bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Jan 13, 2024
1 parent b6fc3e0 commit 721fd4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

App Project scaffold of **WebCell** v3

https://web-cell.dev/scaffold/
https://web-cell-scaffold.vercel.app/

[![CI & CD](https://github.com/EasyWebApp/scaffold/actions/workflows/main.yml/badge.svg)][2]

Expand Down
4 changes: 3 additions & 1 deletion src/page/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ export const PageFrame = () => (
>
<Nav className="justify-content-end flex-fill gap-3">
{menu.map(({ title, href }) => (
<NavLink href={`#${href}`}>{title}</NavLink>
<NavLink href={href.startsWith('http') ? href : `#${href}`}>
{title}
</NavLink>
))}
</Nav>
</OffcanvasNavbar>
Expand Down

1 comment on commit 721fd4d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for web-cell-scaffold ready!

✅ Preview
https://web-cell-scaffold-j2z3coyge-techquery.vercel.app

Built with commit 721fd4d.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.