feat(theme): add target/rel attrs to hero actions (#223)

This commit is contained in:
pengzhanbo 2024-09-27 08:40:22 +08:00 committed by GitHub
parent fe3945ccc3
commit b2224d33d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,8 @@ useHomeHeroTintPlate(
:theme="action.theme"
:text="action.text"
:href="action.link"
:target="action.target"
:rel="action.rel"
/>
</div>
</div>

View File

@ -20,6 +20,8 @@ export interface PlumeThemeHeroAction {
theme?: 'brand' | 'alt'
text: string
link?: string
target?: string
rel?: string
}
export interface PlumeHomeConfigBase {