Skip to content

Commit

Permalink
NOISSUE - Add config file for the UI customization (#30)
Browse files Browse the repository at this point in the history
* add config file

Signed-off-by: wambuipixel <[email protected]>

* fix: exclude json files from license checks

Signed-off-by: wambuipixel <[email protected]>

* add logo

Signed-off-by: wambuipixel <[email protected]>

* fix: remove check license for svg files

Signed-off-by: wambuipixel <[email protected]>

* fix: add slash to src

Signed-off-by: wambuipixel <[email protected]>

* rename logo

Signed-off-by: wambuipixel <[email protected]>

---------

Signed-off-by: wambuipixel <[email protected]>
  • Loading branch information
wambui-pixel authored Oct 30, 2024
1 parent af83e34 commit cae0a2f
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Check License Header
run: |
CHECK=$(grep -rcL --exclude-dir={.git,build} \
--exclude=\*.{crt,key,pem,zed,md,mod,sum,tmpl,txt,in,desc,service} \
--exclude=\*.{crt,key,pem,zed,md,mod,sum,tmpl,txt,in,desc,service,json,svg} \
--exclude=LICENSE \
--regexp "Copyright (c) Ultraviolet\|Copyright (c) Abstract Machines" .)
if [ "$CHECK" ]; then
Expand Down
21 changes: 21 additions & 0 deletions ui/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"Configuration": {
"font": "roboto",
"logo": {
"src": {
"defaultLogo": "/logo.svg",
"altLogo": "/logo.svg"
},
"alt": "Cube AI Logo",
"height": 64,
"width": 250,
"mobileWidth": 50,
"mobileHeight": 64,
"homeTopbarWidth": 40,
"homeTopbarHeight": 64,
"navbarWidth": 60,
"navbarHeight": 64,
"link": "https://github.com/ultravioletrs/cube"
}
}
}
18 changes: 18 additions & 0 deletions ui/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cae0a2f

Please sign in to comment.