diff --git a/datahub-web/documentation/guides/CHANGING-LOGO.md b/datahub-web/documentation/guides/CHANGING-LOGO.md new file mode 100644 index 00000000000000..2f30093f227813 --- /dev/null +++ b/datahub-web/documentation/guides/CHANGING-LOGO.md @@ -0,0 +1,11 @@ +# Changing the DataHub logo + +## Tags +change, logo, image, favicon + +## Instructions + +- Navigate to `datahub-web/packages/data-portal/public/assets` directory +- To change the favicon, replace `favicon.ico` with your own favicon image +- To change the logo on the navbar, we are currently restricted to using just svg images. Replace + `images/svgs/app-logo.svg` with your own desired image \ No newline at end of file diff --git a/datahub-web/packages/data-portal/app/templates/components/navbar.hbs b/datahub-web/packages/data-portal/app/templates/components/navbar.hbs index 53dd70b7b01dad..6e782e070930c9 100644 --- a/datahub-web/packages/data-portal/app/templates/components/navbar.hbs +++ b/datahub-web/packages/data-portal/app/templates/components/navbar.hbs @@ -20,7 +20,7 @@ - {{svg-jar "inbug" width="34px" height="34px"}} + {{svg-jar "app-logo" width="34px" height="34px"}} {{this.appName}} diff --git a/datahub-web/packages/data-portal/public/assets/favicon.ico b/datahub-web/packages/data-portal/public/assets/favicon.ico index 1c6741c16516dc..35687ad4fba404 100755 Binary files a/datahub-web/packages/data-portal/public/assets/favicon.ico and b/datahub-web/packages/data-portal/public/assets/favicon.ico differ diff --git a/datahub-web/packages/data-portal/public/assets/images/svgs/app-logo.svg b/datahub-web/packages/data-portal/public/assets/images/svgs/app-logo.svg new file mode 100644 index 00000000000000..63dafbc3e9882a --- /dev/null +++ b/datahub-web/packages/data-portal/public/assets/images/svgs/app-logo.svg @@ -0,0 +1,3 @@ + + + diff --git a/datahub-web/packages/data-portal/public/assets/images/svgs/inbug.svg b/datahub-web/packages/data-portal/public/assets/images/svgs/inbug.svg deleted file mode 100644 index 164d9e31962c6a..00000000000000 --- a/datahub-web/packages/data-portal/public/assets/images/svgs/inbug.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file