Skip to content

Commit

Permalink
MTR theme added
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 committed Aug 10, 2022
1 parent df82e9f commit 1f152c5
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 2 deletions.
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -396,5 +396,18 @@
<windup.distribution.name>tackle-cli</windup.distribution.name>
</properties>
</profile>
<profile>
<id>mtr</id>
<activation>
<property>
<name>downstream</name>
<value>mtr</value>
</property>
</activation>
<properties>
<product-name>mtr</product-name>
<windup.distribution.name>mtr-cli</windup.distribution.name>
</properties>
</profile>
</profiles>
</project>
1 change: 0 additions & 1 deletion ui-pf4/src/main/webapp/src/images/mta-short.svg

This file was deleted.

Binary file added ui-pf4/src/main/webapp/src/images/mtr-favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui-pf4/src/main/webapp/src/images/mtr-logo-header.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions ui-pf4/src/main/webapp/src/images/mtr-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion ui-pf4/src/main/webapp/src/layout/ThemeUtils.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
import windupLogo from "images/windup-logo.svg";
import mtaLogo from "images/mta-logo.svg";
import tackleLogo from "images/tackle-logo.png";
import mtrLogo from "images/mtr-logo.svg";

import windupNavBrandImage from "images/windup-logo-header.svg";
import mtaNavBrandImage from "images/mta-logo-header.svg";
import tackleNavBrandImage from "images/tackle-logo-header.svg";
import mtrNavBrandImage from "images/mtr-logo-header.svg";

import windupFavicon from "images/windup-favicon.png";
import mtaFavicon from "images/mta-favicon.png";
import tackleFavicon from "images/tackle-favicon.png";
import mtrFavicon from "images/mtr-favicon.png";

export const PFTheme: "light" | "dark" = "dark";

type ThemeType = "windup" | "mta" | "tackle";
type ThemeType = "windup" | "mta" | "tackle" | "mtr";
type ThemeListType = {
[key in ThemeType]: {
name: string;
Expand Down Expand Up @@ -50,6 +53,15 @@ const themeList: ThemeListType = {
websiteURL: "https://konveyor.github.io/tackle/",
documentationURL: "https://konveyor.github.io/tackle/",
},
mtr: {
name: "Migration Toolkit for Runtimes",
logoSrc: mtrLogo,
logoNavbarSrc: mtrNavBrandImage,
faviconSrc: mtrFavicon,
websiteURL: "https://developers.redhat.com/products/mta/overview/",
documentationURL:
"https://access.redhat.com/documentation/en-us/migration_toolkit_for_applications/",
},
};

export const Theme =
Expand Down

0 comments on commit 1f152c5

Please sign in to comment.