Skip to content

Commit

Permalink
feat: logo & printer name now link to dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
cadriel committed Dec 19, 2020
1 parent 643b737 commit 793ad14
Showing 1 changed file with 23 additions and 18 deletions.
41 changes: 23 additions & 18 deletions src/components/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,23 @@
clipped-right
>
<v-container fluid class="flex-nowrap constrained-width pa-0 fill-height">
<v-img
alt="Fluidd"
class="shrink mr-4"
contain
:src="require('@/assets/logo.svg')"
transition="scale-transition"
width="35"
height="40"
/>
<v-toolbar-title class="title text--secondary font-weight-light text-h4 mr-5">
{{ instanceName }}
<router-link to="/">
<v-img
alt="Fluidd"
class="shrink mr-4"
contain
:src="require('@/assets/logo.svg')"
transition="scale-transition"
width="35"
height="40"
/>
</router-link>
<v-toolbar-title
class="printer-title text--secondary font-weight-light text-h4 mr-5"
>
<router-link to="/">
{{ instanceName }}
</router-link>
</v-toolbar-title>
<v-spacer />
<v-toolbar-items>
Expand Down Expand Up @@ -106,15 +112,14 @@ export default class AppBar extends Mixins(UtilsMixin) {
</script>

<style lang="scss" scoped>
.title {
.printer-title {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
// .logo {
// margin-right: 12px;
// max-height: 40px;
// max-width: 40px;
// object-fit: contain;
// }
.printer-title > a {
color: inherit;
text-decoration: none;
}
</style>

0 comments on commit 793ad14

Please sign in to comment.