From 63c810260001408ff352ab8a4de1fb7c397d2967 Mon Sep 17 00:00:00 2001 From: Christian Andolf Date: Thu, 19 Dec 2024 09:44:11 +0100 Subject: [PATCH] fix: clean up svgs on ids, masks and other redundant stuff --- components/Icons/Allergy.tsx | 21 +- components/Icons/ArrowUp.tsx | 10 - components/Icons/Bed.tsx | 33 ++- components/Icons/Coin.tsx | 23 +- components/Icons/CroissantCoffeeEgg.tsx | 31 ++- components/Icons/CutleryOne.tsx | 63 +++--- components/Icons/CutleryTwo.tsx | 283 ++++++++++++------------ components/Icons/GiftOpen.tsx | 19 +- components/Icons/HandKey.tsx | 23 +- components/Icons/HotelNight.tsx | 55 +++-- components/Icons/Kids.tsx | 23 +- components/Icons/KidsMocktail.tsx | 181 ++++++++------- components/Icons/MagicWand.tsx | 75 +++---- components/Icons/MoneyHand.tsx | 23 +- components/Icons/Voucher.tsx | 39 ++-- components/Icons/Wheelchair.tsx | 21 +- 16 files changed, 411 insertions(+), 512 deletions(-) diff --git a/components/Icons/Allergy.tsx b/components/Icons/Allergy.tsx index 0fe399445..dd967759d 100644 --- a/components/Icons/Allergy.tsx +++ b/components/Icons/Allergy.tsx @@ -14,23 +14,10 @@ export default function AllergyIcon({ className, color, ...props }: IconProps) { xmlns="http://www.w3.org/2000/svg" {...props} > - - - - - - + ) } diff --git a/components/Icons/ArrowUp.tsx b/components/Icons/ArrowUp.tsx index d85323685..0f8343170 100644 --- a/components/Icons/ArrowUp.tsx +++ b/components/Icons/ArrowUp.tsx @@ -14,16 +14,6 @@ export default function ArrowUpIcon({ className, color, ...props }: IconProps) { xmlns="http://www.w3.org/2000/svg" {...props} > - - - - - - - - - - - - - - + + + + + + ) } diff --git a/components/Icons/Coin.tsx b/components/Icons/Coin.tsx index d57cc0b0a..4d53ae1c9 100644 --- a/components/Icons/Coin.tsx +++ b/components/Icons/Coin.tsx @@ -8,20 +8,15 @@ export default function CoinIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - + + + ) } diff --git a/components/Icons/CroissantCoffeeEgg.tsx b/components/Icons/CroissantCoffeeEgg.tsx index 3c3e89ed1..29baf082f 100644 --- a/components/Icons/CroissantCoffeeEgg.tsx +++ b/components/Icons/CroissantCoffeeEgg.tsx @@ -8,24 +8,19 @@ export default function CroissantCoffeeEggIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - - + + + + ) } diff --git a/components/Icons/CutleryOne.tsx b/components/Icons/CutleryOne.tsx index 496cbc8d6..125cd094e 100644 --- a/components/Icons/CutleryOne.tsx +++ b/components/Icons/CutleryOne.tsx @@ -8,40 +8,35 @@ export default function CutleryOneIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + ) diff --git a/components/Icons/CutleryTwo.tsx b/components/Icons/CutleryTwo.tsx index a5c833127..8f1221100 100644 --- a/components/Icons/CutleryTwo.tsx +++ b/components/Icons/CutleryTwo.tsx @@ -8,150 +8,145 @@ export default function CutleryTwoIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) diff --git a/components/Icons/GiftOpen.tsx b/components/Icons/GiftOpen.tsx index 74d47887e..305e49d2c 100644 --- a/components/Icons/GiftOpen.tsx +++ b/components/Icons/GiftOpen.tsx @@ -8,19 +8,14 @@ export default function GiftOpenIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - - + + + + ) } diff --git a/components/Icons/HandKey.tsx b/components/Icons/HandKey.tsx index d8f902205..138690c2e 100644 --- a/components/Icons/HandKey.tsx +++ b/components/Icons/HandKey.tsx @@ -8,20 +8,15 @@ export default function HandKeyIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - + + + ) } diff --git a/components/Icons/HotelNight.tsx b/components/Icons/HotelNight.tsx index b24e96cda..02000c04a 100644 --- a/components/Icons/HotelNight.tsx +++ b/components/Icons/HotelNight.tsx @@ -8,36 +8,31 @@ export default function HotelNightIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + ) diff --git a/components/Icons/Kids.tsx b/components/Icons/Kids.tsx index 59e79448d..d2dce8a36 100644 --- a/components/Icons/Kids.tsx +++ b/components/Icons/Kids.tsx @@ -8,20 +8,15 @@ export default function KidsIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - + + + ) } diff --git a/components/Icons/KidsMocktail.tsx b/components/Icons/KidsMocktail.tsx index c997ce07b..ef9d79c1c 100644 --- a/components/Icons/KidsMocktail.tsx +++ b/components/Icons/KidsMocktail.tsx @@ -8,99 +8,94 @@ export default function KidsMocktailIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) diff --git a/components/Icons/MagicWand.tsx b/components/Icons/MagicWand.tsx index 5832bca67..5ec055b59 100644 --- a/components/Icons/MagicWand.tsx +++ b/components/Icons/MagicWand.tsx @@ -8,46 +8,41 @@ export default function MagicWandIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) diff --git a/components/Icons/MoneyHand.tsx b/components/Icons/MoneyHand.tsx index 9d91b6cc3..f0a8fdf64 100644 --- a/components/Icons/MoneyHand.tsx +++ b/components/Icons/MoneyHand.tsx @@ -8,20 +8,15 @@ export default function MoneyHandIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - + + + ) } diff --git a/components/Icons/Voucher.tsx b/components/Icons/Voucher.tsx index b914b70f9..17a546a3a 100644 --- a/components/Icons/Voucher.tsx +++ b/components/Icons/Voucher.tsx @@ -8,29 +8,24 @@ export default function VoucherIcon({ color, ...props }: IconProps) { fill="none" {...props} > - - - - - - - - - - - + + + + + + ) } diff --git a/components/Icons/Wheelchair.tsx b/components/Icons/Wheelchair.tsx index 991951761..dac6ed119 100644 --- a/components/Icons/Wheelchair.tsx +++ b/components/Icons/Wheelchair.tsx @@ -18,23 +18,10 @@ export default function WheelchairIcon({ xmlns="http://www.w3.org/2000/svg" {...props} > - - - - - - + ) }