-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
metrics-and-customers.tsx
179 lines (178 loc) · 6.61 KB
/
metrics-and-customers.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
import { motion, Variants } from 'framer-motion';
import { DownloadCaseStudy } from './download-case-study';
import { RoyalBankOfCanadaColoredIcon } from './logos/royal-bank-of-canada';
import { ManIcon } from './logos/man';
import { ShopifyIcon } from './logos/shopify';
import { CapitalOneIcon } from './logos/capital-one';
import { VmwareIcon } from './logos/vmware';
import { StorybookIcon } from './logos/storybook';
import { CaterpillarIcon } from './logos/caterpillar';
import { SevenElevenColoredIcon } from './logos/7eleven';
import { BillColoredIcon } from './logos/bill';
import { FicoIcon } from './logos/fico';
import { HiltonIcon } from './logos/hilton';
import { CiscoIcon } from './logos/cisco';
export function MetricsAndCustomers(): JSX.Element {
const downloadElement: Variants = {
hidden: {
opacity: 0,
translateY: 90,
},
visible: {
opacity: 1,
translateY: 0,
transition: {
duration: 1,
ease: 'easeInOut',
type: 'tween',
},
},
};
return (
<div className="relative isolate pb-24 pt-16">
<svg
className="absolute inset-0 -z-10 h-full w-full rotate-180 transform stroke-slate-100 [mask-image:radial-gradient(100%_100%_at_top,white,transparent)] dark:stroke-slate-800/60 dark:[mask-image:radial-gradient(100%_100%_at_top,black,transparent)]"
aria-hidden="true"
>
<defs>
<pattern
id="83dwp7e5a-9d52-45fc-17c6-718e5d7fe918"
width={200}
height={200}
x="50%"
y={-1}
patternUnits="userSpaceOnUse"
>
<path d="M100 200V.5M.5 .5H200" fill="none" />
</pattern>
</defs>
<svg
x="50%"
y={-1}
className="overflow-visible fill-slate-50/15 dark:fill-slate-900/10"
>
<path
d="M-100.5 0h201v201h-201Z M699.5 0h201v201h-201Z M499.5 400h201v201h-201Z M-300.5 600h201v201h-201Z"
strokeWidth={0}
/>
</svg>
<rect
width="100%"
height="100%"
strokeWidth={0}
fill="url(#83dwp7e5a-9d52-45fc-17c6-718e5d7fe918)"
/>
</svg>
<div className="mx-auto max-w-7xl px-6 lg:px-8">
<dl className="grid grid-cols-1 gap-4 text-center md:grid-cols-3">
<div className="p-4 text-xl">
<dt className="text-center text-xs uppercase">Speed</dt>
<dd className="mt-2 ">
<span className="text-3xl font-semibold text-slate-950 dark:text-slate-50">
30-70% Faster
</span>
</dd>
</div>
<div className="p-4 text-xl">
<dt className="text-center text-xs uppercase">Infra Cost</dt>
<dd className="mt-2 ">
<span className="text-3xl font-semibold text-slate-950 dark:text-slate-50">
40-75% Cheaper
</span>
</dd>
</div>
<div className="p-4 text-xl">
<dt className="text-center text-xs uppercase">Compute</dt>
<dd className="mt-2 ">
<span className="text-3xl font-semibold text-slate-950 dark:text-slate-50">
30-60% Less
</span>
</dd>
</div>
</dl>
<div className="mt-12 flex justify-between gap-2 md:mt-0">
<div className="col-span-1 hidden h-14 items-center justify-center lg:flex lg:h-28">
<ManIcon aria-hidden="true" className="h-14 w-14 text-[#E40045]" />
</div>
<div className="col-span-1 flex h-14 items-center justify-center lg:h-28">
<CapitalOneIcon
aria-hidden="true"
className="h-28 w-28 text-black dark:text-white"
/>
</div>
<div className="col-span-1 hidden h-14 items-center justify-center lg:flex lg:h-28">
<ShopifyIcon
aria-hidden="true"
className="h-12 w-12 text-[#7AB55C]"
/>
</div>
<div className="col-span-1 flex h-14 items-center justify-center lg:h-28">
<RoyalBankOfCanadaColoredIcon
aria-hidden="true"
className="h-14 w-14"
/>
</div>
<div className="col-span-1 flex h-14 items-center justify-center lg:h-28">
<VmwareIcon
aria-hidden="true"
className="h-28 w-28 text-black dark:text-white"
/>
</div>
<div className="col-span-1 hidden h-14 items-center justify-center lg:flex lg:h-28">
<StorybookIcon
aria-hidden="true"
className="h-12 w-12 text-[#FF4785]"
/>
</div>
<div className="col-span-1 flex h-14 items-center justify-center lg:h-28">
<FicoIcon aria-hidden="true" className="h-28 w-28 text-[#0A6DE6]" />
</div>
<div className="col-span-1 hidden h-14 items-center justify-center lg:flex lg:h-28">
<CaterpillarIcon
aria-hidden="true"
className="h-14 w-14 text-[#FFCD11]"
/>
</div>
</div>
<div className="relative mt-12 flex">
<div className="hidden w-1/4 items-center gap-20 lg:flex">
<div className="col-span-1 hidden h-14 items-center justify-center lg:flex lg:h-28">
<CiscoIcon
aria-hidden="true"
className="h-16 w-16 text-[#1BA0D7]"
/>
</div>
<div className="col-span-1 hidden h-14 items-center justify-center lg:flex lg:h-28">
<BillColoredIcon aria-hidden="true" className="h-14 w-14" />
</div>
</div>
<div className="grow lg:w-1/2">
<motion.div
initial="hidden"
animate="visible"
variants={downloadElement}
whileInView="visible"
className="mx-auto max-w-xl"
>
<DownloadCaseStudy />
</motion.div>
</div>
<div className="hidden w-1/4 items-center justify-end gap-20 lg:flex">
<div className="col-span-1 hidden h-14 items-center justify-center lg:flex lg:h-28">
<SevenElevenColoredIcon
aria-hidden="true"
className="h-14 w-14"
/>
</div>
<div className="col-span-1 hidden h-14 items-center justify-center lg:flex lg:h-28">
<HiltonIcon
aria-hidden="true"
className="h-20 w-20 text-black dark:text-white"
/>
</div>
</div>
</div>
</div>
</div>
);
}