Skip to content

Instantly share code, notes, and snippets.

@spiritbroski
Created December 5, 2020 03:09
Show Gist options
  • Select an option

  • Save spiritbroski/d105544c5de4f3f8dbdc3d548c3e860c to your computer and use it in GitHub Desktop.

Select an option

Save spiritbroski/d105544c5de4f3f8dbdc3d548c3e860c to your computer and use it in GitHub Desktop.
<template>
<v-row>
<v-card max-width="344" outlined>
<v-list-item three-line>
<v-list-item-content>
<v-list-item-title class="headline mb-1">
Github Username
</v-list-item-title>
<v-list-item-title class="text-h5">{{username}}</v-list-item-title>
</v-list-item-content>
<v-list-item-avatar size="80" color="grey">
<v-img :src="profilePhoto" />
</v-list-item-avatar>
</v-list-item>
</v-card>
<v-card class="mx-5" max-width="344" outlined>
<v-list-item three-line>
<v-list-item-content>
<v-list-item-title class="headline mb-1"> Balance </v-list-item-title>
<v-list-item-title>
<v-row justify="space-between">
<v-col class="font-weight-bold text-h5">$ 1000</v-col>
<v-col><v-btn color="green">withdraw</v-btn></v-col>
</v-row>
</v-list-item-title>
</v-list-item-content>
</v-list-item>
</v-card>
</v-row>
</template>
<script lang="ts">
import { Component, Vue, Prop } from 'nuxt-property-decorator'
@Component
export default class MyStore extends Vue {
@Prop({ required: true }) readonly username!: string
@Prop({ required: true }) readonly profilePhoto!: string
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment