diff --git a/src/assets/icons/inline/two-hands-heart.svg b/src/assets/icons/inline/two-hands-heart.svg new file mode 100644 index 0000000000..72a2c78307 --- /dev/null +++ b/src/assets/icons/inline/two-hands-heart.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/src/components/Teams/TeamGoal.vue b/src/components/Teams/TeamGoal.vue new file mode 100644 index 0000000000..02fb058e33 --- /dev/null +++ b/src/components/Teams/TeamGoal.vue @@ -0,0 +1,142 @@ + + + diff --git a/src/components/Teams/TeamGoalsList.vue b/src/components/Teams/TeamGoalsList.vue new file mode 100644 index 0000000000..5db53be258 --- /dev/null +++ b/src/components/Teams/TeamGoalsList.vue @@ -0,0 +1,68 @@ + + + diff --git a/src/graphql/query/teamInfoFromId.graphql b/src/graphql/query/teamInfoFromId.graphql index cf4b20371a..e485e51114 100644 --- a/src/graphql/query/teamInfoFromId.graphql +++ b/src/graphql/query/teamInfoFromId.graphql @@ -4,6 +4,12 @@ query teamInfoFromId($team_id: Int, $team_recruitment_id: Int, $team_ids: [Int]) id name membershipType + loanBecause + image{ + id + url + } + teamPublicId } } my { diff --git a/src/graphql/query/teamsGoals.graphql b/src/graphql/query/teamsGoals.graphql new file mode 100644 index 0000000000..7c8fb1e37f --- /dev/null +++ b/src/graphql/query/teamsGoals.graphql @@ -0,0 +1,30 @@ +query GetGoals { + getGoals(filters: { audienceType: TEAM, isActive: true}) { + totalCount + values { + id + description + name + participation { + totalCount + values { + lenderId + } + } + status + targets { + totalCount + values { + ... on LoanTarget { + loanId + status + } + } + } + endDate + ... on TeamGoal { + teamId + } + } + } +} diff --git a/src/pages/LendingTeams/LendingTeams.vue b/src/pages/LendingTeams/LendingTeams.vue index aaad758b7b..54fd56c55c 100644 --- a/src/pages/LendingTeams/LendingTeams.vue +++ b/src/pages/LendingTeams/LendingTeams.vue @@ -1,5 +1,6 @@