Skip to content

Commit

Permalink
Fix v-card-actions component
Browse files Browse the repository at this point in the history
Add icons to EventCard content
  • Loading branch information
pepas24 committed Feb 28, 2019
1 parent dc696f8 commit b88a5be
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/components/EventCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,24 @@
<v-layout>
<v-card-title primary-title>
<v-flex>
<div class="headline">{{ event.title }}</div>
<div>@{{ event.time }} on {{ event.date }}</div>
<div>{{ event.attendees.length }} attending</div>
<div class="headline mb-2">{{ event.title }}</div>
<div class="mb-2">
<v-icon class="mr-2">calendar_today</v-icon>
<span class="body-2">@{{ event.time }} on {{ event.date }}</span>
</div>
<div class="mb-2">
<v-icon class="mr-2">supervised_user_circle</v-icon>
<span>{{ event.attendees.length }} attending</span>
</div>
</v-flex>
</v-card-title>
</v-layout>
<v-divider></v-divider>
<v-card-action>
<v-card-actions>
<v-btn flat :to="{ name: 'event-show', params: { id: id } }">
Show Event
</v-btn>
</v-card-action>
</v-card-actions>
</v-card>
</template>

Expand Down

0 comments on commit b88a5be

Please sign in to comment.