split some svg into individual comps
This commit is contained in:
parent
cfd87bd136
commit
f4b781dafc
17 changed files with 635 additions and 626 deletions
|
|
@ -16,7 +16,7 @@
|
|||
"stripe-dev": "stripe listen --forward-to https://localhost:3000/api/stripe-webhook",
|
||||
"test": " npm run lint && npm run types ",
|
||||
"types": "tsc --noEmit",
|
||||
"analyze": "cross-env ANALYZE=true next build",
|
||||
"analyze": "next experimental-analyze",
|
||||
"vitest": "vitest run",
|
||||
"flow": "ts-node flow-gen.ts",
|
||||
"unused-trpc": "ts-node check-unused-trpc.ts"
|
||||
|
|
|
|||
|
|
@ -27,13 +27,12 @@ import {
|
|||
DialogTrigger,
|
||||
} from "~/components/ui/dialog";
|
||||
import { Textarea } from "~/components/ui/textarea";
|
||||
import { WhatsAppIcon2 } from "~/components/whatsapp-svg";
|
||||
import { useMediaQuery } from "~/hooks/use-media-query";
|
||||
import { useUserViewContext } from "~/lib/userViewContext";
|
||||
import { cn } from "~/lib/utils";
|
||||
|
||||
import { api } from "~/utils/api";
|
||||
import { Confirm } from "../confirm";
|
||||
import { WhatsAppIcon2 } from "../svgs";
|
||||
import { Button } from "../ui/button";
|
||||
import { Separator } from "../ui/separator";
|
||||
|
||||
|
|
|
|||
67
apps/infoalloggi/src/components/flags-svg.tsx
Normal file
67
apps/infoalloggi/src/components/flags-svg.tsx
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
import type { SVGProps } from "react";
|
||||
|
||||
export const EngFlag = (props: SVGProps<SVGSVGElement>) => (
|
||||
<svg
|
||||
height={800}
|
||||
viewBox="0 0 512 512"
|
||||
width={800}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlSpace="preserve"
|
||||
{...props}
|
||||
>
|
||||
<title>EnglishFlag</title>
|
||||
<path
|
||||
d="M473.655 88.276H38.345C17.167 88.276 0 105.443 0 126.621V385.38c0 21.177 17.167 38.345 38.345 38.345h435.31c21.177 0 38.345-17.167 38.345-38.345V126.621c0-21.178-17.167-38.345-38.345-38.345z"
|
||||
style={{
|
||||
fill: "#41479b",
|
||||
}}
|
||||
/>
|
||||
<path
|
||||
d="M511.469 120.282c-3.022-18.159-18.797-32.007-37.814-32.007h-9.977l-163.54 107.147V88.276h-88.276v107.147L48.322 88.276h-9.977c-19.017 0-34.792 13.847-37.814 32.007l139.778 91.58H0v88.276h140.309L.531 391.717c3.022 18.159 18.797 32.007 37.814 32.007h9.977l163.54-107.147v107.147h88.276V316.577l163.54 107.147h9.977c19.017 0 34.792-13.847 37.814-32.007l-139.778-91.58H512v-88.276H371.691l139.778-91.579z"
|
||||
style={{
|
||||
fill: "#f5f5f5",
|
||||
}}
|
||||
/>
|
||||
<path
|
||||
d="M282.483 88.276h-52.966v141.241H0v52.966h229.517v141.241h52.966V282.483H512v-52.966H282.483z"
|
||||
style={{
|
||||
fill: "#ff4b55",
|
||||
}}
|
||||
/>
|
||||
<path
|
||||
d="m24.793 421.252 186.583-121.114h-32.428L9.224 410.31a38.393 38.393 0 0 0 15.569 10.942zM346.388 300.138H313.96l180.716 117.305a38.515 38.515 0 0 0 12.287-13.075l-160.575-104.23zM4.049 109.475l157.73 102.387h32.428L15.475 95.842a38.499 38.499 0 0 0-11.426 13.633zM332.566 211.862l170.035-110.375a38.4 38.4 0 0 0-15.699-10.86L300.138 211.862h32.428z"
|
||||
style={{
|
||||
fill: "#ff4b55",
|
||||
}}
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
|
||||
export const ItaFlag = (props: SVGProps<SVGSVGElement>) => (
|
||||
<svg
|
||||
viewBox="0 0 512 512"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlSpace="preserve"
|
||||
{...props}
|
||||
>
|
||||
<title>ItalianFlag</title>
|
||||
<path
|
||||
d="M38.345 88.273C17.167 88.273 0 105.44 0 126.618v258.759c0 21.177 17.167 38.345 38.345 38.345h132.322V88.273H38.345z"
|
||||
style={{
|
||||
fill: "#73af00",
|
||||
}}
|
||||
/>
|
||||
<path
|
||||
d="M170.67 88.277h170.67v335.45H170.67z"
|
||||
style={{
|
||||
fill: "#f5f5f5",
|
||||
}}
|
||||
/>
|
||||
<path
|
||||
d="M473.655 88.273H341.333v335.448h132.322c21.177 0 38.345-17.167 38.345-38.345V126.618c0-21.178-17.167-38.345-38.345-38.345z"
|
||||
style={{
|
||||
fill: "#ff4b55",
|
||||
}}
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
import Link from "next/link";
|
||||
import BlurryDivider from "~/components/blurry_divider";
|
||||
import { LogoSvg } from "~/components/svgs";
|
||||
import { LogoSvg } from "~/components/logo-svg";
|
||||
|
||||
import { cn } from "~/lib/utils";
|
||||
import { useTranslation } from "~/providers/I18nProvider";
|
||||
|
||||
|
|
|
|||
393
apps/infoalloggi/src/components/hero-svg.tsx
Normal file
393
apps/infoalloggi/src/components/hero-svg.tsx
Normal file
|
|
@ -0,0 +1,393 @@
|
|||
import type { SVGProps } from "react";
|
||||
|
||||
export const HeroSvg = (props: SVGProps<SVGSVGElement>) => (
|
||||
<svg
|
||||
viewBox="0 0 491.85 500"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...props}
|
||||
height={500}
|
||||
width={500}
|
||||
>
|
||||
<title>Infoalloggi.it</title>
|
||||
<path
|
||||
d="m240.441 54.013-137.11 137.098V362.3h285.188V202.08L240.441 54.013Z"
|
||||
fill="#EAEAEA"
|
||||
/>
|
||||
<path d="M158.175 241.645h76.781V362.3h-76.781V241.645Z" fill="#434854" />
|
||||
<path
|
||||
d="M256.894 230.675H289.8v32.907h-32.906v-32.907Zm43.875 0h32.906v32.907h-32.906v-32.907Zm0-43.875h32.906v32.907h-32.906V186.8Zm-43.875 0H289.8v32.907h-32.906V186.8Z"
|
||||
fill="#469FCC"
|
||||
/>
|
||||
<path d="M256.894 186.8H289.8v10.97h-32.906V186.8Zm43.875 0h32.906v10.97h-32.906V186.8Zm-43.875 43.875H289.8v10.97h-32.906v-10.97Zm43.875 0h32.906v10.97h-32.906v-10.97Z" />
|
||||
<path d="m240.441 33.238-137.11 142.594v32.906l137.11-137.109 148.078 148.078V186.8L240.441 33.238Z" />
|
||||
<path
|
||||
d="M417.509 184.53 255.95 22.972l-7.755-7.756c-4.28-4.288-11.228-4.288-15.509 0l-7.755 7.756-150.59 150.589c-4.288 4.281-4.288 11.23 0 15.51l7.755 7.755c4.281 4.288 11.229 4.288 15.51 0L240.441 54.013l153.793 153.793c4.28 4.288 11.228 4.288 15.509 0l7.755-7.755c4.286-4.284 4.292-11.231.011-15.521Z"
|
||||
fill="#fb2c36"
|
||||
/>
|
||||
<path
|
||||
d="M152.088 362.3a43.409 43.409 0 0 0 6.087-21.937c0-33.775-36.563-54.884-65.813-37.997a43.877 43.877 0 0 0-21.937 37.997c0 8.029 2.315 15.455 6.087 21.937h75.576Zm225.462-65.812a43.788 43.788 0 0 0-39.839 25.722 32.515 32.515 0 0 0-15.005-3.785c-18.173 0-32.906 14.733-32.906 32.907 0 3.872.79 7.524 2.018 10.968h123.53a43.5 43.5 0 0 0 6.077-21.937c0-24.231-19.644-43.875-43.875-43.875Z"
|
||||
fill="#3AAD73"
|
||||
/>
|
||||
<path d="M337.711 322.21a32.515 32.515 0 0 0-15.005-3.785c-18.173 0-32.906 14.733-32.906 32.907 0 3.872.79 7.524 2.018 10.968h47.944a43.409 43.409 0 0 1-6.087-21.937c0-6.494 1.503-12.603 4.036-18.153Z" />
|
||||
<g id="Girl_8" transform="translate(-9.09 -35.95)">
|
||||
<ellipse
|
||||
className="fill-[#d6d8e5] opacity-[.4]"
|
||||
cx={455.85}
|
||||
cy={360.19}
|
||||
rx={22.69}
|
||||
ry={13.1}
|
||||
/>
|
||||
<path
|
||||
className="fill-[#3a2c6d]"
|
||||
d="M454.85 237.69c.91-1.46 7.86-2.42 10.15 3.47.86 2.23.73 7.94 1.46 11.52s2.43 5.62 3 8.53-.38 7.78-7.39 8.65-12.4-1.6-14.06-3.84-1.69-7 0-9.53 3-4.63 3-8Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_27"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M446.53 262.33S444.88 274 448 282.21s2.25-2.13 2.25-2.13l-.75-2.46s-.62-9.5-.36-11.83.2-4.33.36-4.52-.61-.56-.94-.61-2.03 1.67-2.03 1.67Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#3a2c6d]"
|
||||
d="M459.44 236.68s-5.23-1.51-8.4 1.32a7.77 7.77 0 0 0-2.24 7.75c.42 1.65 1.27 3.91 2.58 4s8.06-13.07 8.06-13.07Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_28"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M461.44 251s-.34 5.83-.23 6.26 2.28.84 2.9 1.35-3.17 6.42-5.1 7.3-7.88-1.36-8.29-4.33c-.38-2.72 1.7-4.84 2.51-5.58a12.41 12.41 0 0 1 1.64 0l.17-2.82c2.61-.93 6.4-2.18 6.4-2.18Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_29"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="M462.24 257.77c1.64.26 3.51 1.13 3.77 2a19.33 19.33 0 0 1-.47 9.73c-1.42 3.75-2.37 6.14-3.19 7.76 0 0-7.09 3-12.8-.51 0 0-.4-4-.42-6.17-5.28-4.6-.77-10.28 3.7-14.69a10.85 10.85 0 0 1 1.61 0s-4 4.72-1.21 7.4c5.93-1.79 7.11-4.45 9.01-5.52Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_30"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M450.55 243.72c.59-3.75 3.29-6.58 7.16-6.35a7.43 7.43 0 0 1 3.73 13.63 7.54 7.54 0 0 1-.59 1.63c-1.37 1.6-5 2.61-6.21 2.62-1 0-1.93-.95-2.9-2.56-2.03-3.4-1.51-7.12-1.19-8.97Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_31"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#3a2c6d]"
|
||||
d="M458.9 237.44c2.71.53 4.94 1.29 5.68 3.95.5 1.84 1.16 5.33.53 6.8l-.38 1.07-3.29 1.74s-1.53-1.28-1.05-5a2.8 2.8 0 0 0-.46-1.42 4.12 4.12 0 0 1-.46-1.13 4.25 4.25 0 0 0-2.12-2.3c-2.45-1.37-6-.19-6.52.31a7.11 7.11 0 0 1 8.07-4.02Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M466.2 285c.61-3.8 1.75-6.26 1.22-8.35a75.85 75.85 0 0 0-4.62-12.3c-1.2-2.36-.83-4 .41-4.94 1.4-1 2.73-.59 4 2 1.59 3.29 3.37 6.67 4.24 11.57a25.78 25.78 0 0 1-.12 9.57c-.54 3.41-1.62 5.33-2.91 8.53-.36.92-2.74-2.84-2.22-6.08Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_32"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#38226d]"
|
||||
d="M463.83 355.83c-1.37 1.11-3.51.34-3.61.44a55.48 55.48 0 0 1-5 3.84c-.86.67-2.19 1.57-1.95 2.87.43 2.31 4.13 1.6 5.53.89s2.53-1.88 3.85-2.7c.95-.59 1.87-.89 2-2.08.09-.72-.58-3.29-.82-3.26Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#9c73ff]"
|
||||
d="M464.63 358.61c-.18 1.14-1.09 1.46-2 2-1.34.83-2.52 2-3.92 2.74s-4.51 1.3-5.41-.35c.49 2.23 4.13 1.53 5.51.83s2.53-1.88 3.85-2.7c.95-.59 1.87-.89 2-2.08a2.88 2.88 0 0 0-.03-.44Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#38226d]"
|
||||
d="M454.2 353.9c-1.25 1-3.15.45-3.24.55a52.4 52.4 0 0 1-4.59 3.5c-.79.61-2 1.44-1.79 2.62.4 2.12 3.79 1.47 5.07.82s2.32-1.72 3.53-2.47c.86-.54 1.71-.82 1.85-1.91.08-.66-.6-3.13-.83-3.11Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#9c73ff]"
|
||||
d="M455 356.57c-.17 1.05-1 1.33-1.86 1.87-1.23.76-2.31 1.86-3.59 2.51s-4.13 1.19-5-.32c.45 2 3.78 1.4 5 .76s2.32-1.72 3.53-2.47c.86-.54 1.71-.82 1.85-1.91a2.41 2.41 0 0 0 .07-.44Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M446.81 290.1c.61-4.73 2.35-11.6 2.35-11.6a14 14 0 0 0 5.25 1.31 43.54 43.54 0 0 0 7.93-.78 47.67 47.67 0 0 0 2.8 4.33c1.36 1.89 4 6 3.37 13.29-.41 4.73-3.07 24.84-3.07 24.84a37.47 37.47 0 0 1 1.63 10.43 84 84 0 0 1-1.66 12.49l-1.58 11.42s-2.11 1.52-3.61.44l.19-11.17c-.18-2.73-.45-6.76-.63-9.34-.28-4.19-1-10.85-1.25-12.52s-.75-4.57-1-7.83-1.48-19.8-1.48-19.8l-.17 3.1s-.17 5-.89 11.24-1 9-1 9a13.34 13.34 0 0 1 1.42 4c.13 1.34 1.66 12 .74 17.36L454.29 354a3.61 3.61 0 0 1-3.25.43l-1.11-13.84c-.74-5.27-2.31-16.43-2.55-17.88a59.48 59.48 0 0 1-.94-8.85c-.37-5.99-.23-19.03.37-23.76Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#8c50ff]"
|
||||
d="m462.35 277.29 4.07 8.18s6.22 9.1-.22 32.48l1.21 7.21s-12.19 7.83-20.35 0c0 0-2.83-21.61-1.32-31.57a113.26 113.26 0 0 1 3.8-16.93s2 2.21 12.27.75"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="M469.66 266.05s-2.83 2.82-6.19 2.47l-1.61-5.52s-1-2.87 1.4-4.13 4.99 1.56 6.4 7.18ZM452.83 255.92s-3.24-1-6.67 6.19l1.28.77a54.66 54.66 0 0 1 5.39-6.96Z"
|
||||
/>
|
||||
</g>
|
||||
<g id="Girl_4" transform="translate(40.496 -45.041)">
|
||||
<ellipse
|
||||
className="fill-[#d6d8e5] opacity-[.4]"
|
||||
cx={85.39}
|
||||
cy={486.9}
|
||||
rx={22.69}
|
||||
ry={13.1}
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M98.48 386.23c2 .57 3.12 2.76 4.86 7.45a39.25 39.25 0 0 1 2.09 13.22c-.56 4.42-2.39 7.86-6.81 11.44l-2.11-3.87s4.33-3.82 4.77-8.24c.25-2.48-2.66-10.84-2.66-11.07s-.14-8.93-.14-8.93Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_33"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#38226d]"
|
||||
d="M81.17 488.09a4.85 4.85 0 0 1-4-.54c-1.08 0-7.43-2.49-8.23-.38-.7 1.85 1.85 3.57 3.2 3.9 3 .71 5.16 2.19 6.36 2.44a3 3 0 0 0 2.74-.38c.83-.84.76-3.94-.07-5.04Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#9c73ff]"
|
||||
d="M78.48 493c-1.2-.25-3.39-1.73-6.36-2.45-1.13-.27-3.1-1.52-3.29-3-.27 1.7 2 3.21 3.29 3.52 3 .71 5.16 2.19 6.36 2.44a3 3 0 0 0 2.74-.38 1.91 1.91 0 0 0 .39-.71 3.56 3.56 0 0 1-3.13.58Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#38226d]"
|
||||
d="M97.29 479.71a3.81 3.81 0 0 1-3.49-.53c-1 0-7.53-2.38-8.3-.35-.67 1.78 1.78 3.42 3.08 3.74 2.86.69 5 2.12 6.12 2.36a2.9 2.9 0 0 0 2.64-.37c.82-.81.75-3.79-.05-4.85Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#9c73ff]"
|
||||
d="M94.7 484.44c-1.15-.25-3.26-1.67-6.12-2.36-1.09-.27-3-1.47-3.17-2.9-.25 1.64 2 3.1 3.17 3.39 2.86.69 5 2.12 6.12 2.36a2.9 2.9 0 0 0 2.64-.37 1.67 1.67 0 0 0 .37-.69 3.4 3.4 0 0 1-3.01.57Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M99.42 463.6a21.09 21.09 0 0 0-1.24-7.15s.82-9.79 1.45-16.22c.92-9.48 2.38-10.42 2-16.18-.38-5.34-3.42-8.8-4.21-12.42l-15.47 1.22s-1.35 4.39-3.09 13.13-1.86 19.13-1.72 32.89c0 3.55-.6 6.63-.4 15.47.14 5.94.48 13.22.48 13.22 2.26 1.94 3.83.51 3.83.51s4-17.6 4.55-21.64a12.73 12.73 0 0 0-.54-6.68s1.16-5.53 2-9.88c1-5.31 3.65-16.77 3.65-16.77s-.45 17.61.32 21.08.9 6.49 1.56 11.21c.79 5.7 1.15 14.05 1.15 14.05 2.36 1.5 3.41.35 3.41.35s2.27-11.2 2.27-16.19Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_34"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#8c50ff]"
|
||||
d="M97.38 411.63c1.62 1.66 4.3 6.71 4.3 14.35 0 8.6-1.25 6.86-1.85 16.33l-.6 9.47s-12.93 6.17-22.15.45c-.82-1.79.31-21.71 1.93-28.79s2.73-10.55 2.73-10.55 11.89 3.21 15.64-1.26Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M97.57 386.14c-3.3-.2-3.62.35-3.88-.82-.09-.42-.28-3.32-.28-3.32a10.61 10.61 0 0 0 .83-1.22 8.37 8.37 0 0 0 4-6.29 8.47 8.47 0 0 0-7.54-9.3c-4.37-.45-7.59 2.62-8.45 6.84-.46 2.08-.94 6.33.36 9.74.73 1.93 1.41 3.28 3.15 3.21a10.47 10.47 0 0 0 1.72-.3 16.18 16.18 0 0 1 .1 2.41c0 .85.1 1.27-1.56 2.29s2.5 3.1 5.21 2.9 5.75-1.84 6.59-3.59c.92-1.96 1.3-2.46-.25-2.55Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_35"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="M100 400.75s3.73-.84 5.44-2.5c0 0-2.22-7-3.64-8.74S99 399 99 399Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="M94.29 386.07c.61.76.68 1.71-1.67 2.31a7.44 7.44 0 0 1-5.15-.4 34.52 34.52 0 0 0-5.32 2.82c-2 6.6-.39 7.45-1.23 12.18.33 2.38.72 8.52.82 9.91 4.49 3.14 13.6 2.07 15.64-1.26a27.55 27.55 0 0 1 .31-3.31c2.14-7.94 3.81-10 3.22-16-.34-3.42-.61-5.14-2.43-6.06a16.1 16.1 0 0 0-4.19-.19Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_36"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M53.07 411.89a23.07 23.07 0 0 1 3 .86 10 10 0 0 0 2.93 1c1.1.17 2.82-.4 5.79-1.8a32 32 0 0 0 8.7-6.54 75.44 75.44 0 0 0 7.6-10.85c1.29-2.35 2.92-2.94 4.34-2.48 1.7.56 1.91 2.25 0 5.41a60.5 60.5 0 0 1-8.7 11.39 32.63 32.63 0 0 1-9.07 6.4 27.87 27.87 0 0 1-7.63 2.65c-.93.2-1.56.59-3.28 1.19a11.36 11.36 0 0 1-5.35.59c-1.49-.29-2-.63-2.06-1s.24-.63.94-.58a9.18 9.18 0 0 0 3.32-.08s-1.54-.05-2.45-.16a8.86 8.86 0 0 1-2.38-.6c-.73-.31-1-1.46-.26-1.42s1.24.26 2.6.4a9 9 0 0 0 2.16 0 16.91 16.91 0 0 1-2.65-.66 3.76 3.76 0 0 1-1.85-1.14c-.25-.29-.18-1 .69-.82a13.89 13.89 0 0 0 3.24.71c1.11 0 1.9-.09 1.76-.26s-.8-.15-1.64-.62-1.34-1.38-1-1.82.34-.11 1.25.23Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_37"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="M83.64 401.31a12 12 0 0 1-6.84-3.47l4.14-5.74s2.33-2.94 5.41-1.28c0 0 2.32.25 0 5.11a47.84 47.84 0 0 1-2.71 5.38Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#3a2c6d]"
|
||||
d="M81.45 369.54a3.83 3.83 0 0 1 4.32-3.16 7.31 7.31 0 0 1 4.92-1.19c3.93.41 6.5 3 7.69 6.9a30.94 30.94 0 0 1 1.16 6c1.18 8.75 4.36 15.69 1.39 18.29s-11.11 4.25-14.51 2.62 2.8-16.71-3.93-25.09c-1.58-1.99-1.73-3.38-1.04-4.37Z"
|
||||
/>
|
||||
</g>
|
||||
<g id="Men_13" transform="translate(40.496 -45.041)">
|
||||
<ellipse
|
||||
className="fill-[#d6d8e5] opacity-[.4]"
|
||||
cx={22.69}
|
||||
cy={454.91}
|
||||
rx={22.69}
|
||||
ry={13.1}
|
||||
/>
|
||||
<path
|
||||
className="fill-[#2b2a30]"
|
||||
d="M12 451.62c1.55 1.26 3.83.11 3.94.23a72.22 72.22 0 0 0 5.71 4.75c1 .76 2.47 1.77 2.19 3.23-.48 2.6-4.65 1.8-6.23 1s-2.86-2.11-4.35-3c-1.06-.66-2.1-1-2.27-2.34-.14-.85.7-3.9 1.01-3.87Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#bf4b4b]"
|
||||
d="M11 454.91c.21 1.28 1.24 1.64 2.29 2.29 1.52.94 2.85 2.3 4.42 3.09s5.08 1.47 6.1-.39c-.55 2.51-4.65 1.72-6.21.93s-2.86-2.11-4.35-3c-1.06-.66-2.1-1-2.27-2.34a3.6 3.6 0 0 1 .02-.58Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#2b2a30]"
|
||||
d="M25.38 446.63c1.55 1.26 4.25-.11 4.37 0a60 60 0 0 0 5.09 4.61c1 .75 2.47 1.77 2.2 3.23-.49 2.6-4.66 1.8-6.23 1s-2.86-2.12-4.35-3c-1.06-.66-2.11-1-2.27-2.34-.1-.85.92-3.53 1.19-3.5Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#bf4b4b]"
|
||||
d="M24.23 449.73c.21 1.28 1.24 1.64 2.29 2.29 1.52.94 2.85 2.3 4.42 3.1s5.08 1.46 6.1-.4c-.55 2.51-4.65 1.73-6.21.94s-2.85-2.12-4.34-3.05c-1.07-.66-2.11-1-2.28-2.34a3.6 3.6 0 0 1 .02-.54Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e26161]"
|
||||
d="M11.87 394.54c.08 2.34.8 12.5 1.13 17.87s.4 12 .4 12-.93 3.91-1.53 8.52 0 19.13 0 19.13a3.67 3.67 0 0 0 4 0s2.48-11.63 3.62-16.87 1.35-8.26 1.94-11.5c.72-3.93 2.27-22.26 2.27-22.26h.62l1.66 20.69a23.16 23.16 0 0 0-1.05 4.7c-.45 3.37.48 20.33.48 20.33a4.1 4.1 0 0 0 4.28-.18s4.13-22.46 4.13-25.87c0-2.27-.38-32.07-.38-32.07Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_38"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M17.48 349.35s.26 5.1.15 5.55-2.34 1.94-3 2.48 3.53 4.62 5.56 5.62 8.46-1.52 8.57-4.68-1.1-5.81-2.08-5.95-9.2-3.02-9.2-3.02Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_39"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M31.44 358.81c.3-2.25-1.18-4.39.25-6.18 5 4.94 4.4 18 5.54 26.35 3.74 3.9 11.25 7.75 13.36 8.7.38.18.72.37.64.78a9.26 9.26 0 0 1-1.75 3.82c-5-2.14-8.55-3.37-14.76-9.27a13.59 13.59 0 0 1-1.57-2.07c-1.77-5.32-2.22-18.25-1.71-22.13Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="M16.91 355.78s3.7 5.51 8.86 6c1.63-1.6 1.77-7.31-.48-9.14 0 0 2.07-1.67 3.49-1.35a7.35 7.35 0 0 1 3.22 4.1 33.52 33.52 0 0 1 1.82 11.8c-.09 5.41 0 21.94 0 21.94s-.72 3.49-5.39 6.09-8.14 2.86-11.31 2.12c-2.61-.61-4.77-1.53-5.67-3.42.24-3.8 1.93-13.69 1.3-18.46s-1.64-8.32-1.9-12.18.5-3.78 2.44-5.15a29.62 29.62 0 0 1 3.62-2.35Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_40"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M29 341.75c-.61-4-3.46-7-7.55-6.73a7.85 7.85 0 0 0-4 14.33 7.82 7.82 0 0 0 .63 1.73c1.44 1.69 5.81 2.73 7.06 2.55a3.74 3.74 0 0 0 3.28-2.63c1.36-3.14.93-7.3.58-9.25Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_41"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#2b2a30]"
|
||||
d="m17.48 349.35.37-3.46S15 338.59 21.7 340c4.4.93 5.5 1.33 6.84-1.62s-3.38-5.61-9-4.87a7.75 7.75 0 0 0-6.94 7.86c.16 2.16.74 6.56 4.88 7.98Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M9.67 361c1.93-.55.46-.1 1.93-.55 5 4.93 4.41 13.39 5.55 21.74C19.93 386.8 30.24 393 30.24 393c.13.89-.18 1.15-1.3 3a44.43 44.43 0 0 1-15.33-9.89c-.25-.23-.61-.3-.71-.61-1.77-5.36-3.74-20.61-3.23-24.5Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="m55.55 371.31-7.49 25.62-16.45 6.57 6-24.96 17.94-7.23z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M27.65 393.21c.24-.88.87-.66 1.59-.44a4.13 4.13 0 0 0 2.43.21 7.52 7.52 0 0 0 1.74-1.18 2.15 2.15 0 0 1 1.1-.31c0 .22-.38 1.52-.38 1.52h4a.61.61 0 0 1 .57 1h.25c.73-.16 1 1 .31 1.14l-.6.09c.48.19.6 1 0 1.1h-.19a.78.78 0 0 1-.26 0H38a.63.63 0 0 1-.54.76c-1.76.23-4.35.93-5.94-.52a9.88 9.88 0 0 1-3.19-.86c-.95-.48-.98-1.47-.68-2.51ZM45.63 391.11h.25a.6.6 0 0 1 .35-1.09c.37 0 4.08-.78 4.08-.78l.45-1.52c0-.09.64.3.66.32a2.46 2.46 0 0 1 1.12 1.85 4 4 0 0 1-1.07 2.87 3.66 3.66 0 0 1-2.47 1.06c-.45 0-.88.05-1.27.09a.65.65 0 0 1-.69-.64h-.12a.47.47 0 0 1-.26 0h-.19c-.63 0-.68-.78-.25-1.06h-.61c-.8.07-.73-1.11.02-1.1Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="M33.54 362.15a4 4 0 0 0 2.68-1.2c-.14-1.9-2.56-9.09-7.44-9.63a9.09 9.09 0 0 1 3 3.68 48.52 48.52 0 0 1 1.76 7.15ZM8.79 371.65s4.85 1.68 8.27-1.14c.38-.64-2-8.9-2-8.9s-2-4.22-5.22-2.54-1.05 12.58-1.05 12.58Z"
|
||||
/>
|
||||
</g>
|
||||
<g transform="translate(-94.215 11.983)">
|
||||
<path
|
||||
className="fill-[#b1b4c4]"
|
||||
d="M425.06 388.31a28.45 28.45 0 0 0-5.1-3.71c-13.85-8-36.37-8-50.21 0a27.182 27.182 0 0 0-5.84 4.44c-7.61 7.81-5.66 17.91 5.84 24.55 13.84 8 36.37 8 50.21 0 11.86-6.85 13.56-17.38 5.1-25.28ZM415.55 411c-11.41 6.59-30 6.59-41.38 0-8-4.62-10.4-11.28-7.17-17.12a18.646 18.646 0 0 1 7.17-6.77c11.41-6.58 30-6.58 41.38 0a18.5 18.5 0 0 1 7.15 6.77c3.24 5.88.85 12.53-7.15 17.12Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#a1a5b5]"
|
||||
d="M422.7 393.92a18.5 18.5 0 0 0-7.15-6.77c-11.41-6.58-30-6.58-41.38 0a18.646 18.646 0 0 0-7.17 6.77l-3.09-4.92-.56-.89 4-9.55 13.89-7.72 25.86.45 17.57 10.42s.32 3.3.36 6.56c.07 4.08-.33 8.05-2.33 5.65Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#b1b4c4]"
|
||||
d="m359.37 399 .01-10.85 5.38 9.11-5.39 1.74zM430.34 399v-10.79l-4.74 5.37 4.74 5.42z"
|
||||
/>
|
||||
<ellipse
|
||||
cx={395.18}
|
||||
cy={393.58}
|
||||
rx={29.54}
|
||||
ry={17.05}
|
||||
style={{
|
||||
fill: "#3e7eff",
|
||||
opacity: 0.1,
|
||||
}}
|
||||
/>
|
||||
<path
|
||||
className="fill-[#b1b4c4]"
|
||||
d="M362.07 400.83s4.55 17.92 38.48 17c23.55 0 26.56-20.24 26-23.12a28.238 28.238 0 0 1-20.81 11.58c-14.33 1.25-24.91 1.09-30.57-1.65s-13.09-9.93-13.09-9.93l-.01 6.12Z"
|
||||
/>
|
||||
<path
|
||||
d="M369.75 403.25c-13.84-8-13.84-21 0-29s36.37-8 50.21 0c13.84 8 13.84 21 0 29s-36.37 7.99-50.21 0Zm45.79-26.44c-11.41-6.58-30-6.59-41.37 0-11.37 6.59-11.41 17.3 0 23.89s30 6.59 41.37 0c11.37-6.59 11.46-17.3 0-23.89Z"
|
||||
style={{
|
||||
fill: "#d6d8e5",
|
||||
}}
|
||||
/>
|
||||
<ellipse
|
||||
cx={319.57}
|
||||
cy={438.88}
|
||||
rx={3.9}
|
||||
ry={6.75}
|
||||
style={{
|
||||
opacity: 0.1,
|
||||
}}
|
||||
transform="rotate(-30 319.598 438.896)"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#b1b4c4]"
|
||||
d="m373.39 407.78-14.94 8.63-4.61-2.67 14.94-8.62 4.61 2.66z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#a1a5b5]"
|
||||
d="m373.39 413.1-14.94 8.62v-5.32l14.94-8.63v5.33z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#8c50ff]"
|
||||
d="M361.5 420.18a10.562 10.562 0 0 0-4.77-8.27 3.38 3.38 0 0 0-3.33-.36L316.22 433l6.78 11.64 36.72-21.2c1.09-.39 1.78-1.53 1.78-3.26Z"
|
||||
/>
|
||||
<ellipse
|
||||
className="fill-[#8c50ff]"
|
||||
cx={319.57}
|
||||
cy={438.88}
|
||||
rx={3.9}
|
||||
ry={6.75}
|
||||
transform="rotate(-30 319.598 438.896)"
|
||||
/>
|
||||
</g>
|
||||
<g id="Men_1" transform="translate(-22.314 -27.686)">
|
||||
<ellipse
|
||||
className="fill-[#d6d8e5] opacity-[.4]"
|
||||
cx={423.93}
|
||||
cy={486.82}
|
||||
rx={22.69}
|
||||
ry={13.1}
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M439.85 392.73c.24 2.11 2.76 11.21 2.22 14.32s-9.14 8.33-9.14 8.33l-1.19-5.33 4.76-4.67-1.29-8.83Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_54"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="M433.2 383.76a3.77 3.77 0 0 1 4.79 1.45c1.26 2.09 2.57 9.28 2.69 10.5 0 0-1.77 2.46-4.43 2.05Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_55"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#2b2a30]"
|
||||
d="M423.38 485.22a7.4 7.4 0 0 1-5.56-.68c-1.34 0-8.62-3.07-9.61-.46-.86 2.3 2.29 4.42 4 4.82 3.68.89 6.39 2.73 7.87 3 1.1.23 2.52.38 3.4-.48 1.02-1 .93-4.84-.1-6.2Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#bf4b4b]"
|
||||
d="M420.05 491.3c-1.48-.31-4.19-2.14-7.87-3-1.41-.34-3.84-1.89-4.09-3.73-.32 2.11 2.52 4 4.09 4.36 3.68.89 6.39 2.73 7.87 3 1.1.23 2.52.38 3.4-.48a2.22 2.22 0 0 0 .48-.88 4.41 4.41 0 0 1-3.88.73Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#2b2a30]"
|
||||
d="M435.18 479.92a7.35 7.35 0 0 1-5.56-.67c-1.34 0-8.62-3.08-9.61-.46-.86 2.29 2.29 4.41 4 4.82 3.67.89 6.39 2.72 7.87 3 1.1.23 2.52.38 3.4-.48 1.02-1.01.93-4.85-.1-6.21Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#bf4b4b]"
|
||||
d="M431.85 486c-1.48-.31-4.2-2.14-7.87-3-1.41-.34-3.84-1.88-4.09-3.72-.32 2.11 2.52 4 4.09 4.36 3.67.89 6.39 2.72 7.87 3 1.1.23 2.52.38 3.4-.48a2.22 2.22 0 0 0 .48-.88 4.38 4.38 0 0 1-3.88.72Z"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e26161]"
|
||||
d="M435.32 460.15a44.45 44.45 0 0 0-1.67-8s.5-6.88.75-13.4c.28-7.4 2.85-13.91.82-19.81l-22.82 5.07s1.38 29.5 1.68 33.07a66.94 66.94 0 0 0 1 8.28c1 5.73 2.73 19.35 2.73 19.35a8.52 8.52 0 0 0 5.58.62s-.17-17.22-.33-21.35c-.19-5-.34-4.65-.34-4.65l.76-12.55.49-6.24s.63 4.58 1 8.67c.36 3.57 1.22 6.8 2.18 13.44.84 5.76 2.19 17.34 2.19 17.34 2.42 1.4 5.69.24 5.69.24s.97-15.08.29-20.08Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_56"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M432 383.88c-1.74.09-3 .54-3.25 0a24.73 24.73 0 0 1-.4-2.71c.2-.51.38-1.05.38-1.05 2.18-1.34 2.87-3.7 3.16-6.45.49-4.7-2.05-8.81-6.75-9.3-4.41-.46-7.66 2.65-8.53 6.91-.46 2.1-1.39 6.07-.14 9.53.71 1.94 1.61 3.47 2.52 3.77a20.09 20.09 0 0 0 2.61-.23s.23 1.3.39 2.14.1 1.28-1.57 2.3 2.52 3.14 5.26 2.93 5.81-1.86 6.66-3.62c.93-1.95.84-4.27-.34-4.22Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_57"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="M429.48 384.14c.48 1.2-.75 2.67-4 3.7s-3.56-.3-3.56-.3a66.49 66.49 0 0 0-6.35 3.27c-2 1.37-2.82 5.34-3.09 12-.3 7.74-.33 19.23-.07 21.21 0 0 3.66 3.65 8.35 3.27s12.57-4.53 14.48-7.74c-.05-6.79-.85-7.89.25-11.8 2.52-9 3.84-12.62 2.62-18.57-1-4.91-2.42-5.52-4.36-5.47a41.07 41.07 0 0 0-4.27.43Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_58"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#ffcea9]"
|
||||
d="M405.1 409.24c3.85 1 4.75-1.45 5.26-3.46 1.22-4.86 1.88-9.25 2.79-12 1.08-3.26 2.2-3.78 3.79-4.41 1.85-.75 3.45.82 2.83 5a82.82 82.82 0 0 1-3.52 14.13c-.48 1.52-1.55 4.21-3.16 5.51-2 1.6-5 1.53-9.5.41-1.92-.48-4-1.63-7.69-3.33-1-.46-1.74-.76-3.62-1.64a12.94 12.94 0 0 1-4.82-3.76c-1-1.43-1.11-2.1-.91-2.42s.7-.32 1.22.28a10.72 10.72 0 0 0 2.77 2.56s-1.22-1.26-1.87-2.07a10.55 10.55 0 0 1-1.46-2.38c-.35-.83.37-2 .91-1.37s.81 1.2 1.8 2.39a10.35 10.35 0 0 0 1.78 1.7 19.53 19.53 0 0 1-1.64-2.64 4.45 4.45 0 0 1-.6-2.39c0-.43.65-.95 1.22-.12a16.2 16.2 0 0 0 2.07 3.15c.88.91 1.62 1.44 1.64 1.18s-.53-.75-.84-1.81 0-2.18.59-2.31.47-.09.94.91a28.49 28.49 0 0 1 1.75 3.17 6.56 6.56 0 0 0 1.58 2.73c.95.96 3.04 2.07 6.69 2.99Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_59"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#e4e4e7]"
|
||||
d="M418.36 388.69c-2.57-.37-4.38.78-5.52 4.67s-1.92 7.09-1.92 7.09a7 7 0 0 0 4.3 2.86c3.07.74 4.18-.73 4.18-.73s.85-4.08 1.38-6.85.76-6.57-2.42-7.04Z"
|
||||
data-name="<\u041A\u043E\u043D\u0442\u0443\u0440>"
|
||||
id="_\u041A\u043E\u043D\u0442\u0443\u0440_60"
|
||||
/>
|
||||
<path
|
||||
className="fill-[#2b2a30]"
|
||||
d="M416.75 370.67s-4.05-6.16 4.74-7.42c6.34-.91 10.41 3.17 10.88 7.59.45 4.22-2.15 8.61-4 10.35a7.68 7.68 0 0 1-5.48-.67 33.14 33.14 0 0 1-.12-3.45s3.06-6.51-6.02-6.4Z"
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
);
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
"use client";
|
||||
import { ASvg } from "~/components/svgs";
|
||||
|
||||
import { ASvg } from "~/components/logo-svg";
|
||||
|
||||
export const LoadingPage = () => {
|
||||
return (
|
||||
|
|
|
|||
111
apps/infoalloggi/src/components/logo-svg.tsx
Normal file
111
apps/infoalloggi/src/components/logo-svg.tsx
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -3,7 +3,7 @@ import { add } from "date-fns";
|
|||
import { useRouter } from "next/router";
|
||||
import { useState } from "react";
|
||||
import LoadingButton from "~/components/custom_ui/loading-button";
|
||||
import { EngFlag, ItaFlag } from "~/components/svgs";
|
||||
import { EngFlag, ItaFlag } from "~/components/flags-svg";
|
||||
|
||||
export const LangToggle = () => {
|
||||
const router = useRouter();
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import Link from "next/link";
|
||||
import { LogoSvg } from "~/components/svgs";
|
||||
import { LogoSvg } from "~/components/logo-svg";
|
||||
import { cn } from "~/lib/utils";
|
||||
import { useTranslation } from "~/providers/I18nProvider";
|
||||
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ import Link, { type LinkProps } from "next/link";
|
|||
import { useRouter } from "next/navigation";
|
||||
import type { ReactNode } from "react";
|
||||
import { IconMatrix } from "~/components/IconComponents";
|
||||
import { ASvg, LogoSvg } from "~/components/logo-svg";
|
||||
import { LangToggle } from "~/components/navbar/lang-toggle";
|
||||
import { UserHeaderSection } from "~/components/navbar/login-button";
|
||||
import { ASvg, LogoSvg } from "~/components/svgs";
|
||||
import { Button } from "~/components/ui/button";
|
||||
import { Separator } from "~/components/ui/separator";
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import { CircleUser, Navigation, Phone, TriangleAlert } from "lucide-react";
|
|||
import Link from "next/link";
|
||||
import { useMemo, useState } from "react";
|
||||
import toast from "react-hot-toast";
|
||||
import { WhatsAppIcon2 } from "~/components/whatsapp-svg";
|
||||
import { useTranslation } from "~/providers/I18nProvider";
|
||||
import { useServizio, useServizioAnnuncio } from "~/providers/ServizioProvider";
|
||||
import type { UsersStorageUserStorageId } from "~/schemas/public/UsersStorage";
|
||||
|
|
@ -19,7 +20,6 @@ import {
|
|||
CredenzaTrigger,
|
||||
} from "../custom_ui/credenza";
|
||||
import { LoadingPage } from "../loading";
|
||||
import { WhatsAppIcon2 } from "../svgs";
|
||||
import { Button } from "../ui/button";
|
||||
|
||||
export const ContattiProprietarioModal = () => {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -27,7 +27,7 @@ import toast from "react-hot-toast";
|
|||
import { NotePopover } from "~/components/notePopover";
|
||||
import { AnnuncioCardRichieste } from "~/components/servizio/annuncio_card";
|
||||
import { OrdersModal } from "~/components/servizio/servizio_actions";
|
||||
import { WhatsAppIcon2 } from "~/components/svgs";
|
||||
|
||||
import { Badge } from "~/components/ui/badge";
|
||||
import { Button } from "~/components/ui/button";
|
||||
import {
|
||||
|
|
@ -60,6 +60,7 @@ import {
|
|||
TooltipTrigger,
|
||||
} from "~/components/ui/tooltip";
|
||||
import { UserAvatar } from "~/components/user_avatar";
|
||||
import { WhatsAppIcon2 } from "~/components/whatsapp-svg";
|
||||
import { MutationPageRestore } from "~/lib/tableUtils";
|
||||
import { cn } from "~/lib/utils";
|
||||
import { orderTypeEnum } from "~/schemas/public/OrderTypeEnum";
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ import type {
|
|||
SearchFiltro,
|
||||
} from "~/components/ui/dataTable-toolbar";
|
||||
import { UserAvatar } from "~/components/user_avatar";
|
||||
import { WhatsAppIcon2 } from "~/components/whatsapp-svg";
|
||||
import { MutationPageRestore } from "~/lib/tableUtils";
|
||||
import { cn } from "~/lib/utils";
|
||||
import type { Etichette } from "~/schemas/public/Etichette";
|
||||
|
|
@ -31,7 +32,6 @@ import type { UsersId } from "~/schemas/public/Users";
|
|||
import type { UserWChatInfo } from "~/server/controllers/user.controller";
|
||||
import { api } from "~/utils/api";
|
||||
import { Etichetta } from "../etichette";
|
||||
import { WhatsAppIcon2 } from "../svgs";
|
||||
import { Button } from "../ui/button";
|
||||
import {
|
||||
ContextMenuContent,
|
||||
|
|
|
|||
47
apps/infoalloggi/src/components/whatsapp-svg.tsx
Normal file
47
apps/infoalloggi/src/components/whatsapp-svg.tsx
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
import type { SVGProps } from "react";
|
||||
|
||||
export const WhatsAppIcon2 = ({ className }: { className?: string }) => (
|
||||
<svg
|
||||
className={className}
|
||||
height={800}
|
||||
viewBox="0 0 24 24"
|
||||
width={800}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title>{"WhatsApp icon"}</title>
|
||||
<path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51a12.8 12.8 0 0 0-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z" />
|
||||
</svg>
|
||||
);
|
||||
|
||||
export const WhatsAppIcon = (props: SVGProps<SVGSVGElement>) => (
|
||||
<svg
|
||||
height="1em"
|
||||
viewBox="0 0 512 512"
|
||||
width="1em"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlSpace="preserve"
|
||||
{...props}
|
||||
>
|
||||
<title>WhatsAppIcon</title>
|
||||
<path
|
||||
d="M437.019 74.98C388.668 26.628 324.38 0 256 0S123.333 26.628 74.98 74.98 0 187.62 0 256c0 51.485 15.154 100.938 43.874 143.34L.69 500.106c-1.343 3.134-.607 6.966 1.798 9.381 2.495 2.506 6.519 3.206 9.714 1.684l96.358-45.885C151.858 495.866 202.721 512 256 512c68.38 0 132.668-26.628 181.019-74.98C485.371 388.667 512 324.38 512 256s-26.629-132.667-74.981-181.02z"
|
||||
style={{
|
||||
fill: "#20a83e",
|
||||
}}
|
||||
/>
|
||||
<circle
|
||||
cx={256}
|
||||
cy={256}
|
||||
r={213.333}
|
||||
style={{
|
||||
fill: "#fff",
|
||||
}}
|
||||
/>
|
||||
<path
|
||||
d="m392.391 342.641-7.673-41.561a8.536 8.536 0 0 0-6.718-6.818l-60.339-12.067a8.536 8.536 0 0 0-7.709 2.334l-24.514 24.514c-41.302-18.507-64.226-41.478-84.396-84.555l24.435-24.436a8.534 8.534 0 0 0 2.334-7.708l-12.068-60.34a8.535 8.535 0 0 0-6.819-6.718l-41.561-7.673a8.536 8.536 0 0 0-3.44.07 59.558 59.558 0 0 0-28.956 15.994c-13.801 13.801-19.075 33.938-15.252 58.237 6.418 40.801 26.409 97.583 63.289 134.61l.502.5c37.001 36.855 93.782 56.846 134.583 63.265 5.14.809 10.092 1.21 14.838 1.21 17.694 0 32.517-5.581 43.4-16.462a59.573 59.573 0 0 0 15.993-28.957c.258-1.129.282-2.3.071-3.439z"
|
||||
style={{
|
||||
fill: "#20a83e",
|
||||
}}
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
|
|
@ -4,10 +4,11 @@ import Head from "next/head";
|
|||
import toast from "react-hot-toast";
|
||||
import { AreaRiservataLayout } from "~/components/Layout";
|
||||
import { LoadingPage } from "~/components/loading";
|
||||
import { LogoSvg } from "~/components/logo-svg";
|
||||
import { Status500 } from "~/components/status-page";
|
||||
import { LogoSvg, WhatsAppIcon } from "~/components/svgs";
|
||||
import { Button } from "~/components/ui/button";
|
||||
import { Card } from "~/components/ui/card";
|
||||
import { WhatsAppIcon } from "~/components/whatsapp-svg";
|
||||
import { replaceWithBr } from "~/lib/newlineToBr";
|
||||
import { formatCurrency, redirectTo500 } from "~/lib/utils";
|
||||
import type { NextPageWithLayout } from "~/pages/_app";
|
||||
|
|
|
|||
|
|
@ -6,8 +6,9 @@ import { AccordionComp } from "~/components/accordionComp";
|
|||
import { AnniversaryBanner } from "~/components/banners";
|
||||
import { CodiceBox } from "~/components/codiceRicerca";
|
||||
import { ComeFunziona } from "~/components/expand_guida";
|
||||
import { HeroSvg } from "~/components/hero-svg";
|
||||
import { LogoSvg } from "~/components/logo-svg";
|
||||
import { PricingChoice } from "~/components/prezzi";
|
||||
import { HeroSvg, LogoSvg } from "~/components/svgs";
|
||||
import { Button } from "~/components/ui/button";
|
||||
import { env } from "~/env";
|
||||
import type { LangDict } from "~/i18n/locales";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue