fix: bad target on Card
This commit is contained in:
parent
d7496bad7b
commit
988feb80e7
1 changed files with 2 additions and 2 deletions
|
|
@ -3,14 +3,14 @@ export interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
body: string;
|
body: string;
|
||||||
href: string;
|
href: string;
|
||||||
target: string
|
target: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { href, target, title, body } = Astro.props;
|
const { href, target, title, body } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<li class="link-card">
|
<li class="link-card">
|
||||||
<a href={href} target={href}>
|
<a href={href} target={target}>
|
||||||
<h2>
|
<h2>
|
||||||
{title}
|
{title}
|
||||||
<span>→</span>
|
<span>→</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue