Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
razbakov committed Feb 13, 2024
1 parent 43342eb commit 057d70e
Showing 1 changed file with 30 additions and 29 deletions.
59 changes: 30 additions & 29 deletions pages/events/_id/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
<div>
{{ formatDate(doc.startDate, 'HH:mm') }}
<span v-if="doc.endDate">
&mdash; {{ formatDate(doc.endDate, 'HH:mm') }}</span>
&mdash; {{ formatDate(doc.endDate, 'HH:mm') }}</span
>
</div>
<div>·</div>
<div>
Expand All @@ -52,34 +53,34 @@
{{ $t('event.attendCallToAction') }}
</div>
<div
class="sticky top-0 z-40 flex justify-center items-center gap-2 bg-white p-4 shadow"
>
<TReaction
type="primary"
toggled-class="bg-green-500 hover:bg-green-800"
:label="$t('event.attend')"
:toggled-label="$t('event.attending')"
icon="PlusIcon"
toggled-icon="CheckIcon"
field="star"
class="rounded-full"
hide-count
:item="doc"
/>
<TButtonShare
:id="doc.id"
collection="events"
:doc="doc"
:place="doc.place"
:file="doc.socialCover"
:file-name="doc.name"
:url="`https://wedance.vip/events/${item.id}`"
:text="doc.name"
type="simple"
class="rounded-full"
:label="$t('eventView.dropdown.share')"
/>
</div>
class="sticky top-0 z-40 flex justify-center items-center gap-2 bg-white p-4 shadow"
>
<TReaction
type="primary"
toggled-class="bg-green-500 hover:bg-green-800"
:label="$t('event.attend')"
:toggled-label="$t('event.attending')"
icon="PlusIcon"
toggled-icon="CheckIcon"
field="star"
class="rounded-full"
hide-count
:item="doc"
/>
<TButtonShare
:id="doc.id"
collection="events"
:doc="doc"
:place="doc.place"
:file="doc.socialCover"
:file-name="doc.name"
:url="`https://wedance.vip/events/${item.id}`"
:text="doc.name"
type="simple"
class="rounded-full"
:label="$t('eventView.dropdown.share')"
/>
</div>

<div
class="grid grid-cols-1"
Expand Down

0 comments on commit 057d70e

Please sign in to comment.