Skip to content

Commit

Permalink
feat(footer): ✨ added a link around the version that redirects to the…
Browse files Browse the repository at this point in the history
… release notes (#5)
  • Loading branch information
davids-ensemble committed Apr 6, 2024
1 parent 44deba3 commit dc2a8d4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/components/tj-jira-panel/components/footer/tj-footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ footer p {
margin: 2px;
}

footer a {
margin: 2px;
color: #6b778c;
text-decoration: none;

&:hover {
text-decoration: underline;
}
}

[role='button'] {
cursor: pointer;

Expand Down
4 changes: 3 additions & 1 deletion src/components/tj-jira-panel/components/footer/tj-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ export class TJFooter {
{this.isLoggedIn ? `Logged in as ${User.username} (${User.userId}) @ ` : null}
{this.serverVersion ? 'TJ v' + this.serverVersion : null}
</p>
<p>TJI v{version}</p>
<a href={`https://github.com/davids-ensemble/tj-jira-panel/releases/tag/v${version}`} target="_blank">
TJI v{version}
</a>
</div>
</footer>
);
Expand Down

0 comments on commit dc2a8d4

Please sign in to comment.