|
@ -139,87 +139,6 @@ Raymer * @version 1.0.0 */ |
|
|
|
|
|
|
|
|
<!-- Results List --> |
|
|
<!-- Results List --> |
|
|
<div class="mt-4 mb-4"> |
|
|
<div class="mt-4 mb-4"> |
|
|
<!-- ALTERNATIVE UI: Feed + Notification Accordion --> |
|
|
|
|
|
<div v-if="false" class="text-lg font-semibold border-t border-slate-300"> |
|
|
|
|
|
<button |
|
|
|
|
|
class="w-full flex justify-between items-center gap-1 border-b border-slate-300 py-2 leading-none" |
|
|
|
|
|
> |
|
|
|
|
|
<font-awesome |
|
|
|
|
|
icon="chevron-right" |
|
|
|
|
|
class="fa-fw text-xs text-slate-500" |
|
|
|
|
|
/> |
|
|
|
|
|
<font-awesome icon="scroll" class="fa-fw text-slate-500" /> |
|
|
|
|
|
<div class="me-auto text-base">Feed</div> |
|
|
|
|
|
</button> |
|
|
|
|
|
<button |
|
|
|
|
|
class="w-full flex justify-between items-center gap-1 border-b border-slate-300 py-2 leading-none" |
|
|
|
|
|
> |
|
|
|
|
|
<font-awesome |
|
|
|
|
|
icon="chevron-right" |
|
|
|
|
|
class="fa-fw text-xs text-slate-500" |
|
|
|
|
|
/> |
|
|
|
|
|
<font-awesome |
|
|
|
|
|
icon="hand-holding-heart" |
|
|
|
|
|
class="fa-fw text-slate-500" |
|
|
|
|
|
/> |
|
|
|
|
|
<div class="me-auto text-base">Offers</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Unread count --> |
|
|
|
|
|
<span |
|
|
|
|
|
class="bg-rose-500 text-white text-sm font-semibold leading-none rounded-full px-[0.4em] py-[0.15em]" |
|
|
|
|
|
>2</span |
|
|
|
|
|
> |
|
|
|
|
|
</button> |
|
|
|
|
|
<button |
|
|
|
|
|
class="w-full flex justify-between items-center gap-1 border-b border-slate-300 py-2 leading-none" |
|
|
|
|
|
> |
|
|
|
|
|
<font-awesome |
|
|
|
|
|
icon="chevron-right" |
|
|
|
|
|
class="fa-fw text-xs text-slate-500" |
|
|
|
|
|
/> |
|
|
|
|
|
<font-awesome icon="folder-open" class="fa-fw text-slate-500" /> |
|
|
|
|
|
<div class="me-auto text-base">Projects</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Unread count --> |
|
|
|
|
|
<span |
|
|
|
|
|
class="bg-rose-500 text-white text-sm font-semibold leading-none rounded-full px-[0.4em] py-[0.15em]" |
|
|
|
|
|
>50+</span |
|
|
|
|
|
> |
|
|
|
|
|
</button> |
|
|
|
|
|
<button |
|
|
|
|
|
class="w-full flex justify-between items-center gap-1 border-b border-slate-300 py-2 leading-none" |
|
|
|
|
|
> |
|
|
|
|
|
<font-awesome |
|
|
|
|
|
icon="chevron-right" |
|
|
|
|
|
class="fa-fw text-xs text-slate-500" |
|
|
|
|
|
/> |
|
|
|
|
|
<font-awesome icon="users" class="fa-fw text-slate-500" /> |
|
|
|
|
|
<div class="me-auto text-base">People</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Unread count --> |
|
|
|
|
|
<span |
|
|
|
|
|
class="bg-rose-500 text-white text-sm font-semibold leading-none rounded-full px-[0.4em] py-[0.15em]" |
|
|
|
|
|
>4</span |
|
|
|
|
|
> |
|
|
|
|
|
</button> |
|
|
|
|
|
<button |
|
|
|
|
|
class="w-full flex justify-between items-center gap-1 border-b border-slate-300 py-2 leading-none" |
|
|
|
|
|
> |
|
|
|
|
|
<font-awesome |
|
|
|
|
|
icon="chevron-right" |
|
|
|
|
|
class="fa-fw text-xs text-slate-500" |
|
|
|
|
|
/> |
|
|
|
|
|
<font-awesome icon="image" class="fa-fw text-slate-500" /> |
|
|
|
|
|
<div class="me-auto text-base">Items</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Unread count --> |
|
|
|
|
|
<span |
|
|
|
|
|
class="bg-rose-500 text-white text-sm font-semibold leading-none rounded-full px-[0.4em] py-[0.15em]" |
|
|
|
|
|
>7</span |
|
|
|
|
|
> |
|
|
|
|
|
</button> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- ALTERNATIVE UI: Feed + Notification Tabs --> |
|
|
<!-- ALTERNATIVE UI: Feed + Notification Tabs --> |
|
|
<div |
|
|
<div |
|
|
class="sticky top-0 z-50 grid grid-cols-5 text-xl sm:text-2xl pt-4 pb-1 px-1 -mt-3 -mx-1 mb-4 bg-white rounded-b-[10px]" |
|
|
class="sticky top-0 z-50 grid grid-cols-5 text-xl sm:text-2xl pt-4 pb-1 px-1 -mt-3 -mx-1 mb-4 bg-white rounded-b-[10px]" |
|
@ -301,66 +220,6 @@ Raymer * @version 1.0.0 */ |
|
|
</div> |
|
|
</div> |
|
|
<FeedFilters ref="feedFilters" /> |
|
|
<FeedFilters ref="feedFilters" /> |
|
|
|
|
|
|
|
|
<!-- Notification Counts --> |
|
|
|
|
|
<div |
|
|
|
|
|
v-if="false" |
|
|
|
|
|
class="bg-gradient-to-b from-green-400 to-green-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] px-3 py-2 rounded-lg text-white cursor-pointer" |
|
|
|
|
|
@click="goToActivityToUserPage()" |
|
|
|
|
|
> |
|
|
|
|
|
<div class="flex items-center justify-center gap-0.5"> |
|
|
|
|
|
<!-- Offers --> |
|
|
|
|
|
<div |
|
|
|
|
|
v-if="numNewOffersToUser" |
|
|
|
|
|
class="flex items-baseline gap-1 bg-black/20 px-3 py-1 first:rounded-s last:rounded-e" |
|
|
|
|
|
> |
|
|
|
|
|
<span |
|
|
|
|
|
class="text-2xl sm:text-3xl font-bold leading-none" |
|
|
|
|
|
data-testId="newDirectOffersActivityNumber" |
|
|
|
|
|
> |
|
|
|
|
|
{{ numNewOffersToUser |
|
|
|
|
|
}}<span class="font-normal text-xl leading-none">{{ |
|
|
|
|
|
newOffersToUserHitLimit ? "+" : "" |
|
|
|
|
|
}}</span> |
|
|
|
|
|
</span> |
|
|
|
|
|
<font-awesome icon="hand-holding-heart" class="text-xs" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
<!-- Project Activity --> |
|
|
|
|
|
<div |
|
|
|
|
|
v-if="numNewOffersToUserProjects" |
|
|
|
|
|
class="flex items-baseline gap-1 bg-black/20 px-3 py-1 first:rounded-s last:rounded-e" |
|
|
|
|
|
> |
|
|
|
|
|
<span |
|
|
|
|
|
class="text-2xl sm:text-3xl font-bold leading-none" |
|
|
|
|
|
data-testId="newOffersToUserProjectsActivityNumber" |
|
|
|
|
|
> |
|
|
|
|
|
{{ numNewOffersToUserProjects |
|
|
|
|
|
}}<span class="font-normal text-xl leading-none">{{ |
|
|
|
|
|
newOffersToUserProjectsHitLimit ? "+" : "" |
|
|
|
|
|
}}</span> |
|
|
|
|
|
</span> |
|
|
|
|
|
<font-awesome icon="folder-open" class="text-xs" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
<!-- Contact Activity --> |
|
|
|
|
|
<div |
|
|
|
|
|
class="flex items-baseline gap-1 bg-black/20 px-3 py-1 first:rounded-s last:rounded-e" |
|
|
|
|
|
> |
|
|
|
|
|
<span class="text-2xl sm:text-3xl font-bold leading-none"> 4 </span> |
|
|
|
|
|
<font-awesome icon="user" class="text-xs" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
<!-- Item Activity --> |
|
|
|
|
|
<div |
|
|
|
|
|
class="flex items-baseline gap-1 bg-black/20 px-3 py-1 first:rounded-s last:rounded-e" |
|
|
|
|
|
> |
|
|
|
|
|
<span class="text-2xl sm:text-3xl font-bold leading-none"> 7 </span> |
|
|
|
|
|
<font-awesome icon="image" class="text-xs" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div |
|
|
|
|
|
class="text-center mt-1.5 leading-none text-xs sm:text-sm uppercase" |
|
|
|
|
|
> |
|
|
|
|
|
View Notifications |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<InfiniteScroll @reached-bottom="loadMoreGives"> |
|
|
<InfiniteScroll @reached-bottom="loadMoreGives"> |
|
|
<ul id="listLatestActivity" class="space-y-4"> |
|
|
<ul id="listLatestActivity" class="space-y-4"> |
|
|
<ActivityListItem |
|
|
<ActivityListItem |
|
|