Skip to content

Commit

Permalink
cpmCard fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Cabra Teixeira committed Aug 20, 2020
1 parent 2d1f5b7 commit 5b39d84
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/cpmCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@
<v-app-bar color="white" class="d-flex align-center" dense>

<v-avatar size="36">
<v-img :src="avatar"></v-img>
<v-img :src="user_avatar"></v-img>
</v-avatar>

<div class="ml-3">{{card.name}}</div>

<div class="ml-3">{{card.date}}</div>
<div class="ml-3">{{card.eventDate}}</div>

</v-app-bar>

<v-img contain max-width="600px" max-height="600px" :src="img"></v-img>
<v-img contain max-width="600px" max-height="600px" :src="card.img"></v-img>

<v-card-title>
<h2>{{card.eventName}}</h2>
<h2>{{card.title}}</h2>
</v-card-title>

<v-card-text>
<p>{{card.description}}</p>
</v-card-text>

<v-card-subtitle>
<p>Criado em {{card.creationDate}}</p>
<p>Criado em {{card.createdAt}}</p>
</v-card-subtitle>

<v-expansion-panels>
Expand All @@ -46,7 +46,7 @@
<script>
export default {
name: 'Card',
props: ['cardData'],
props: ['cardData', 'user_avatar'],
data() {
return {
card: this.cardData
Expand Down

0 comments on commit 5b39d84

Please sign in to comment.