Replace component CTA with Button with new props

This commit is contained in:
prototypa
2023-09-02 18:02:45 -04:00
parent c1fb20e916
commit 770dee10bd
32 changed files with 234 additions and 270 deletions

View File

@ -22,13 +22,16 @@ const metadata = {
<!-- Hero Widget ******************* -->
<Hero
callToAction={{
targetBlank: true,
text: 'Get template',
href: 'https://github.com/onwidget/astrowind',
icon: 'tabler:download',
}}
callToAction2={{ text: 'Learn more', href: '#features' }}
actions={[
{
variant: 'primary',
target: '_blank',
text: 'Get template',
href: 'https://github.com/onwidget/astrowind',
icon: 'tabler:download',
},
{ text: 'Learn more', href: '#features' },
]}
image={{ src: '~/assets/images/hero.png', alt: 'AstroWind Hero Image' }}
>
<Fragment slot="title">