Skip to content

Commit

Permalink
adding version tag to ui per request
Browse files Browse the repository at this point in the history
  • Loading branch information
karnthis committed Feb 21, 2024
1 parent 7939b90 commit 28bc0d5
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<template>
<nav>
<ul>

<li v-for="(item, index) in navItems" :key="index">
<router-link :to="item.path">
<span class="text">{{ item.label }}</span>
</router-link>
</li>
</ul>
<div class="version">
<span>alpha: v0.2.42</span>
</div>
</nav>
</template>

Expand All @@ -16,12 +18,26 @@
</script>

<style lang="scss" scoped>
nav {
display: flex;
flex-direction: row;
justify-content: space-between;
background-color: #333;
color: white;
}
.version {
width: 115px;
display: flex;
align-items: center;
justify-content: center;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
Expand Down

0 comments on commit 28bc0d5

Please sign in to comment.