Skip to content

Commit

Permalink
remove /terms/page.tsx update href
Browse files Browse the repository at this point in the history
  • Loading branch information
allenchuang committed Dec 7, 2023
1 parent 4348980 commit 6ee9f7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
29 changes: 0 additions & 29 deletions app/terms/page.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions components/Navbar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const Sidebar = ({ collapsed, navItems = defaultNavItems, shown, onHide }: Props
</div>
</div>

<Link href="/terms" className="flex flex-row my-auto pb-2">
<Link href="/tos.pdf" target="_blank" className="flex flex-row my-auto pb-2">
<div
className={classNames({
'transition-colors duration-300': true, //animation
Expand All @@ -224,7 +224,7 @@ const Sidebar = ({ collapsed, navItems = defaultNavItems, shown, onHide }: Props
})}
>
<ClientOnly>
<Link href="/terms" className="flex gap-2 ">
<Link href="/tos.pdf" target="_blank" className="flex gap-2 ">
{collapsed ? (
<DocumentCheckIcon className="w-5 h-5" />
) : (
Expand Down

0 comments on commit 6ee9f7e

Please sign in to comment.