Skip to content

Commit

Permalink
fixup! feat: multitheme logos
Browse files Browse the repository at this point in the history
  • Loading branch information
shauke committed Feb 24, 2020
1 parent 1daafe8 commit 2a4ac2f
Show file tree
Hide file tree
Showing 15 changed files with 9 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ deploy_demo_b2b:
--name ${SERVICE}
--env ICM_BASE_URL=$ICM_BASE_URL
--env LOGGING=true
--env THEME=blue
--env THEME=blue|688dc3
--env FEATURES=quoting,compare,recently,businessCustomerRegistration,advancedVariationHandling,sentry
--env ICM_CHANNEL=inSPIRED-inTRONICS_Business-Site
--env SENTRY_DSN=${SENTRY_DSN}
Expand Down Expand Up @@ -547,7 +547,7 @@ deploy_review_b2c:
-e PWA_2_SUBDOMAIN=b2b
-e PWA_2_CHANNEL=inSPIRED-inTRONICS_Business-Site
-e PWA_2_FEATURES=quoting,recently,compare,businessCustomerRegistration,advancedVariationHandling,sentry
-e PWA_2_THEME=blue
-e PWA_2_THEME=blue|688dc3
-e PWA_3_SUBDOMAIN=de
-e PWA_3_CHANNEL=inSPIRED-inTRONICS-Site
-e PWA_3_LANG=de_DE
Expand All @@ -556,7 +556,7 @@ deploy_review_b2c:
-e PWA_4_CHANNEL=inSPIRED-inTRONICS-Site
-e PWA_4_APPLICATION=smb-responsive
-e PWA_4_FEATURES=quoting
-e PWA_4_THEME=blue
-e PWA_4_THEME=blue|688dc3
${CI_REGISTRY_IMAGE}:nginx-${CI_COMMIT_REF_SLUG}
- sleep 10
- docker run --rm --add-host $DEMO_SERVER_NAME:$DEMO_SERVER_IP mwendler/wget --wait 10 --tries 10 --retry-connrefused "http://$DEMO_SERVER_NAME:3000/${CI_COMMIT_REF_SLUG}-pwa-b2c"
Expand Down Expand Up @@ -614,7 +614,7 @@ deploy_review_b2b:
-e LOGGING=true
-e SENTRY_DSN=${SENTRY_DSN}
-e ICM_BASE_URL=${ICM_BASE_URL}
-e THEME=blue
-e THEME=blue|688dc3
-e ICM_CHANNEL=inSPIRED-inTRONICS_Business-Site
-e FEATURES=quoting,recently,compare,businessCustomerRegistration,advancedVariationHandling,sentry
--add-host $ICM_HOST:$ICM_IP
Expand Down
3 changes: 0 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
"[handlebars]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},

"files.associations": {
"__*.*": "ng-template"
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/utils/theme/theme.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class ThemeService {
filter(x => !!x)
)
.subscribe(async theme => {
const themeData = theme.split(',');
const themeData = theme.split('|');
const themeName = themeData[0];
const themeColor = themeData[1];

Expand Down
Binary file modified src/assets/themes/blue/img/logo_192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/themes/blue/img/logo_256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/themes/blue/img/logo_384x384.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/themes/blue/img/logo_512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/themes/blue/img/logo_apple_120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/themes/blue/img/logo_apple_152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/themes/blue/img/logo_apple_167x167.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/themes/blue/img/logo_apple_180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/themes/blue/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"type": "image/png"
}
],
"theme_color": "#ff6d00",
"theme_color": "#688dc3",
"background_color": "#FFFFFF",
"display": "standalone",
"start_url": "/home?utm_source=homescreen"
Expand Down
1 change: 1 addition & 0 deletions src/environments/environment.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ export interface Environment {
locales: Locale[];

// configuration of the styling theme ('default' if not configured)
// format: 'themeName|themeColor' e.g. theme: 'blue|688dc3',
theme?: string;
}
2 changes: 1 addition & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const environment: Environment = {
production: true,

/* INTERSHOP COMMERCE MANAGEMENT REST API CONFIGURATION */
icmBaseURL: 'http://localhost:8080',
icmBaseURL: 'https://intershoppwa.azurewebsites.net',
icmServer: 'INTERSHOP/rest/WFS',
icmServerStatic: 'INTERSHOP/static/WFS',
icmChannel: 'inSPIRED-inTRONICS-Site',
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</style>
</head>
<body>
<ish-root>Intershfoooop Progressive Web App is loading ...</ish-root>
<ish-root>Intershop Progressive Web App is loading ...</ish-root>
<noscript>Please enable JavaScript to continue using this application.</noscript>
</body>
</html>

0 comments on commit 2a4ac2f

Please sign in to comment.