Merged in feat/sw-1314-transfer-sas-points (pull request #1508)
SW-1314 Transfer SAS points Approved-by: Linus Flood
This commit is contained in:
37
apps/scandic-web/components/Icons/ArrowFrom.tsx
Normal file
37
apps/scandic-web/components/Icons/ArrowFrom.tsx
Normal file
@@ -0,0 +1,37 @@
|
||||
import { iconVariants } from "./variants"
|
||||
|
||||
import type { IconProps } from "@/types/components/icon"
|
||||
|
||||
export default function ArrowFromIcon({
|
||||
className,
|
||||
color,
|
||||
...props
|
||||
}: IconProps) {
|
||||
const classNames = iconVariants({ className, color })
|
||||
return (
|
||||
<svg
|
||||
className={classNames}
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
d="M12 5V15M12 5C11.2998 5 9.99153 6.9943 9.5 7.5M12 5C12.7002 5 14.0085 6.9943 14.5 7.5"
|
||||
stroke="black"
|
||||
strokeWidth="1.5"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
<path
|
||||
d="M5 19H19.0001"
|
||||
stroke="black"
|
||||
strokeWidth="1.5"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
33
apps/scandic-web/components/Icons/ArrowTo.tsx
Normal file
33
apps/scandic-web/components/Icons/ArrowTo.tsx
Normal file
@@ -0,0 +1,33 @@
|
||||
import { iconVariants } from "./variants"
|
||||
|
||||
import type { IconProps } from "@/types/components/icon"
|
||||
|
||||
export default function ArrowToIcon({ className, color, ...props }: IconProps) {
|
||||
const classNames = iconVariants({ className, color })
|
||||
return (
|
||||
<svg
|
||||
className={classNames}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
d="M5 5H19.0001"
|
||||
stroke="black"
|
||||
strokeWidth="1.5"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
<path
|
||||
d="M12 9V19M12 9C11.2998 9 9.99153 10.9943 9.5 11.5M12 9C12.7002 9 14.0085 10.9943 14.5 11.5"
|
||||
stroke="black"
|
||||
strokeWidth="1.5"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
36
apps/scandic-web/components/Icons/Swipe.tsx
Normal file
36
apps/scandic-web/components/Icons/Swipe.tsx
Normal file
@@ -0,0 +1,36 @@
|
||||
import { iconVariants } from "./variants"
|
||||
|
||||
import type { IconProps } from "@/types/components/icon"
|
||||
|
||||
export default function SwipeIcon({ className, color, ...props }: IconProps) {
|
||||
const classNames = iconVariants({ className, color })
|
||||
return (
|
||||
<svg
|
||||
className={classNames}
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...props}
|
||||
>
|
||||
<mask
|
||||
id="mask0_4743_35236"
|
||||
style={{ maskType: "alpha" }}
|
||||
maskUnits="userSpaceOnUse"
|
||||
x="0"
|
||||
y="0"
|
||||
width="24"
|
||||
height="24"
|
||||
>
|
||||
<rect width="24" height="24" fill="#D9D9D9" />
|
||||
</mask>
|
||||
<g mask="url(#mask0_4743_35236)">
|
||||
<path
|
||||
d="M11.825 22C11.425 22 11.0417 21.925 10.675 21.775C10.3083 21.625 9.98333 21.4083 9.7 21.125L4.6 16L5.35 15.225C5.61667 14.9583 5.92917 14.7792 6.2875 14.6875C6.64583 14.5958 7 14.6 7.35 14.7L9 15.175V7C9 6.71667 9.09583 6.47917 9.2875 6.2875C9.47917 6.09583 9.71667 6 10 6C10.2833 6 10.5208 6.09583 10.7125 6.2875C10.9042 6.47917 11 6.71667 11 7V17.825L8.575 17.15L11.125 19.7C11.2083 19.7833 11.3125 19.8542 11.4375 19.9125C11.5625 19.9708 11.6917 20 11.825 20H16C16.55 20 17.0208 19.8042 17.4125 19.4125C17.8042 19.0208 18 18.55 18 18V14C18 13.7167 18.0958 13.4792 18.2875 13.2875C18.4792 13.0958 18.7167 13 19 13C19.2833 13 19.5208 13.0958 19.7125 13.2875C19.9042 13.4792 20 13.7167 20 14V18C20 19.1 19.6083 20.0417 18.825 20.825C18.0417 21.6083 17.1 22 16 22H11.825ZM12 15V11C12 10.7167 12.0958 10.4792 12.2875 10.2875C12.4792 10.0958 12.7167 10 13 10C13.2833 10 13.5208 10.0958 13.7125 10.2875C13.9042 10.4792 14 10.7167 14 11V15H12ZM15 15V12C15 11.7167 15.0958 11.4792 15.2875 11.2875C15.4792 11.0958 15.7167 11 16 11C16.2833 11 16.5208 11.0958 16.7125 11.2875C16.9042 11.4792 17 11.7167 17 12V15H15ZM22 7H17V5.5H19.9C18.8 4.53333 17.575 3.79167 16.225 3.275C14.875 2.75833 13.4667 2.5 12 2.5C10.5333 2.5 9.125 2.75833 7.775 3.275C6.425 3.79167 5.2 4.53333 4.1 5.5H7V7H2V2H3.5V4.025C4.7 3.04167 6.025 2.29167 7.475 1.775C8.925 1.25833 10.4333 1 12 1C13.5667 1 15.075 1.25833 16.525 1.775C17.975 2.29167 19.3 3.04167 20.5 4.025V2H22V7Z"
|
||||
fill="white"
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
@@ -4,7 +4,9 @@ import {
|
||||
AccountCircleIcon,
|
||||
AirIcon,
|
||||
AirplaneIcon,
|
||||
ArrowFromIcon,
|
||||
ArrowRightIcon,
|
||||
ArrowToIcon,
|
||||
BarIcon,
|
||||
BedIcon,
|
||||
BikingIcon,
|
||||
@@ -106,6 +108,7 @@ import {
|
||||
StarFilledIcon,
|
||||
StreetIcon,
|
||||
SwimIcon,
|
||||
SwipeIcon,
|
||||
ThermostatIcon,
|
||||
TrainIcon,
|
||||
TripAdvisorIcon,
|
||||
@@ -135,8 +138,12 @@ export function getIconByIconName(
|
||||
return AirIcon
|
||||
case IconName.Airplane:
|
||||
return AirplaneIcon
|
||||
case IconName.ArrowFrom:
|
||||
return ArrowFromIcon
|
||||
case IconName.ArrowRight:
|
||||
return ArrowRightIcon
|
||||
case IconName.ArrowTo:
|
||||
return ArrowToIcon
|
||||
case IconName.Bar:
|
||||
return BarIcon
|
||||
case IconName.Bed:
|
||||
@@ -339,6 +346,8 @@ export function getIconByIconName(
|
||||
return StreetIcon
|
||||
case IconName.Swim:
|
||||
return SwimIcon
|
||||
case IconName.Swipe:
|
||||
return SwipeIcon
|
||||
case IconName.Thermostat:
|
||||
return ThermostatIcon
|
||||
case IconName.Tshirt:
|
||||
|
||||
@@ -5,7 +5,9 @@ export { default as AccountCircleIcon } from "./AccountCircle"
|
||||
export { default as AirIcon } from "./Air"
|
||||
export { default as AirplaneIcon } from "./Airplane"
|
||||
export { default as AllergyIcon } from "./Allergy"
|
||||
export { default as ArrowFromIcon } from "./ArrowFrom"
|
||||
export { default as ArrowRightIcon } from "./ArrowRight"
|
||||
export { default as ArrowToIcon } from "./ArrowTo"
|
||||
export { default as ArrowUpIcon } from "./ArrowUp"
|
||||
export { default as BalconyIcon } from "./Balcony"
|
||||
export { default as BarIcon } from "./Bar"
|
||||
@@ -170,6 +172,7 @@ export { default as StoreIcon } from "./Store"
|
||||
export { default as StreetIcon } from "./Street"
|
||||
export { default as SurpriseIcon } from "./Surprise"
|
||||
export { default as SwimIcon } from "./Swim"
|
||||
export { default as SwipeIcon } from "./Swipe"
|
||||
export { default as ThermostatIcon } from "./Thermostat"
|
||||
export { default as TrainIcon } from "./Train"
|
||||
export { default as TripAdvisorIcon } from "./TripAdvisor"
|
||||
|
||||
Reference in New Issue
Block a user