From f6a0a069492561c325bdbc21066028b39d6bf877 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 14 Oct 2024 21:54:29 +0100 Subject: [PATCH 1/6] feat: extension home forecasts link --- .../src/app/material.module.ts | 3 +- .../pages/home/extension-home.component.html | 71 ++++++++++++++----- .../pages/home/extension-home.component.scss | 27 ++++--- .../pages/home/extension-home.component.ts | 61 +++++++++++----- .../extension_content/svgs/forecasts_tool.svg | 11 +++ 5 files changed, 124 insertions(+), 49 deletions(-) create mode 100644 libs/data/extension_content/svgs/forecasts_tool.svg diff --git a/apps/picsa-tools/extension-content/src/app/material.module.ts b/apps/picsa-tools/extension-content/src/app/material.module.ts index 5fe59349d..acf5e9b54 100644 --- a/apps/picsa-tools/extension-content/src/app/material.module.ts +++ b/apps/picsa-tools/extension-content/src/app/material.module.ts @@ -25,6 +25,8 @@ export class ExtensionToolkitMaterialModule { 'climate_tool', 'data_collection', 'discussions', + 'farmer_activity', + 'forecasts_tool', 'manual_tool', 'option_tool', 'play_store', @@ -33,7 +35,6 @@ export class ExtensionToolkitMaterialModule { 'seasonal_calendar_tool', 'tutorial', 'whatsapp', - 'farmer_activity', ]; for (const icon of icons) { diff --git a/apps/picsa-tools/extension-content/src/app/pages/home/extension-home.component.html b/apps/picsa-tools/extension-content/src/app/pages/home/extension-home.component.html index 2a96d76ef..2fe28fd17 100644 --- a/apps/picsa-tools/extension-content/src/app/pages/home/extension-home.component.html +++ b/apps/picsa-tools/extension-content/src/app/pages/home/extension-home.component.html @@ -3,29 +3,62 @@
-