Include CTA component in Hero widgets

This commit is contained in:
widgeter
2023-08-28 23:13:35 +02:00
parent 2276a910b2
commit 34707c15ef
8 changed files with 58 additions and 54 deletions

View File

@@ -21,7 +21,12 @@ const metadata = {
<Hero
tagline="Startup Web Demo"
callToAction={{ text: 'Get templates', href: 'https://github.com/onwidget/astrowind', icon: 'tabler:download' }}
callToAction={{
targetBlank: true,
text: 'Get templates',
href: 'https://github.com/onwidget/astrowind',
icon: 'tabler:download',
}}
callToAction2={{ text: 'Learn more', href: '#features' }}
>
<Fragment slot="title">