LeConte deployments page complete, better auto-formatting and import sorting, new inline link, popover definitions, and paragraph components, improvements to component interfaces
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
---
|
||||
interface Props {
|
||||
title: string;
|
||||
|
||||
href: string;
|
||||
target?: string;
|
||||
}
|
||||
|
||||
const { title, href, target = "_blank" } = Astro.props;
|
||||
---
|
||||
|
||||
<a
|
||||
class="text-caperren-green border-caperren-green hover:border-caperren-green-light hover:text-caperren-green-light rounded-2xl border-2 bg-black p-2"
|
||||
href={Astro.props.href}
|
||||
target={Astro.props.target || "_blank"}
|
||||
href={href}
|
||||
target={target}
|
||||
>
|
||||
{Astro.props.title}
|
||||
{title}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user