Skip to content

Commit 719ccfd

Browse files
committed
Initial Regions page
1 parent 8eecc7e commit 719ccfd

File tree

9 files changed

+654
-2
lines changed

9 files changed

+654
-2
lines changed
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
export function CloudProviderIcon({
2+
provider,
3+
className,
4+
}: {
5+
provider: "aws" | "digitalocean" | (string & {});
6+
className?: string;
7+
}) {
8+
switch (provider) {
9+
case "aws":
10+
return <AWS className={className} />;
11+
case "digitalocean":
12+
return <DigitalOcean className={className} />;
13+
default:
14+
return null;
15+
}
16+
}
17+
18+
export function AWS({ className }: { className?: string }) {
19+
return (
20+
<svg className={className} viewBox="0 0 240 240" fill="none" xmlns="http://www.w3.org/2000/svg">
21+
<path
22+
d="M67.6343 100.132C67.5545 102.527 67.8738 104.921 68.5123 107.236C69.2307 109.232 70.1088 111.147 71.0666 112.983C71.3859 113.542 71.6254 114.181 71.6254 114.819C71.5455 115.777 70.9868 116.735 70.1088 117.214L65.08 120.566C64.4414 120.965 63.723 121.285 63.0046 121.285C62.1266 121.205 61.2486 120.806 60.61 120.167C59.5723 119.05 58.5346 117.773 57.7364 116.416C56.9382 115.059 56.14 113.542 55.2619 111.706C49.0359 119.05 41.2134 122.722 31.7944 122.722C25.0894 122.722 19.7414 120.806 15.8301 116.974C11.9189 113.143 9.92334 108.034 9.92334 101.649C9.92334 94.8638 12.318 89.3561 17.1871 85.2054C22.0562 81.0547 28.5217 78.9793 36.7434 78.9793C39.5371 78.9793 42.4107 79.2188 45.2044 79.6179C48.1578 80.017 51.1911 80.6556 54.3839 81.374V75.547C54.3839 69.4806 53.1068 65.25 50.6323 62.7756C48.1578 60.3011 43.7677 59.1038 37.6214 59.1038C34.7478 59.1038 31.7944 59.4231 29.0007 60.1415C26.0473 60.8598 23.1737 61.7379 20.38 62.8554C19.5019 63.2545 18.5441 63.5738 17.5862 63.8931C17.1871 64.0527 16.7082 64.1325 16.3091 64.1325C15.1916 64.1325 14.6328 63.3343 14.6328 61.6581V57.7468C14.553 56.7889 14.7925 55.8311 15.1916 54.9531C15.8301 54.2347 16.5485 53.6759 17.4266 53.2768C20.6194 51.6804 23.9719 50.483 27.4841 49.6848C31.555 48.6472 35.7855 48.1682 39.9362 48.1682C49.435 48.1682 56.3795 50.3234 60.8495 54.6338C65.3195 58.9441 67.4746 65.4895 67.4746 74.2699V100.132H67.6343ZM35.2268 112.265C38.0205 112.265 40.8143 111.786 43.4484 110.828C46.4018 109.79 48.9561 108.034 51.0314 105.72C52.3086 104.283 53.2664 102.527 53.7453 100.611C54.3041 98.376 54.5436 95.9813 54.5436 93.6665V90.314C52.1489 89.7552 49.6744 89.2763 47.2 88.957C44.7255 88.6377 42.1712 88.4781 39.6968 88.4781C34.3487 88.4781 30.4375 89.5158 27.8034 91.6709C25.1692 93.8261 23.8921 96.8593 23.8921 100.85C23.8921 104.602 24.85 107.396 26.8455 109.312C28.841 111.227 31.555 112.265 35.2268 112.265ZM99.3234 120.886C98.2857 120.965 97.1682 120.726 96.2902 120.087C95.492 119.209 94.8534 118.172 94.614 116.974L75.8559 55.2723C75.4568 54.2347 75.2173 53.197 75.1375 52.0795C75.0577 51.1216 75.6963 50.2436 76.6541 50.0839H84.9556C86.4722 50.0839 87.5098 50.3234 88.0686 50.8822C88.6273 51.4409 89.1861 52.4786 89.665 53.9952L102.995 106.837L115.447 53.9952C115.846 52.3988 116.325 51.3611 116.964 50.8822C117.922 50.3234 119.039 50.0041 120.157 50.0839H126.543C128.059 50.0839 129.097 50.3234 129.735 50.8822C130.534 51.7602 131.092 52.7979 131.252 53.9952L143.864 107.476L157.673 53.9952C157.912 52.7979 158.471 51.7602 159.269 50.8822C160.227 50.3234 161.265 50.0041 162.382 50.0839H169.806C170.764 49.9243 171.642 50.6427 171.801 51.6005V52.0795C171.801 52.4786 171.722 52.9575 171.642 53.3566C171.482 54.075 171.322 54.7136 171.083 55.3522L151.846 117.054C151.367 118.651 150.808 119.688 150.17 120.167C149.292 120.726 148.174 121.045 147.137 120.965H140.272C138.755 120.965 137.718 120.726 137.079 120.167C136.281 119.289 135.722 118.172 135.562 116.974L123.19 65.4895L110.898 116.895C110.738 118.092 110.179 119.209 109.381 120.087C108.423 120.726 107.306 120.965 106.188 120.886H99.3234ZM201.894 123.041C197.743 123.041 193.593 122.562 189.602 121.604C185.61 120.646 182.497 119.608 180.422 118.411C179.384 117.932 178.506 117.134 177.948 116.176C177.628 115.458 177.469 114.739 177.469 113.941V109.87C177.469 108.194 178.107 107.396 179.305 107.396C179.784 107.396 180.262 107.476 180.741 107.635C181.22 107.795 181.939 108.114 182.737 108.433C185.531 109.711 188.484 110.589 191.517 111.227C194.63 111.866 197.823 112.185 201.016 112.185C206.045 112.185 209.956 111.307 212.67 109.551C215.304 107.955 216.901 105.081 216.821 101.968C216.901 99.8926 216.102 97.897 214.665 96.3804C213.229 94.8638 210.515 93.5068 206.604 92.2297L195.029 88.6377C189.202 86.8018 184.892 84.0879 182.258 80.4959C179.704 77.1434 178.267 73.1524 178.267 68.9218C178.187 65.8088 178.905 62.7756 180.422 60.0616C181.859 57.5073 183.775 55.2723 186.169 53.5163C188.644 51.6005 191.437 50.2436 194.471 49.3655C197.743 48.4077 201.096 47.9288 204.528 48.0086C206.284 48.0086 208.12 48.0884 209.876 48.3279C211.712 48.5673 213.388 48.8866 215.065 49.2059C216.741 49.5252 218.178 50.0041 219.614 50.483C220.812 50.8822 221.929 51.3611 222.967 51.9198C223.925 52.3988 224.723 53.0373 225.362 53.9154C225.92 54.7136 226.16 55.5916 226.08 56.5495V60.3011C226.08 61.9773 225.441 62.8554 224.244 62.8554C223.206 62.6957 222.169 62.3765 221.211 61.8975C216.422 59.7423 211.153 58.7047 205.885 58.7845C201.335 58.7845 197.743 59.5029 195.269 61.0195C192.794 62.5361 191.517 64.8509 191.517 68.1236C191.437 70.2788 192.315 72.3541 193.912 73.7909C195.508 75.3075 198.462 76.8241 202.692 78.1811L214.027 81.7731C219.774 83.609 223.925 86.1633 226.399 89.4359C228.874 92.6288 230.151 96.6199 230.071 100.611C230.151 103.804 229.432 106.997 227.996 109.87C226.559 112.584 224.563 114.979 222.169 116.895C219.535 118.97 216.501 120.487 213.309 121.365C209.637 122.482 205.805 123.041 201.894 123.041Z"
23+
fill="white"
24+
/>
25+
<path
26+
d="M216.98 161.834C190.719 181.231 152.564 191.528 119.758 191.528C73.7806 191.528 32.3533 174.526 1.06324 146.269C-1.41123 144.034 0.823772 141.001 3.77717 142.757C37.6215 162.393 79.3681 174.286 122.552 174.286C153.682 174.126 184.493 167.821 213.149 155.768C217.539 153.772 221.291 158.641 216.98 161.834Z"
27+
fill="#FF9900"
28+
/>
29+
<path
30+
d="M227.916 149.382C224.563 145.072 205.726 147.307 197.185 148.344C194.63 148.664 194.231 146.428 196.546 144.752C211.553 134.216 236.217 137.249 239.091 140.761C241.965 144.273 238.293 169.018 224.244 180.832C222.089 182.667 220.014 181.71 220.971 179.315C224.164 171.413 231.268 153.612 227.916 149.382Z"
31+
fill="#FF9900"
32+
/>
33+
</svg>
34+
);
35+
}
36+
37+
export function DigitalOcean({ className }: { className?: string }) {
38+
return (
39+
<svg className={className} viewBox="0 0 240 240" fill="none" xmlns="http://www.w3.org/2000/svg">
40+
<g clipPath="url(#clip0_18901_83649)">
41+
<g clipPath="url(#clip1_18901_83649)">
42+
<mask
43+
id="mask0_18901_83649"
44+
style={{ maskType: "luminance" }}
45+
maskUnits="userSpaceOnUse"
46+
x="-656"
47+
y="-453"
48+
width="3336"
49+
height="4318"
50+
>
51+
<path d="M-655.431 -452.042H2679.87V3864.37H-655.431V-452.042Z" fill="white" />
52+
</mask>
53+
<g mask="url(#mask0_18901_83649)">
54+
<path
55+
d="M120.002 240V193.531C169.326 193.531 207.45 144.708 188.627 92.86C181.649 73.6591 166.335 58.3369 147.127 51.367C95.281 32.5514 46.4844 70.6768 46.4761 119.986L46.4677 120.003H0C0 41.423 75.9132 -19.7568 158.243 5.95328C194.223 17.1789 222.814 45.7709 234.047 81.7517C259.757 164.093 198.57 240 120.002 240Z"
56+
fill="#0069FF"
57+
/>
58+
<path
59+
fillRule="evenodd"
60+
clipRule="evenodd"
61+
d="M120.108 193.646H73.7744V147.319L73.7828 147.311H120.1L120.108 147.319V193.646Z"
62+
fill="#0069FF"
63+
/>
64+
<path
65+
fillRule="evenodd"
66+
clipRule="evenodd"
67+
d="M73.7644 229.245H38.1701L38.1617 229.237V193.642H73.7727V229.237L73.7644 229.245Z"
68+
fill="#0069FF"
69+
/>
70+
<path
71+
fillRule="evenodd"
72+
clipRule="evenodd"
73+
d="M38.1903 193.646H8.3511L8.33435 193.638V163.814L8.3511 163.789H38.1735L38.1903 163.798V193.646Z"
74+
fill="#0069FF"
75+
/>
76+
</g>
77+
</g>
78+
</g>
79+
<defs>
80+
<clipPath id="clip0_18901_83649">
81+
<rect width="240" height="240" fill="white" />
82+
</clipPath>
83+
<clipPath id="clip1_18901_83649">
84+
<rect width="240" height="240" fill="white" />
85+
</clipPath>
86+
</defs>
87+
</svg>
88+
);
89+
}
Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
export function FlagIcon({
2+
region,
3+
className,
4+
}: {
5+
region: "usa" | "europe" | (string & {});
6+
className?: string;
7+
}) {
8+
switch (region) {
9+
case "usa":
10+
return <FlagUSA className={className} />;
11+
case "europe":
12+
return <FlagEurope className={className} />;
13+
default:
14+
return null;
15+
}
16+
}
17+
18+
export function FlagUSA({ className }: { className?: string }) {
19+
return (
20+
<svg
21+
className={className}
22+
width="96"
23+
height="72"
24+
viewBox="0 0 96 72"
25+
fill="none"
26+
xmlns="http://www.w3.org/2000/svg"
27+
>
28+
<g clipPath="url(#clip0_566_17653)">
29+
<g clipPath="url(#clip1_566_17653)">
30+
<rect width="95.9062" height="71.9297" transform="translate(0 0.00311279)" fill="white" />
31+
<path
32+
fillRule="evenodd"
33+
clipRule="evenodd"
34+
d="M0 0.00311279H95.9062V71.9328H0V0.00311279Z"
35+
fill="#F7FCFF"
36+
/>
37+
<path
38+
fillRule="evenodd"
39+
clipRule="evenodd"
40+
d="M0 43.9601V49.9543H95.9062V43.9601H0Z"
41+
fill="#E31D1C"
42+
/>
43+
<path
44+
fillRule="evenodd"
45+
clipRule="evenodd"
46+
d="M0 54.9494V60.9436H95.9062V54.9494H0Z"
47+
fill="#E31D1C"
48+
/>
49+
<path
50+
fillRule="evenodd"
51+
clipRule="evenodd"
52+
d="M0 21.9817V27.9758H95.9062V21.9817H0Z"
53+
fill="#E31D1C"
54+
/>
55+
<path
56+
fillRule="evenodd"
57+
clipRule="evenodd"
58+
d="M0 65.9387V71.9328H95.9062V65.9387H0Z"
59+
fill="#E31D1C"
60+
/>
61+
<path
62+
fillRule="evenodd"
63+
clipRule="evenodd"
64+
d="M0 32.9709V38.965H95.9062V32.9709H0Z"
65+
fill="#E31D1C"
66+
/>
67+
<path
68+
fillRule="evenodd"
69+
clipRule="evenodd"
70+
d="M0 0.00311279V5.99725H95.9062V0.00311279H0Z"
71+
fill="#E31D1C"
72+
/>
73+
<path
74+
fillRule="evenodd"
75+
clipRule="evenodd"
76+
d="M0 10.9923V16.9865H95.9062V10.9923H0Z"
77+
fill="#E31D1C"
78+
/>
79+
<rect y="0.00311279" width="59.9414" height="38.9619" fill="#2E42A5" />
80+
<path
81+
d="M6.15027 29.8778H8.30261L6.61218 31.5985L7.26648 34.3124L5.16101 32.787L2.98523 34.3124L3.72058 31.5985L1.78796 29.8778H4.3114L5.15808 27.663L6.15027 29.8778ZM18.1385 29.8778H20.2909L18.6005 31.5985L19.2548 34.3124L17.1493 32.787L14.9735 34.3124L15.7089 31.5985L13.7762 29.8778H16.2997L17.1464 27.663L18.1385 29.8778ZM30.1268 29.8778H32.2792L30.5887 31.5985L31.243 34.3124L29.1376 32.787L26.9618 34.3124L27.6971 31.5985L25.7645 29.8778H28.288L29.1346 27.663L30.1268 29.8778ZM42.1151 29.8778H44.2675L42.577 31.5985L43.2313 34.3124L41.1259 32.787L38.9501 34.3124L39.6854 31.5985L37.7528 29.8778H40.2762L41.1229 27.663L42.1151 29.8778ZM54.1034 29.8778H56.2557L54.5653 31.5985L55.2196 34.3124L53.1141 32.787L50.9384 34.3124L51.6737 31.5985L49.7411 29.8778H52.2645L53.1112 27.663L54.1034 29.8778ZM12.1444 23.8837H14.2968L12.6063 25.6044L13.2606 28.3183L11.1552 26.7929L8.97937 28.3183L9.71472 25.6044L7.7821 23.8837H10.3055L11.1522 21.6689L12.1444 23.8837ZM24.1327 23.8837H26.285L24.5946 25.6044L25.2489 28.3183L23.1434 26.7929L20.9677 28.3183L21.703 25.6044L19.7704 23.8837H22.2938L23.1405 21.6689L24.1327 23.8837ZM36.121 23.8837H38.2733L36.5829 25.6044L37.2372 28.3183L35.1317 26.7929L32.9559 28.3183L33.6913 25.6044L31.7587 23.8837H34.2821L35.1288 21.6689L36.121 23.8837ZM48.1093 23.8837H50.2616L48.5712 25.6044L49.2255 28.3183L47.12 26.7929L44.9442 28.3183L45.6796 25.6044L43.7469 23.8837H46.2704L47.1171 21.6689L48.1093 23.8837ZM6.15027 17.8896H8.30261L6.61218 19.6103L7.26648 22.3241L5.16101 20.7987L2.98523 22.3241L3.72058 19.6103L1.78796 17.8896H4.3114L5.15808 15.6747L6.15027 17.8896ZM18.1385 17.8896H20.2909L18.6005 19.6103L19.2548 22.3241L17.1493 20.7987L14.9735 22.3241L15.7089 19.6103L13.7762 17.8896H16.2997L17.1464 15.6747L18.1385 17.8896ZM30.1268 17.8896H32.2792L30.5887 19.6103L31.243 22.3241L29.1376 20.7987L26.9618 22.3241L27.6971 19.6103L25.7645 17.8896H28.288L29.1346 15.6747L30.1268 17.8896ZM42.1151 17.8896H44.2675L42.577 19.6103L43.2313 22.3241L41.1259 20.7987L38.9501 22.3241L39.6854 19.6103L37.7528 17.8896H40.2762L41.1229 15.6747L42.1151 17.8896ZM54.1034 17.8896H56.2557L54.5653 19.6103L55.2196 22.3241L53.1141 20.7987L50.9384 22.3241L51.6737 19.6103L49.7411 17.8896H52.2645L53.1112 15.6747L54.1034 17.8896ZM12.1444 11.8954H14.2968L12.6063 13.6161L13.2606 16.33L11.1552 14.8046L8.97937 16.33L9.71472 13.6161L7.7821 11.8954H10.3055L11.1522 9.68057L12.1444 11.8954ZM24.1327 11.8954H26.285L24.5946 13.6161L25.2489 16.33L23.1434 14.8046L20.9677 16.33L21.703 13.6161L19.7704 11.8954H22.2938L23.1405 9.68057L24.1327 11.8954ZM36.121 11.8954H38.2733L36.5829 13.6161L37.2372 16.33L35.1317 14.8046L32.9559 16.33L33.6913 13.6161L31.7587 11.8954H34.2821L35.1288 9.68057L36.121 11.8954ZM48.1093 11.8954H50.2616L48.5712 13.6161L49.2255 16.33L47.12 14.8046L44.9442 16.33L45.6796 13.6161L43.7469 11.8954H46.2704L47.1171 9.68057L48.1093 11.8954ZM6.15125 5.90128H8.30261L6.61218 7.62198L7.26648 10.3358L5.16101 8.81046L2.98621 10.3358L3.72058 7.62198L1.78796 5.90128H4.3114L5.15808 3.68643L6.15125 5.90128ZM18.1385 5.90128H20.2909L18.6005 7.62198L19.2548 10.3358L17.1493 8.81046L14.9735 10.3358L15.7089 7.62198L13.7762 5.90128H16.2997L17.1464 3.68643L18.1385 5.90128ZM30.1268 5.90128H32.2792L30.5887 7.62198L31.243 10.3358L29.1376 8.81046L26.9618 10.3358L27.6971 7.62198L25.7645 5.90128H28.288L29.1346 3.68643L30.1268 5.90128ZM42.1151 5.90128H44.2675L42.577 7.62198L43.2313 10.3358L41.1259 8.81046L38.9501 10.3358L39.6854 7.62198L37.7528 5.90128H40.2762L41.1229 3.68643L42.1151 5.90128ZM54.1034 5.90128H56.2557L54.5653 7.62198L55.2196 10.3358L53.1141 8.81046L50.9384 10.3358L51.6737 7.62198L49.7411 5.90128H52.2645L53.1112 3.68643L54.1034 5.90128Z"
82+
fill="#F7FCFF"
83+
/>
84+
</g>
85+
<rect
86+
y="0.00311279"
87+
width="95.9062"
88+
height="71.9297"
89+
fill="url(#paint0_linear_566_17653)"
90+
style={{ mixBlendMode: "overlay" }}
91+
/>
92+
</g>
93+
<defs>
94+
<linearGradient
95+
id="paint0_linear_566_17653"
96+
x1="47.9531"
97+
y1="0.00311279"
98+
x2="47.9531"
99+
y2="71.9328"
100+
gradientUnits="userSpaceOnUse"
101+
>
102+
<stop stopColor="white" stopOpacity="0.7" />
103+
<stop offset="1" stopOpacity="0.3" />
104+
</linearGradient>
105+
<clipPath id="clip0_566_17653">
106+
<rect y="0.00311279" width="95.9062" height="71.9297" rx="5.99414" fill="white" />
107+
</clipPath>
108+
<clipPath id="clip1_566_17653">
109+
<rect width="95.9062" height="71.9297" fill="white" transform="translate(0 0.00311279)" />
110+
</clipPath>
111+
</defs>
112+
</svg>
113+
);
114+
}
115+
116+
export function FlagEurope({ className }: { className?: string }) {
117+
return (
118+
<svg
119+
className={className}
120+
width="96"
121+
height="72"
122+
viewBox="0 0 96 72"
123+
fill="none"
124+
xmlns="http://www.w3.org/2000/svg"
125+
>
126+
<g clipPath="url(#clip0_18900_83553)">
127+
<g clipPath="url(#clip1_18900_83553)">
128+
<rect width="95.9062" height="71.9297" transform="translate(0.09375)" fill="white" />
129+
<path
130+
fillRule="evenodd"
131+
clipRule="evenodd"
132+
d="M0.140564 0.0351562H96.0468V71.9648H0.140564V0.0351562Z"
133+
fill="#193DB8"
134+
/>
135+
<path
136+
d="M48.0937 7.1554L47.1547 10.0424H44.1204L46.5766 11.8247L45.6375 14.7118L48.0937 12.9295L50.5499 14.7118L49.6109 11.8247L52.0671 10.0424H49.0327L48.0937 7.1554Z"
137+
fill="#F6CD46"
138+
/>
139+
<path
140+
d="M49.0327 60.1754L48.0937 57.2883L47.1547 60.1754H44.1204L46.5766 61.9577L45.6375 64.8447L48.0937 63.0624L50.5499 64.8447L49.6109 61.9577L52.0671 60.1754H49.0327Z"
141+
fill="#F6CD46"
142+
/>
143+
<path
144+
d="M23.0273 37.996L25.4834 39.7783L24.5444 36.8913L27.0006 35.109H23.9663L23.0273 32.2219L22.0882 35.109H19.0539L21.5101 36.8913L20.5711 39.7783L23.0273 37.996Z"
145+
fill="#F6CD46"
146+
/>
147+
<path
148+
d="M35.5588 10.5138L34.6234 13.4008H31.5854L34.0416 15.1831L33.1062 18.0702L35.5588 16.2879L38.0149 18.0702L37.0796 15.1831L39.5321 13.4008H36.4978L35.5588 10.5138Z"
149+
fill="#F6CD46"
150+
/>
151+
<path
152+
d="M26.3856 19.6866L25.4466 22.5737H22.4122L24.8684 24.3597L23.9294 27.2467L26.3856 25.4607L28.8418 27.2467L27.9028 24.3597L30.359 22.5737H27.3246L26.3856 19.6866Z"
153+
fill="#F6CD46"
154+
/>
155+
<path
156+
d="M27.3246 47.6401L26.3856 44.7531L25.4466 47.6401H22.4122L24.8684 49.4261L23.9294 52.3131L26.3856 50.5271L28.8418 52.3131L27.9028 49.4261L30.359 47.6401H27.3246Z"
157+
fill="#F6CD46"
158+
/>
159+
<path
160+
d="M36.4978 56.8171L35.5588 53.9301L34.6234 56.8171H31.5854L34.0416 58.5994L33.1062 61.4864L35.5588 59.7041L38.0149 61.4864L37.0796 58.5994L39.5321 56.8171H36.4978Z"
161+
fill="#F6CD46"
162+
/>
163+
<path
164+
d="M77.1335 35.109H74.0992L73.1601 32.2219L72.2211 35.109H69.1868L71.643 36.8913L70.7039 39.7783L73.1601 37.996L75.6163 39.7783L74.6773 36.8913L77.1335 35.109Z"
165+
fill="#F6CD46"
166+
/>
167+
<path
168+
d="M60.6288 10.5138L59.6898 13.4008H56.6555L59.108 15.1831L58.1726 18.0702L60.6288 16.2879L63.0813 18.0702L62.146 15.1831L64.6022 13.4008H61.5642L60.6288 10.5138Z"
169+
fill="#F6CD46"
170+
/>
171+
<path
172+
d="M68.2844 24.3597L67.3454 27.2467L69.8016 25.4607L72.2578 27.2467L71.3188 24.3597L73.775 22.5737H70.7406L69.8016 19.6866L68.8626 22.5737H65.8282L68.2844 24.3597Z"
173+
fill="#F6CD46"
174+
/>
175+
<path
176+
d="M70.7406 47.6401L69.8016 44.7531L68.8626 47.6401H65.8282L68.2844 49.4261L67.3454 52.3131L69.8016 50.5271L72.2578 52.3131L71.3188 49.4261L73.775 47.6401H70.7406Z"
177+
fill="#F6CD46"
178+
/>
179+
<path
180+
d="M61.5642 56.8171L60.6288 53.9301L59.6898 56.8171H56.6555L59.108 58.5994L58.1726 61.4864L60.6288 59.7041L63.0813 61.4864L62.146 58.5994L64.6022 56.8171H61.5642Z"
181+
fill="#F6CD46"
182+
/>
183+
</g>
184+
<rect
185+
x="0.09375"
186+
width="95.9062"
187+
height="71.9297"
188+
fill="url(#paint0_linear_18900_83553)"
189+
style={{ mixBlendMode: "overlay" }}
190+
/>
191+
</g>
192+
<defs>
193+
<linearGradient
194+
id="paint0_linear_18900_83553"
195+
x1="48.0469"
196+
y1="0"
197+
x2="48.0469"
198+
y2="71.9297"
199+
gradientUnits="userSpaceOnUse"
200+
>
201+
<stop stop-color="white" stop-opacity="0.7" />
202+
<stop offset="1" stop-opacity="0.3" />
203+
</linearGradient>
204+
<clipPath id="clip0_18900_83553">
205+
<rect x="0.09375" width="95.9062" height="71.9297" rx="5.99414" fill="white" />
206+
</clipPath>
207+
<clipPath id="clip1_18900_83553">
208+
<rect width="95.9062" height="71.9297" fill="white" transform="translate(0.09375)" />
209+
</clipPath>
210+
</defs>
211+
</svg>
212+
);
213+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export function cloudProviderTitle(provider: "aws" | "digitalocean" | (string & {})) {
2+
switch (provider) {
3+
case "aws":
4+
return "Amazon Web Services";
5+
case "digitalocean":
6+
return "Digital Ocean";
7+
default:
8+
return provider;
9+
}
10+
}

0 commit comments

Comments
 (0)