From 03a903d9245a1bc00a8d8dbf24763e3045ec897c Mon Sep 17 00:00:00 2001
From: Marc Bernard <59966492+mbtools@users.noreply.github.com>
Date: Mon, 15 Jul 2024 17:41:02 -0400
Subject: [PATCH] fix favicon
---
config.yaml | 13 +++++----
.../src/middlewares/web/render-web.ts | 10 ++++++-
.../src/middlewares/web/utils/renderHTML.ts | 2 ++
packages/middleware/test/config/favicon.ico | Bin 0 -> 15086 bytes
.../middleware/test/config/file-logo.yaml | 1 +
.../middleware/test/config/http-logo.yaml | 26 ++++++++++++++++++
packages/middleware/test/config/no-logo.yaml | 1 +
packages/middleware/test/render.spec.ts | 16 +++++++++++
8 files changed, 63 insertions(+), 6 deletions(-)
create mode 100644 packages/middleware/test/config/favicon.ico
create mode 100644 packages/middleware/test/config/http-logo.yaml
diff --git a/config.yaml b/config.yaml
index bc4744309..85bda98ee 100644
--- a/config.yaml
+++ b/config.yaml
@@ -23,9 +23,10 @@ plugins: /verdaccio/plugins
web:
enable: true
title: apm - A Package Manager for ABAP
- logo: /verdaccio/abappm/apm_banner_gray.png
+ logo: /verdaccio/abappm/apm_banner.png
+ logoDark: /verdaccio/abappm/apm_banner_gray.png
favicon: /verdaccio/abappm/apm.ico
- primary_color: '#a0a0a0'
+ primaryColor: '#c0c0c0'
darkMode: true
gravatar: true
# by default packages are ordercer ascendant (asc|desc)
@@ -38,7 +39,8 @@ web:
pkgManagers:
- apm
showInfo: false
- # showSettings: true
+ showUplinks: false
+ showSettings: false
# In combination with darkMode you can force specific theme
# showThemeSwitch: true
# showFooter: true
@@ -51,13 +53,14 @@ web:
# HTML tags injected before ends
metaScripts:
- ''
+ - ''
# - ''
# - ''
# HTML tags injected first child at