Haris Razis
4 years ago
2 changed files with 40 additions and 5 deletions
@ -0,0 +1,29 @@ |
|||||
|
<template> |
||||
|
<section class="hero is-primary is-bold"> |
||||
|
<div class="hero-body"> |
||||
|
<div class="container"> |
||||
|
<h3 class="is-size-3"> |
||||
|
<span class="icon"> |
||||
|
<i class="fas fa-stream"></i> |
||||
|
</span> |
||||
|
<span>  Welcome {{ username }},</span> |
||||
|
</h3> |
||||
|
<h2 class="subtitle mt-3"> |
||||
|
|
||||
|
</h2> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
</template> |
||||
|
|
||||
|
<script lang="ts"> |
||||
|
import {Vue} from 'vue-class-component'; |
||||
|
|
||||
|
export default class Hero extends Vue { |
||||
|
private username = ''; |
||||
|
|
||||
|
mounted() { |
||||
|
this.username = this.$store.getters.user.username |
||||
|
} |
||||
|
} |
||||
|
</script> |
Loading…
Reference in new issue