Files
web/apps/scandic-web/components/Maps/Markers/HotelNorgeSmall.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

81 lines
2.6 KiB
TypeScript

export default function HotelNorgeSmallMarker({
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_342_17518)">
<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="#181E34"
/>
<path
d="M37.0765 44.5311V29.4618L44.8713 44.5318H37.0765V44.5311ZM37.2149 28.7631H45.0098V43.8325L37.2149 28.7631ZM28.6973 36.9622H36.6299V44.5318H28.6973V36.9622ZM28.6973 28.7631H36.6299V36.5298H28.6973V28.7631ZM28.25 44.9635H45.4556V28.3307H28.25V44.9628V44.9635Z"
fill="white"
/>
<path
d="M25.9779 26.1333H47.7307V47.161H25.9779V26.1333ZM25.5352 47.589H48.1735V25.7053H25.5352V47.589Z"
fill="white"
/>
</g>
<defs>
<filter
id="filter0_d_342_17518"
x="0"
y="0"
width="74"
height="83.1914"
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_342_17518"
/>
<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_342_17518"
/>
<feBlend
mode="normal"
in="SourceGraphic"
in2="effect1_dropShadow_342_17518"
result="shape"
/>
</filter>
</defs>
</svg>
)
}