Skip to content

Commit 2a24108

Browse files
authored
Merge pull request #766 from ZenUml/fix/png
feat: display version and commit hash in Footer
2 parents d1ea731 + ea8b55e commit 2a24108

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/components/Footer.jsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ export default class Footer extends Component {
8585
>
8686
© ZenUML
8787
</a>
88+
<span class="text-gray-600 text-xs">
89+
v2.0.0 ({__COMMITHASH__})
90+
</span>
8891
<a
8992
aria-label="Tweet about 'ZenUML'"
9093
href="http://twitter.com/share?url=https://www.zenuml.com/&text=ZenUML - A blazing fast %26 offline UML generator! via @ZenUML&related=ZenUML&hashtags=uml,zenuml,playground,offline"
@@ -138,6 +141,12 @@ export default class Footer extends Component {
138141
>
139142
&nbsp;Privacy Policy&nbsp;
140143
</a>
144+
<button
145+
className="hover:opacity-80 duration-200 text-gray-500 text-xs"
146+
onClick={this.props.helpBtnClickHandler}
147+
>
148+
&nbsp;Help & Version&nbsp;
149+
</button>
141150
</div>
142151
{this.props.prefs.isJs13kModeOn ? (
143152
<div class="flex flex-v-center">

0 commit comments

Comments
 (0)