diff --git a/src/assets/images/leaf_heart.svg b/src/assets/images/leaf_heart.svg new file mode 100644 index 0000000000..d4f89b872c --- /dev/null +++ b/src/assets/images/leaf_heart.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/pages/Portfolio/ImpactDashboard/EducationModule.vue b/src/pages/Portfolio/ImpactDashboard/EducationModule.vue new file mode 100644 index 0000000000..92720b13e7 --- /dev/null +++ b/src/pages/Portfolio/ImpactDashboard/EducationModule.vue @@ -0,0 +1,76 @@ + + + diff --git a/src/pages/Portfolio/ImpactDashboard/EducationPost.vue b/src/pages/Portfolio/ImpactDashboard/EducationPost.vue new file mode 100644 index 0000000000..191b02e2f8 --- /dev/null +++ b/src/pages/Portfolio/ImpactDashboard/EducationPost.vue @@ -0,0 +1,122 @@ + + + + + diff --git a/src/pages/Portfolio/ImpactDashboard/ImpactDashboardPage.vue b/src/pages/Portfolio/ImpactDashboard/ImpactDashboardPage.vue index 57c9da687e..47c7b9983e 100644 --- a/src/pages/Portfolio/ImpactDashboard/ImpactDashboardPage.vue +++ b/src/pages/Portfolio/ImpactDashboard/ImpactDashboardPage.vue @@ -8,11 +8,11 @@
+ - + -
@@ -35,8 +35,8 @@ import DistributionGraphs from './DistributionGraphs'; import KivaCreditStats from './KivaCreditStats'; import LendingInsights from './LendingInsights'; import RecentLoansList from './RecentLoansList'; -import RecommendedLoansList from './RecommendedLoansList'; import YourTeams from './YourTeams'; +import EducationModule from './EducationModule'; export default { name: 'ImpactDashboardPage', @@ -45,17 +45,22 @@ export default { AccountOverview, AccountUpdates, DistributionGraphs, + EducationModule, KivaCreditStats, KvGrid, KvPageContainer, LendingInsights, RecentLoansList, - RecommendedLoansList, TheMyKivaSecondaryMenu, ThePortfolioTertiaryMenu, WwwPage, YourTeams, }, + data() { + return { + showEdModule: true + }; + }, apollo: { preFetch(config, client) { return client.query({ @@ -70,6 +75,11 @@ export default { }); }, }, + methods: { + hideModule(payload) { + this.showEdModule = !payload; + } + }, mounted() { // Impact Dashboard page redesign experiment MARS-344 MARS-348 trackExperimentVersion( diff --git a/src/pages/Portfolio/ImpactDashboard/RecommendedLoanSlide.vue b/src/pages/Portfolio/ImpactDashboard/RecommendedLoanSlide.vue deleted file mode 100644 index 46f1ba4db6..0000000000 --- a/src/pages/Portfolio/ImpactDashboard/RecommendedLoanSlide.vue +++ /dev/null @@ -1,233 +0,0 @@ - - - - - diff --git a/src/pages/Portfolio/ImpactDashboard/RecommendedLoansList.vue b/src/pages/Portfolio/ImpactDashboard/RecommendedLoansList.vue deleted file mode 100644 index 1098f5bce6..0000000000 --- a/src/pages/Portfolio/ImpactDashboard/RecommendedLoansList.vue +++ /dev/null @@ -1,75 +0,0 @@ - - -