Skip to content

Commit

Permalink
feat: update waypoint number and put bold on icon text
Browse files Browse the repository at this point in the history
  • Loading branch information
joselegitan committed Nov 8, 2023
1 parent 21cac8c commit 61169c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions components/PoisCard/PoiCardLight.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
:picto="icon"
size="lg"
:image="undefined"
:text="position"
/>
{{ name }}
</h3>
Expand Down Expand Up @@ -77,6 +78,10 @@ export default defineNuxtComponent({
type: Object as PropType<ApiPoi>,
required: true,
},
position: {
type: String,
required: false,
},
},
data(): {
Expand Down
3 changes: 2 additions & 1 deletion components/PoisCard/PoisDeck.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
<div class="tw-flex tw-justify-between tw-flex-wrap tw-gap-6">
<component
:is="poisCard"
v-for="item in pois"
v-for="(item, index) in pois"
:key="item.properties.metadata.id"
:poi="item"
:position="(index + 1).toString()"
:class="[
'tw-grow-1',
!isFavorite(item.properties.metadata.id) &&
Expand Down
2 changes: 1 addition & 1 deletion components/UI/TeritorioIconBadge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
:picto="picto"
:image="image"
/>
<template v-else>{{ text }}</template>
<b v-else>{{ text }}</b>
<slot></slot>
</span>
</template>
Expand Down

0 comments on commit 61169c5

Please sign in to comment.