Logo Tools (#158)

* Logo Tools

* Moved to /tools/logo; Checks dependencies first and stops if they are not there; Added information about 3_remove_branding_from_projectpage.sh in README ; reordered the commands of 1_convert.sh to avoid the logo-horizontal.png problem
This commit is contained in:
David Rotermund
2026-03-28 22:50:01 +01:00
committed by yu-i-i
parent 206c9cbda0
commit 6427c3aafd
12 changed files with 1016 additions and 0 deletions

26
tools/logo/README.md Normal file
View File

@@ -0,0 +1,26 @@
# Overview
We assume that two files exist:
* logo.svg (short version of the logo)
* logo_full.svg (wide version of the logo with e.g. University of Somewhere)
# 1_convert.sh
It does a lot of converting logos from one format to another and scales & changes colors of the logo for producing the required set of files.
In the moment it mainly uses inkscape and imagemagick as tools.
# 2_install.sh
This script copies the files to the correct positions before compilation. I seperated the scripts, since you may want to check the logos beforehand. Or do changes by hand.
e.g. I don't like overleaf-a-ds-solution-mallard.svg as a long logo.
# 3_remove_branding_from_projectpage.sh
This script is a maintenance utility designed to modify the project list sidebar by removing specific branding elements from the frontend source code.
Target File: services/web/frontend/js/features/project-list/components/sidebar/sidebar-ds-nav.tsx
Action: Removes the <div ... className="ds-nav-ds-name" ...>...</div> block