Skip to content

Commit

Permalink
update sidebar versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
kualta committed Jul 1, 2024
1 parent 221a469 commit 1e9694f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/menu/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const Links = () => {
const gitSliced = git.slice(0, 7);

return (
<div className="flex flex-col gap-1 text-xs ">
<div className="flex flex-col gap-1 text-xs">
<div className="flex flex-wrap h-fit w-fit gap-1 overflow-auto">
<Link className="hover:underline" href={"/tos"}>
ToS
Expand All @@ -115,7 +115,12 @@ const Links = () => {
</Link>
</div>
<span className="select-none">
© 2024 Pingpad v{version}.{gitSliced}
© 2024 Pingpad v{version}{" "}
<Badge variant="outline" className="text-[10px] p-0.5 px-2 ml-2">
<Link className="hover:underline" href={`https://github.com/pingpad-io/ping/commit/${gitSliced}`}>
{gitSliced}
</Link>
</Badge>
</span>
</div>
);
Expand Down

0 comments on commit 1e9694f

Please sign in to comment.