Skip to content

Commit

Permalink
feat: add version number in slangroom editor (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbtgnn authored Aug 5, 2024
1 parent 61417a9 commit cb57cd8
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import {
import hasAnsi from 'has-ansi';
import Convert from 'ansi-to-html';

import { version } from '@/package.json';

//

@Component({
Expand Down Expand Up @@ -153,7 +155,10 @@ export class DyneSlangroomEditor {
<div class="space-y-4">
<Container>
<div class="flex justify-between items-center">
<Title name="Slangroom" />
<div class="flex items-baseline">
<Title name="Slangroom Editor" />
<p class="text-xs font-mono text-slate-300 ml-2">(v {version})</p>
</div>
<div class="flex items-center gap-2">
<slot name="topbar-right"></slot>
<dyne-button size="small" emphasis="high" onClick={() => this.executeContract()}>
Expand Down

0 comments on commit cb57cd8

Please sign in to comment.