We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99ebb33 commit 90e7125Copy full SHA for 90e7125
src/components/BaseIcon.vue
@@ -3,6 +3,7 @@
3
<svg class='icon' :width="width" :height="height">
4
<use v-bind="{'xlink:href':'/feather-sprite.svg#' + name}"/>
5
</svg>
6
+ <slot></slot>
7
</div>
8
</template>
9
src/components/EventCard.vue
@@ -3,8 +3,7 @@
<div class="event-card -shadow">
<span class="eyebrow">@{{ event.time }} on {{ event.date }}</span>
<h4 class="title">{{ event.title }}</h4>
- <BaseIcon name="users" />
- <span>{{ event.attendees.length }} attending</span>
+ <BaseIcon name="users">{{ event.attendees.length }} attending</BaseIcon>
</router-link>
10
0 commit comments