Skip to content

Commit 5422690

Browse files
committed
render version in footer
1 parent a8537bc commit 5422690

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/App.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,13 @@
7676
<v-footer dense app style="z-index: 10">
7777
<v-row style="display: contents;">
7878
<div style="line-height: 28px;">
79-
Duino.App &copy; {{ new Date().getFullYear() }}
79+
<small>
80+
Duino App
81+
&copy;
82+
{{ (new Date()).getFullYear() }}
83+
&dash;
84+
v{{version}}
85+
</small>
8086
</div>
8187
<div class="ml-2">
8288
<v-btn href="https://github.com/duinoapp/duinoapp-client/issues" target="_blank" rel="noopener noreferrer" text small>
@@ -117,6 +123,7 @@ import UploadBtn from './components/program/upload.vue';
117123
import CompileConsole from './components/program/console.vue';
118124
import Coffee from './components/coffee.vue';
119125
import ImportantUpdate from './components/general/important-update.vue';
126+
import { version } from '../package.json';
120127
121128
export default {
122129
name: 'App',
@@ -137,6 +144,7 @@ export default {
137144
return {
138145
serialReady: false,
139146
tab: 'program',
147+
version,
140148
};
141149
},
142150
methods: {

src/views/Home.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/>
1111
</v-col>
1212
<v-col md="8" lg="6" class="text-center">
13-
<h1 class="text-h1">Welcome to Duino.App</h1>
13+
<h1 class="text-h1">Welcome to Duino App</h1>
1414
</v-col>
1515
<v-col cols="12">&nbsp;</v-col>
1616
<v-col cols="auto" class="text-center">
@@ -24,7 +24,7 @@
2424
</p>
2525
<ol class="text-left">
2626
<li>Create a project and write your code.</li>
27-
<li>Select a compile server with a low ping.</li>
27+
<li>Select a compile server.</li>
2828
<li>Select which board you're using.</li>
2929
<li>Select a serial port to upload to.</li>
3030
<li>Press the upload button in the top right.</li>

0 commit comments

Comments
 (0)