You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
643 B
33 lines
643 B
<a href="@Href" class="linkButtonContainer"> |
|
@ChildContent |
|
</a> |
|
|
|
<style> |
|
.linkButtonContainer { |
|
padding: 16px; |
|
border: 1px solid; |
|
border-radius: 8px; |
|
font-weight: 800; |
|
font-size: 1.2rem; |
|
border-color: var(--primary); |
|
background-color: var(--primary); |
|
} |
|
|
|
.linkButtonContainer:hover { |
|
background-color: var(--primary-hover); |
|
border-color: var(--primary-border-hover); |
|
color: white; |
|
} |
|
|
|
</style> |
|
|
|
|
|
@code { |
|
|
|
[Parameter] public RenderFragment ChildContent { get; set; } = default!; |
|
|
|
|
|
[Parameter] public string Href { get; set; } = ""; |
|
|
|
|
|
} |