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
1 line
14 KiB
XML
1 line
14 KiB
XML
<svg width="840" height="768" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><mask id="b" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="-72" width="840" height="840"><circle cx="420" cy="348" r="420" fill="#fff"/></mask><g mask="url(#b)"><path d="M188.703 218.567c8.42.147 15.311-3.526 15.393-8.203.081-4.678-6.678-8.589-15.097-8.736-8.42-.147-15.312 3.526-15.393 8.204-.082 4.677 6.677 8.588 15.097 8.735Z" fill="#CD0921"/><path d="m784.071 333.465 23.559-4.674" stroke="#CD0921" stroke-width="4.894" stroke-linecap="round"/><path d="M678.464 281.252 646.275 296.5l-8.471-18.636 32.189-15.247 8.471 18.635ZM166.965 436.627l20.329-10.165 8.471 20.33-20.33 8.47-8.47-18.635Z" fill="#CD0921"/><path d="m287.284 6.686-5.48-9.362 5.225-8.883-10.337 3.291-7.668-8.388-.48 10.704-9.362 5.48 9.49 3.643 1.709 9.73 6.806-8.276 10.097 2.06ZM746.224 318.523l-13.553 18.635-6.776-25.412 20.329 6.777Z" fill="#4D001B"/><path d="M671.675 723.425c0 6.55 2.275 11.859 5.082 11.859s5.083-5.309 5.083-11.859-2.276-11.859-5.083-11.859c-2.807 0-5.082 5.309-5.082 11.859Z" fill="#CD0921"/><path d="m812.295 552.315-25.412-22.024 11.859-13.553 25.412 22.024-11.859 13.553Z" fill="#fff"/><path d="m514.761 454.11-2.661 7.094-6.562 2.393 5.408 2.839.709 6.739 4.7-3.901 7.094 2.662-2.394-6.563 4.524-5.586-6.917-.976-3.901-4.701Z" fill="#CD0921"/><path d="m388.883 96.837-22.024-10.165 15.247-16.941 6.777 27.106Z" fill="#fff"/><path d="m17.742 740.366 40.66 33.883" stroke="#fff" stroke-width="3.67" stroke-linecap="round"/><path d="m544.003 651.651-4.351-8.539 5.276-10.755-11.238 1.693-8.097-7.975-1.53 10.191-10.674 5.438 10.755 5.276 1.693 11.238 7.975-8.097 10.191 1.53ZM185.87 558.692l-4.351-8.539 5.276-10.755-11.238 1.692-8.097-7.975-1.53 10.191-10.673 5.439 10.755 5.276 1.692 11.238 7.975-8.097 10.191 1.53Z" fill="#CD0921"/><path d="m263.39 728.507 23.718-23.718 6.777 32.188-30.495-8.47ZM420.877 335.565l-6.047-11.769 6.193-10.254-12.005 2.266-8.93-9.312-1.515 12.24-11.107 4.488 10.254 6.193 2.266 12.004 9.312-8.93 11.579 3.074Z" fill="#4D001B"/><path d="M115.036 246.018 62.75 221.616" stroke="#4D001B" stroke-width="4.894" stroke-linecap="round"/><path d="M353.182 450.667h-18.635v-22.023h18.635v22.023Z" fill="#fff"/><path d="m444.097 704.363 2.358 31.574" stroke="#CD0921" stroke-width="3.67" stroke-linecap="round"/><path d="M765.981 93.193c6.545-5.3 7.554-14.9 2.254-21.445-5.299-6.544-14.9-7.553-21.444-2.254-6.545 5.3-7.554 14.9-2.254 21.445 5.299 6.544 14.9 7.553 21.444 2.254ZM153.331 484.763l-11.859 16.941-23.718-15.247 10.165-16.941 25.412 15.247Z" fill="#4D001B"/><path d="M629.176 585.825c8.409-4.101 13.897-10.153 12.256-13.517-1.641-3.364-9.788-2.766-18.198 1.336-8.409 4.101-13.896 10.153-12.256 13.517 1.641 3.364 9.788 2.766 18.198-1.336ZM68.566 455.75l27.106-3.389-13.553 25.413-13.553-22.024Z" fill="#fff"/><path d="m265.09 391.372 13.553-60.99" stroke="#fff" stroke-width="4.894" stroke-linecap="round"/><path d="m85.511 28.823 30.495-23.718" stroke="#fff" stroke-width="3.67" stroke-linecap="round"/><path d="M503.004-6.909c-10.165-1.13-11.294 1.694-3.388 8.47 6.777 6.777 5.082 9.601-5.083 8.472-9.035-1.13-10.164 1.694-3.388 8.47 6.777 6.777 5.647 9.6-3.388 8.471" stroke="#CD0921" stroke-width="4.894" stroke-linecap="round"/><path d="M73.371 387.049c5.849 8.906 11.133 8.229 15.853-2.032 3.222-9.706 7.245-10.342 12.067-1.908 6.32 7.881 11.605 7.204 15.853-2.031 3.222-9.707 7.757-10.107 13.606-1.2" stroke="#fff" stroke-width="4.894" stroke-linecap="round"/><path d="m602.213 155.886 11.859 22.024H588.66l13.553-22.024Z" fill="#fff"/><path d="m736.054 406.619 20.33-8.471v20.33l-20.33-11.859Z" fill="#CD0921"/><path d="m148.519 99.562 26.031 24.418" stroke="#CD0921" stroke-width="1.643" stroke-linecap="round"/><path d="m263.604 554.923-12.18 1.941-8.083-9.316-1.846 12.076-12.283 5.728 11.973 5.633.406 12.896 8.6-9.619 12.792 3.382-5.728-12.284 6.349-10.437Z" fill="#fff"/><path d="M322.683 213.487c7.906 6.777 12.989 5.083 15.248-5.082 2.259-10.165 7.341-11.295 15.247-3.389 6.777 6.777 11.859 5.083 15.247-5.082 1.13-10.165 6.212-11.294 15.248-3.388" stroke="#CD0921" stroke-width="4.894" stroke-linecap="round"/><path d="M53.309 645.493 2.483 621.775" stroke="#CD0921" stroke-width="3.67" stroke-linecap="round"/><path d="M191.901 102.271c-.581 10.149 2.704 12.034 9.858 5.656 8.28-6.313 12.13-4.396 11.548 5.753-.581 10.148 2.705 12.033 9.858 5.655 8.281-6.313 11.566-4.428 9.857 5.656" stroke="#CD0921" stroke-width="4.894" stroke-linecap="round"/><path d="m384.063 604.106 6.858-7.11 8.254 1.905-3.428-7.746 3.556-7.873-9.016 1.396-5.459-6.476-2.287 9.904-7.746 3.428 7.873 3.556 1.395 9.016ZM441.285 266.005l22.024-25.412 22.024 18.635-23.718 25.413-20.33-18.636Z" fill="#4D001B"/><path d="m600.523 825.073 50.825-60.989" stroke="#CD0921" stroke-width="4.894" stroke-linecap="round"/><path d="m36.378 180.434 5.082 32.189-20.33 3.388-3.388-32.189 18.636-3.388Z" fill="#CD0921"/><path d="M538.33 51.822c3.855-6.416 3.73-13.57-.28-15.98-4.011-2.41-10.387.839-14.242 7.255-3.855 6.416-3.729 13.57.281 15.98s10.386-.839 14.241-7.255Z" fill="#fff"/><path d="M216.283 525.524c7.692 4.872 10.026 3.282 7-4.769-2.975-9.18-.616-11.334 7.077-6.462 7.642 6 9.411 4.384 5.308-4.847-2.975-9.18-.641-10.77 7-4.77M516.939 115.796c8.492 3.287 10.473 1.274 5.942-6.037-4.699-8.429-2.803-11 5.689-7.712 8.661 4.403 10.083 2.475 4.267-5.785-4.699-8.428-2.718-10.44 5.942-6.037" stroke="#4D001B" stroke-width="3.67" stroke-linecap="round"/><path d="m797.046 220.263-23.718 3.389-5.082-33.883 23.718-3.389 5.082 33.883Z" fill="#4D001B"/><path d="M795.347 582.811v79.624" stroke="#fff" stroke-width="3.67" stroke-linecap="round"/><path d="m89.067 144.217 9.712-3.446 7.891 7.248.339-9.873 8.89-4.928-10.034-4.123-1.964-10.533-6.427 9.373-10.694-1.82 6.41 8.069-4.123 10.033Z" fill="#4D001B"/><path d="m647.55 38.555 8.62-.556 5.027 5.668 1.519-7.422 8.182-2.192-8.3-4.792-.117-6.985-5.669 5.027-7.861-3.155 3.829 7.744-5.23 6.663Z" fill="#CD0921"/><path d="m551.398 360.877 3.388 44.048" stroke="#4D001B" stroke-width="4.894" stroke-linecap="round"/><path d="m209.672 629.248-24.68 32.49" stroke="#4D001B" stroke-width="3.67" stroke-linecap="round"/><path d="m10.961 503.186 28.8 3.388-5.082 33.883-28.8-3.388 5.082-33.883Z" fill="#CD0921"/><path d="M230.11 277.745c-.959-11.478-6.81-14.99-17.551-10.536-10.741 4.454-16.592.943-17.551-10.535.034-10.228-5.255-13.675-15.868-10.343-10.741 4.454-16.591.942-17.551-10.536" stroke="#fff" stroke-width="3.67" stroke-linecap="round"/><path d="M666.834 365.353c-1.248-9.02-4.761-9.877-10.539-2.573-5.088 8.199-8.601 7.341-10.538-2.573-1.247-9.02-4.415-9.43-9.504-1.231-5.089 8.199-8.601 7.341-10.538-2.574" stroke="#4D001B" stroke-width="3.67" stroke-linecap="round"/><path d="M584.57 283.985c6.183-8.147 4.095-11.688-6.263-10.625-9.54 1.842-11.218-1.311-5.035-9.458 5.405-7.328 3.726-10.48-5.035-9.458-10.359 1.064-12.446-2.478-6.263-10.624" stroke="#CD0921" stroke-width="4.894" stroke-linecap="round"/><path d="m588.591 684.214-3.388-27.107 27.106 10.165-23.718 16.942Z" fill="#fff"/><path d="M386.215 425.254c6.776 9.036 13.553 9.036 20.329 0 6.777-9.035 13.554-9.035 20.33 0 5.647 9.036 11.859 9.036 18.636 0 6.776-9.035 13.553-9.035 20.329 0" stroke="#4D001B" stroke-width="4.894" stroke-linecap="round"/><path d="m-10.546 349.778-1.492 12.243-10.918 6.875 11.1 5.103 3.529 11.448 7.041-9.692 12.243 1.492-6.875-10.918 5.103-11.1-11.448 3.529-8.283-8.98Z" fill="#4D001B"/><path d="m664.903 503.185-32.188-5.082 16.941-25.413 15.247 30.495ZM727.59 33.907l10.164-23.717 13.554 23.718H727.59Z" fill="#CD0921"/><path d="M511.585 344.782c10.165-2.259 11.294-6.776 3.388-13.553-7.906-5.647-6.776-9.036 3.389-10.165 10.164-2.259 11.859-6.777 5.082-13.553-7.906-5.647-6.777-9.6 3.388-11.859" stroke="#CD0921" stroke-width="3.67" stroke-linecap="round"/><path d="m676.304 571.585 7.872 3.556 1.777 7.366 4.826-5.841 8.254 1.905-5.079-8.127 3.175-6.222-7.365 1.777-5.459-6.476-.255 8.634-7.746 3.428Z" fill="#4D001B"/><path d="M28.207 8.345C19.48 2.891 9.992 2.329 7.017 7.09c-2.975 4.76 1.689 13.042 10.417 18.496 8.728 5.454 18.216 6.016 21.19 1.255C41.6 22.08 36.936 13.799 28.208 8.345Z" fill="#fff"/><path d="M28.468 349.245c8.43 5.904 17.875 6.961 21.095 2.363 3.22-4.599-1.004-13.112-9.435-19.016-8.43-5.903-17.875-6.961-21.096-2.362-3.22 4.599 1.005 13.112 9.436 19.015Z" fill="#CD0921"/><path d="m111.794 324.183 4.964-14.809 16.049-6.831-14.455-8.333.086-17.026-13.034 10.555-16.495-5.141 6.831 16.049-10.018 14.279 17.203-1.599 8.869 12.856ZM704.164 358.744l1.52-4.535 4.915-2.092-4.427-2.551.027-5.214-3.991 3.232-5.051-1.574 2.091 4.914-3.067 4.373 5.268-.49 2.715 3.937Z" fill="#4D001B"/><path d="m83.812 675.988 44.048-3.388" stroke="#4D001B" stroke-width="4.894" stroke-linecap="round"/><path d="m762.369 145.102-20.33 3.388 11.859-20.329 8.471 16.941ZM566.75 529.031l19.374-1.086 2.153 8.141-19.375 1.085-2.152-8.14Z" fill="#4D001B"/><path d="m702.059 423.387-36.903-6.15M732.808 485.519c5.648 9.035 11.295 9.035 16.942 0 5.647-9.036 11.859-9.036 18.635 0 5.648 9.035 11.295 9.035 16.942 0 5.647-9.036 11.294-9.036 16.941 0" stroke="#fff" stroke-width="3.67" stroke-linecap="round"/><path d="m49.939 691.235 13.553 30.495-18.636 10.165-15.247-32.189 20.33-8.471Z" fill="#4D001B"/><path d="m287.801 161.627-1.809 12.663-18.09-2.714 1.809-12.662 18.09 2.713Z" fill="#fff"/><path d="m358.26 633.633 16.941 15.248-25.412 1.694 8.471-16.942Z" fill="#4D001B"/><path d="M596.077 442.26c2.182 9.864 6.564 10.963 13.145 3.3 6.581-7.664 10.963-6.565 13.146 3.299 2.182 9.863 6.564 10.963 13.145 3.299 6.581-7.664 10.963-6.564 13.145 3.299" stroke="#CD0921" stroke-width="3.67" stroke-linecap="round"/><path d="m866.51 59.318-27.106 3.388-3.389-20.33 27.107-3.388 3.388 20.33ZM386.425 690.935l-11.859 23.718-16.941-20.33 28.8-3.388Z" fill="#fff"/><path d="m-22.919 77.954 28.8 16.942-11.858 16.941-28.8-16.941 11.858-16.942Z" fill="#4D001B"/><path d="M346.846 144.305c5.263-8.088 3.118-11.456-6.437-10.103-9.31.25-11.333-3.669-6.07-11.757 6.366-7.844 4.894-11.641-4.416-11.391-9.555 1.353-11.7-2.015-6.437-10.103" stroke="#4D001B" stroke-width="4.894" stroke-linecap="round"/><path d="m788.212 710.686-1.393 12.827-12.466 5.583 12.197 5.128 1.847 11.837 7.74-9.453 13.322 3.013-6.708-10.35 5.129-12.197-11.836 1.847-7.832-8.235ZM225.39 623.278l20.33 10.165-15.247 13.553-5.083-23.718Z" fill="#fff"/><path d="m849.574 747.143-11.859-15.247 18.635-1.694-6.776 16.941Z" fill="#4D001B"/><path d="M537.985 168.048c3.967-6.347 3.323-13.905-1.438-16.88-4.761-2.975-11.836-.241-15.803 6.107-3.966 6.348-3.322 13.906 1.439 16.881 4.76 2.975 11.835.24 15.802-6.108Z" fill="#fff"/><path d="m97.074 560.215 39.418-21.062" stroke="#CD0921" stroke-width="2.243" stroke-linecap="round"/><path d="M254.922 249.063v-20.33l16.941 16.942-16.941 3.388Z" fill="#4D001B"/><path d="m505.238 556.249 15.247-6.776-5.082 18.635-10.165-11.859Z" fill="#CD0921"/><path d="M49.92 648.881 2.484 594.668" stroke="#4D001B" stroke-width="3.67" stroke-linecap="round"/><path d="m709.775 4.195-4.064-6.394 4.363-7.26-6.974 1.738-5.516-7.267-.586 7.554-7.847 3.19 5.809 3.49.866 8.427 4.943-4.936 9.006 1.458Z" fill="#fff"/><path d="M821.736 155.021c10.165-1.129 10.73-3.953 1.694-8.471-6.776-5.647-5.647-9.035 3.389-10.165 9.035 1.13 10.165-1.129 3.388-6.776-9.036-5.647-8.471-8.471 1.694-8.471" stroke="#CD0921" stroke-width="3.67" stroke-linecap="round"/><path d="m668.69 94.248 9.122 8.125-1.414 10.066 9.331-5.532 11.508 3.328-3.618-10.773 6.212-7.68-10.066-1.415-5.532-9.332-5.006 11.272-10.537 1.94Z" fill="#CD0921"/><path d="m688.563 170.954 6.776.119 3.269 6.834 3.506-6.716 6.776.118-4.993-5.17 1.812-6.746-6.834 3.269-5.023-3.476-.118 6.775-5.171 4.993ZM163.657 315.376l3.3 5.919-4.269 6.26 7.569-.341 3.299 5.919 1.965-6.914 6.744-1.82-6.26-4.269.485-6.089-5.919 3.3-6.914-1.965Z" fill="#fff"/><path d="M727.971 222.879c-5.647-7.906-9.6-7.341-11.859 1.694-3.388 9.036-7.341 9.6-11.859 1.694-5.647-7.906-9.6-7.341-11.859 1.694-3.388 9.036-7.341 9.601-11.859 1.695" stroke="#4D001B" stroke-width="4.894" stroke-linecap="round"/><path d="m371.458 245.521 5.746 12.392-7.364 10.594 13.648-.537 10.056 9.698 1.797-13.109 12.391-5.746-12.031-6.466-1.974-12.75-9.16 7.721-13.109-1.797Z" fill="#CD0921"/><path d="m447.195 137.386 11.887-59.432" stroke="#CD0921" stroke-width="3.219" stroke-linecap="round"/><path d="M375.73 37.768c7.843-7.3 6.808-13.655-3.106-19.065-9.446-4.382-10.013-9.71-1.702-15.982 7.844-7.3 6.808-13.654-3.106-19.064-9.446-4.383-10.013-9.71-1.701-15.982" stroke="#fff" stroke-width="3.67" stroke-linecap="round"/><path d="M571.944 11.671c-1.263 5.47 1.409 10.758 5.967 11.81 4.559 1.053 9.278-2.529 10.54-7.999 1.263-5.47-1.408-10.757-5.967-11.81-4.558-1.052-9.277 2.53-10.54 8Z" fill="#CD0921"/><path d="m595.682 74.084-4.265 12.526-13.261 3.275 10.577 8.643-.495 12.893 10.464-5.832 12.525 4.266-3.275-13.26 9.25-8.995-13.5-2.077-8.02-11.439Z" fill="#fff"/><path d="m437.33 44.06-20.329 20.33-10.165-25.413 30.494 5.083ZM258.312 55.93l22.024-15.247 6.777 23.718-28.801-8.47ZM176.982 27.13l16.941 20.33L173.594 64.4l-16.942-20.33 20.33-16.941Z" fill="#CD0921"/><path d="m247.667 428.694 3.682-8.347 8.525-1.398-6.536-7.009.296-8.465-6.95 4.843-8.347-3.682 1.397 8.524-5.316 6.595 8.466.296 4.783 8.643Z" fill="#fff"/><path d="m302.269 572.878 20.33-20.33v35.577l-20.33-15.247Z" fill="#4D001B"/><path d="m652.742 206.042-30.689 26.36" stroke="#CD0921" stroke-width="1.82" stroke-linecap="round"/><path d="M783.988 281.154a6.127 6.127 0 1 0 11.361 4.59 6.127 6.127 0 0 0-11.361-4.59Z" fill="#fff"/><path d="M462.582 674.01c7.415-8.368 5.879-15.064-4.608-20.088-9.36-5.092-10.333-11.822-2.918-20.191 7.415-8.368 5.879-15.064-4.608-20.088-10.419-3.896-11.956-10.592-4.609-20.088" stroke="#fff" stroke-width="3.67" stroke-linecap="round"/><path d="m671.461 649.441-45.135-36.892" stroke="#4D001B" stroke-width="4.894" stroke-linecap="round"/><path d="m463.003 545.603-1.516 5.138-4.961 3.564 5.138 1.516.237 6.772 4.902-5.257 5.138 1.516-3.563-4.961 3.209-5.198-5.021 1.871-3.563-4.961ZM385.376 559.092l-15.247-16.941 25.412-1.694-10.165 18.635Z" fill="#fff"/></g></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h840v768H0z"/></clipPath></defs></svg> |