Replace component CTA with Button with new props
This commit is contained in:
@@ -19,13 +19,16 @@ const metadata = {
|
||||
|
||||
<Hero2
|
||||
tagline="Mobile App Web Demo"
|
||||
callToAction={{
|
||||
targetBlank: true,
|
||||
text: 'Download App',
|
||||
href: 'https://github.com/onwidget/astrowind',
|
||||
icon: 'tabler:download',
|
||||
}}
|
||||
callToAction2={{ text: 'Learn more', href: '#features' }}
|
||||
actions={[
|
||||
{
|
||||
variant:"primary",
|
||||
target: '_blank',
|
||||
text: 'Download App',
|
||||
href: 'https://github.com/onwidget/astrowind',
|
||||
icon: 'tabler:download',
|
||||
},
|
||||
{ text: 'Learn more', href: '#features' },
|
||||
]}
|
||||
image={{
|
||||
src: 'https://images.unsplash.com/photo-1535303311164-664fc9ec6532?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=987&q=80',
|
||||
alt: 'AstroWind Hero Image',
|
||||
@@ -203,7 +206,7 @@ const metadata = {
|
||||
},
|
||||
]}
|
||||
callToAction={{
|
||||
targetBlank: true,
|
||||
target: '_blank',
|
||||
text: 'Read more testimonials',
|
||||
href: 'https://github.com/onwidget/astrowind',
|
||||
icon: 'tabler:chevron-right',
|
||||
|
||||
Reference in New Issue
Block a user