-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Copy pathpowerful-tools.tsx
54 lines (54 loc) · 1.84 KB
/
powerful-tools.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
export function PowerFulTools() {
return (
<section className="conf-block container lg:w-4/6" id="powerful-tools">
<div className="text-center">
<h2>Move faster with powerful developer tools</h2>
{/*Illustration of GraphiQL validation error and typeahead, animated?]*/}
<p className="mx-auto lg:w-2/3">
Know exactly what data you can request from your API without leaving
your editor, highlight potential issues before sending a query, and
take advantage of improved code intelligence. GraphQL makes it easy to
build powerful tools like{" "}
<a
href="https://github.com/graphql/graphiql"
target="_blank"
rel="noopener"
className="text-primary hover:underline"
>
Graph<em className="font-sans">i</em>QL
</a>{" "}
by leveraging your API’s type system.
</p>
</div>
<div className="overflow-hidden rounded-t-xl shadow-[0_0_0_1px_rgba(0,0,0,.2),0_16px_64px_rgba(0,0,0,.6)]">
<video
disablePictureInPicture
autoPlay
muted
loop
playsInline
className="hidden dark:block"
>
{/* todo: sync with main branch in graphql.org repo */}
<source
src="https://github.com/dimaMachina/graphql.github.io/raw/nextra/static/img/graphiql-dark.mp4"
type="video/mp4"
/>
</video>
<video
disablePictureInPicture
autoPlay
muted
loop
playsInline
className="block dark:hidden"
>
<source
src="https://github.com/dimaMachina/graphql.github.io/raw/nextra/static/img/graphiql-light.mp4"
type="video/mp4"
/>
</video>
</div>
</section>
)
}