Files
web/apps/scandic-web/components/Maps/Markers/ScandicSmall.tsx
Anton Gunnarsson 80100e7631 Merged in monorepo-step-1 (pull request #1080)
Migrate to a monorepo setup - step 1

* Move web to subfolder /apps/scandic-web

* Yarn + transitive deps

- Move to yarn
- design-system package removed for now since yarn doesn't
support the parameter for token (ie project currently broken)
- Add missing transitive dependencies as Yarn otherwise
prevents these imports
- VS Code doesn't pick up TS path aliases unless you open
/apps/scandic-web instead of root (will be fixed with monorepo)

* Pin framer-motion to temporarily fix typing issue

https://github.com/adobe/react-spectrum/issues/7494

* Pin zod to avoid typ error

There seems to have been a breaking change in the types
returned by zod where error is now returned as undefined
instead of missing in the type. We should just handle this
but to avoid merge conflicts just pin the dependency for
now.

* Pin react-intl version

Pin version of react-intl to avoid tiny type issue where formatMessage
does not accept a generic any more. This will be fixed in a future
commit, but to avoid merge conflicts just pin for now.

* Pin typescript version

Temporarily pin version as newer versions as stricter and results in
a type error. Will be fixed in future commit after merge.

* Setup workspaces

* Add design-system as a monorepo package

* Remove unused env var DESIGN_SYSTEM_ACCESS_TOKEN

* Fix husky for monorepo setup

* Update netlify.toml

* Add lint script to root package.json

* Add stub readme

* Fix react-intl formatMessage types

* Test netlify.toml in root

* Remove root toml

* Update netlify.toml publish path

* Remove package-lock.json

* Update build for branch/preview builds


Approved-by: Linus Flood
2025-02-26 10:36:17 +00:00

113 lines
5.8 KiB
TypeScript

export default function ScandicSmallMarker({
className,
...props
}: React.SVGAttributes<HTMLOrSVGElement>) {
return (
<svg
className={className}
width="74"
height="84"
viewBox="0 0 74 84"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g filter="url(#filter0_d_88_16539)">
<path
fillRule="evenodd"
clipRule="evenodd"
d="M44.6566 61.8543C55.2791 58.5858 63 48.6945 63 37C63 22.6406 51.3594 11 37 11C22.6406 11 11 22.6406 11 37C11 48.8202 18.8877 58.7981 29.6867 61.9573L35.5739 71.2608C36.368 72.5157 38.2044 72.498 38.9742 71.2281L44.6566 61.8543Z"
fill="white"
/>
<path
d="M15 37C15 24.8497 24.8497 15 37 15C49.1503 15 59 24.8497 59 37C59 49.1503 49.1503 59 37 59C24.8497 59 15 49.1503 15 37Z"
fill="#CD0921"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M29.9577 40.078C29.4784 40.1976 28.999 40.2374 28.5197 40.2374C26.8021 40.2374 25.6836 39.4403 25.6836 37.567C25.6836 35.7735 26.842 35.0162 28.4797 35.0162C28.9591 35.0162 29.4384 35.0561 29.9178 35.1358V36.0126C29.5583 35.9728 29.2786 35.9329 28.9591 35.9329C27.6409 35.9329 27.0018 36.3315 27.0018 37.6468C27.0018 38.8823 27.601 39.3207 28.9591 39.3207C29.3186 39.3207 29.5982 39.2809 29.9178 39.241V40.078H29.9577Z"
fill="white"
/>
<path
d="M47.6406 40.1174H48.9189V35.0955H47.6406V40.1174ZM47.6406 34.0991H48.9189V32.9432H47.6406V34.0991Z"
fill="white"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M46.6107 39.9978C46.371 40.0377 45.4922 40.1971 44.6134 40.1971C42.9757 40.1971 41.7773 39.4398 41.7773 37.6064C41.7773 35.8528 42.8559 34.9759 44.4936 34.9759C44.7333 34.9759 45.1327 35.0158 45.3324 35.0158V32.9432H46.6107C46.6107 33.1824 46.6107 39.8782 46.6107 39.9978ZM45.3724 39.2405V35.9723C45.2126 35.9723 44.933 35.9325 44.6534 35.9325C43.495 35.9325 43.0556 36.4905 43.0556 37.6463C43.0556 38.6826 43.455 39.3203 44.6134 39.3203C44.8531 39.3203 45.0928 39.2804 45.3724 39.2405Z"
fill="white"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M40.9431 40.1179H39.7048V36.8098C39.7048 36.2518 39.4651 35.9329 38.6662 35.9329C38.107 35.9329 37.5078 36.0525 37.5078 36.0525V40.1179H36.2695V35.2554C36.3494 35.2554 37.9472 35.0162 38.866 35.0162C39.9844 35.0162 40.983 35.2155 40.983 36.7301V40.1179H40.9431Z"
fill="white"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M35.2235 40.1168C34.3447 40.1965 33.6656 40.2363 32.9067 40.2363C31.6284 40.2363 30.5898 40.037 30.5898 38.6022C30.5898 37.2072 31.8681 37.1275 33.0265 37.0877C33.3061 37.0877 33.6257 37.0877 33.9452 37.0877C33.9452 36.2108 33.9053 35.892 32.627 35.892C31.9879 35.892 31.3089 36.0115 30.9094 36.0913V35.1746C31.3887 35.055 32.1477 35.0151 32.7069 34.9753C34.145 34.9753 35.2235 35.1347 35.2235 36.6492V40.1168ZM33.9452 39.3595V37.9247C33.7056 37.9247 33.2662 37.9247 33.1064 37.9247C32.3474 37.9247 31.8681 37.9645 31.8681 38.6819C31.8681 39.3993 32.4673 39.4392 33.0664 39.4392C33.4259 39.3993 33.6257 39.3993 33.9452 39.3595Z"
fill="white"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M54.0046 40.078C53.5252 40.1976 53.0459 40.2374 52.5666 40.2374C50.8489 40.2374 49.7305 39.4403 49.7305 37.567C49.7305 35.7735 50.8889 35.0162 52.5266 35.0162C53.006 35.0162 53.4853 35.0561 53.9646 35.1358V36.0126C53.6051 35.9728 53.3255 35.9329 53.006 35.9329C51.6878 35.9329 51.0487 36.3315 51.0487 37.6468C51.0487 38.8823 51.6478 39.3207 53.006 39.3207C53.3655 39.3207 53.6451 39.2809 53.9646 39.241V40.078H54.0046Z"
fill="white"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M25.04 38.1237C25.04 39.5984 23.8816 40.2361 22.164 40.2361C21.0455 40.2361 20.2466 40.0368 20.1268 39.997V38.9607C20.5262 39.0404 21.3651 39.2397 22.0841 39.2397C22.8031 39.2397 23.7218 39.0803 23.7218 38.2832C23.7218 37.765 23.3224 37.5657 22.6034 37.3665C22.3237 37.2868 22.0441 37.207 21.7645 37.1273C20.8058 36.8483 20.0469 36.4498 20.0469 35.3338C20.0469 33.7395 21.3251 33.341 22.8031 33.341C23.6819 33.341 24.4009 33.5004 24.5207 33.5403V34.4968C24.3609 34.457 23.6819 34.2975 22.9229 34.2975C22.2039 34.2975 21.3651 34.3772 21.3651 35.1744C21.3651 35.7722 21.8444 35.9316 22.5235 36.0911C22.843 36.2106 23.1626 36.2505 23.4821 36.3701C24.321 36.6092 25.04 37.0078 25.04 38.1237Z"
fill="white"
/>
</g>
<defs>
<filter
id="filter0_d_88_16539"
x="0"
y="0"
width="74"
height="83.1913"
filterUnits="userSpaceOnUse"
colorInterpolationFilters="sRGB"
>
<feFlood floodOpacity="0" result="BackgroundImageFix" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
result="hardAlpha"
/>
<feMorphology
radius="3"
operator="dilate"
in="SourceAlpha"
result="effect1_dropShadow_88_16539"
/>
<feOffset />
<feGaussianBlur stdDeviation="4" />
<feComposite in2="hardAlpha" operator="out" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"
/>
<feBlend
mode="normal"
in2="BackgroundImageFix"
result="effect1_dropShadow_88_16539"
/>
<feBlend
mode="normal"
in="SourceGraphic"
in2="effect1_dropShadow_88_16539"
result="shape"
/>
</filter>
</defs>
</svg>
)
}