Skip to content

Commit

Permalink
Replace removed CallToAction component
Browse files Browse the repository at this point in the history
  • Loading branch information
zerok committed Sep 6, 2024
1 parent ea6500c commit a9fa79c
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions docs/src/components/Hero.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
import type { Props } from '@astrojs/starlight/props';
import CallToAction from '@astrojs/starlight/components/CallToAction.astro';
import { Code } from '@astrojs/starlight/components';
import { Code, LinkButton } from '@astrojs/starlight/components';
import { Content as Tagline } from './tagline.md';
---

Expand Down Expand Up @@ -40,20 +39,12 @@ local k = import "k.libsonnet";
</div>

<div class="sl-flex actions">
<CallToAction
link="./install/"
variant="primary"
icon={{ type: 'icon', name: 'right-arrow' }}
<LinkButton href="./install/" variant="primary" icon="right-arrow"
>Get started</LinkButton
>
Get started
</CallToAction>
<CallToAction
link="./tutorial/overview/"
variant="minimal"
icon={{ type: 'icon', name: 'laptop' }}
<LinkButton href="./tutorial/overview/" variant="minimal" icon="laptop"
>Read the tutorial</LinkButton
>
Read the tutorial
</CallToAction>
</div>
</div>
</div>
Expand Down

0 comments on commit a9fa79c

Please sign in to comment.