From 903f41972978a8872f78faaa7911a2dd7b8d2ab1 Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Fri, 4 Jul 2025 11:40:09 +0000 Subject: [PATCH] fix(SW-3081): Removed color option from hotel logos to avoid wrong colors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Approved-by: Matilda Landström --- .../(protected)/link-employment-error/page.tsx | 6 +----- .../components/Header/MainMenu/LogoLink/index.tsx | 6 +----- .../HotelReservation/MyStay/Receipt/index.tsx | 2 +- .../lib/components/Icons/Logos/DowntownCamper.tsx | 10 ++++------ .../lib/components/Icons/Logos/GrandHotelOslo.tsx | 11 ++++------- .../lib/components/Icons/Logos/Haymarket.tsx | 11 ++++------- .../lib/components/Icons/Logos/HotelNorge.tsx | 11 ++++------- .../lib/components/Icons/Logos/Marski.tsx | 11 ++++------- .../lib/components/Icons/Logos/ScandicGoLogo.tsx | 11 ++++------- .../lib/components/Icons/Logos/ScandicLogo.tsx | 11 ++++------- .../lib/components/Icons/Logos/TheDock.tsx | 11 ++++------- .../lib/components/Icons/Logos/index.tsx | 2 +- packages/design-system/lib/components/Icons/icon.ts | 3 +-- 13 files changed, 37 insertions(+), 69 deletions(-) diff --git a/apps/scandic-web/app/[lang]/(no-layout)/(protected)/link-employment-error/page.tsx b/apps/scandic-web/app/[lang]/(no-layout)/(protected)/link-employment-error/page.tsx index 9731f9dbd..4571deffb 100644 --- a/apps/scandic-web/app/[lang]/(no-layout)/(protected)/link-employment-error/page.tsx +++ b/apps/scandic-web/app/[lang]/(no-layout)/(protected)/link-employment-error/page.tsx @@ -52,11 +52,7 @@ export default function LinkEmploymentErrorPage() {
- +
diff --git a/apps/scandic-web/components/Header/MainMenu/LogoLink/index.tsx b/apps/scandic-web/components/Header/MainMenu/LogoLink/index.tsx index b005c53d4..6b95e0313 100644 --- a/apps/scandic-web/components/Header/MainMenu/LogoLink/index.tsx +++ b/apps/scandic-web/components/Header/MainMenu/LogoLink/index.tsx @@ -32,11 +32,7 @@ export function LogoLink() { defaultMessage: "Back to scandichotels.com", })} > - + ) } diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Receipt/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Receipt/index.tsx index 4a90286fd..9484d4df5 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Receipt/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Receipt/index.tsx @@ -119,7 +119,7 @@ export async function Receipt({ refId }: { refId: string }) { return (
- +
diff --git a/packages/design-system/lib/components/Icons/Logos/DowntownCamper.tsx b/packages/design-system/lib/components/Icons/Logos/DowntownCamper.tsx index 1f8cf5099..c55caefc6 100644 --- a/packages/design-system/lib/components/Icons/Logos/DowntownCamper.tsx +++ b/packages/design-system/lib/components/Icons/Logos/DowntownCamper.tsx @@ -1,17 +1,15 @@ import type { LogoProps } from '../icon' -import { iconVariants } from '../variants' export default function DowntownCamperIcon({ - className, - color, + className = '', height = 30, + width = 123, ...props }: LogoProps) { - const classNames = iconVariants({ className, color }) return ( default: - return + return } } diff --git a/packages/design-system/lib/components/Icons/icon.ts b/packages/design-system/lib/components/Icons/icon.ts index f9739138a..6ab7ef344 100644 --- a/packages/design-system/lib/components/Icons/icon.ts +++ b/packages/design-system/lib/components/Icons/icon.ts @@ -15,8 +15,7 @@ export interface IllustrationProps } export interface LogoProps - extends Omit, 'color'>, - VariantProps { + extends Omit, 'color'> { width?: string | number height?: string | number }