From bca4c7e0dfcd03c01998d557422b733ba408ecab Mon Sep 17 00:00:00 2001 From: Dhruv Bhanushali <119250923+theDRB123@users.noreply.github.com> Date: Tue, 13 May 2025 10:00:43 +0530 Subject: [PATCH] Modified state service to use angor branding --- frontend/src/app/services/state.service.ts | 17 ++++++++++++++++- .../resources/angor/angor-logo-text-light.svg | 9 +++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 frontend/src/resources/angor/angor-logo-text-light.svg diff --git a/frontend/src/app/services/state.service.ts b/frontend/src/app/services/state.service.ts index 1cd1b6c90d..99b01bc02d 100644 --- a/frontend/src/app/services/state.service.ts +++ b/frontend/src/app/services/state.service.ts @@ -126,7 +126,22 @@ const defaultEnv: Env = { 'ADDITIONAL_CURRENCIES': false, 'SERVICES_API': 'https://mempool.space/api/v1/services', 'PROD_DOMAINS': [], - 'ANGOR_ENABLED': false + 'ANGOR_ENABLED': false, + 'customize': { + 'theme': 'default', // Theme of the application (e.g., 'default', 'dark', 'light') + 'enterprise': 'Angor', // Optional: Identifier for enterprise-specific customizations + 'branding': { + 'name': 'Angor', // Name of the enterprise or branding + 'title': 'Angor Dashboard', // Title to display in the application + 'img': '/resources/angor/angor-logo-text-light.svg', // Path to the main logo + 'header_img': '/resources/angor/angor-logo-text-light.svg', // Path to the header logo + 'footer_img': '/resources/angor/angor-logo-text-light.svg', // Path to the footer logo + 'rounded_corner': true // Whether the logos should have rounded corners + }, + 'dashboard': { + 'widgets': [] + } + } }; @Injectable({ diff --git a/frontend/src/resources/angor/angor-logo-text-light.svg b/frontend/src/resources/angor/angor-logo-text-light.svg new file mode 100644 index 0000000000..34a6e76b21 --- /dev/null +++ b/frontend/src/resources/angor/angor-logo-text-light.svg @@ -0,0 +1,9 @@ + + + + + + + + +