-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
Copy pathbring-your-own-code.tsx
32 lines (31 loc) · 1.16 KB
/
bring-your-own-code.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
import { Code1, Code2, Code3, Code4 } from "@/components/code-blocks"
import { InfiniteMovingCards } from "./infinite-moving-cards"
export function BringYourOwnCode() {
return (
<>
<section className="conf-block container" id="bring-your-own-code">
<div className="mx-auto text-center">
<h2>Bring your own data and code</h2>
{/*Illustration of each field becoming a function?]*/}
<p className="mx-auto lg:w-2/3">
GraphQL creates a uniform API across your entire application without
being limited by a specific storage engine. Write GraphQL APIs that
leverage your existing data and code with GraphQL engines available
in many languages. You provide functions for each field in the type
system, and GraphQL calls them with optimal concurrency.
</p>
</div>
</section>
<InfiniteMovingCards
direction="right"
speed="normal"
className="mx-auto [&_div.nextra-code]:h-full [&_pre]:h-[calc(100%-48px)]"
>
<Code1 />
<Code2 />
<Code3 />
<Code4 />
</InfiniteMovingCards>
</>
)
}