Skip to content

Commit

Permalink
cleanup docs landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
ssalbdivad committed May 27, 2024
1 parent 766913c commit 37b68ed
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions ark/docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,16 @@ hero:

import { Card, CardGrid } from "@astrojs/starlight/components"
import { HeroBackdrop } from "../../components/HeroBackdrop.tsx"
import TsBlock from "../../components/TsBlock.astro"

<div class="not-content">
<HeroBackdrop client:only="react" />
</div>

export const exampleCode = `import { type } from "arktype"
const t = type({
a: "string|number[]"
})`

## What awaits

```ts
import { type } from "arktype"

const t = type({
a: "string|number[]"
})
```

<CardGrid stagger>
<Card title="Unparalleled DX" icon="seti:tsconfig">
Type syntax you already know with safety unlike anything you've ever seen
<TsBlock code={exampleCode} />
</Card>
<Card title="Faster. Everywhere." icon="rocket">
[100x faster than
Expand Down

0 comments on commit 37b68ed

Please sign in to comment.