This commit is contained in:
2024-06-09 12:41:24 +03:00
parent ec0aeec4c3
commit 37e7c68cf9
3 changed files with 67 additions and 23 deletions

View File

@@ -4,6 +4,8 @@ import { Icon } from 'astro-icon/components';
export interface Props {
title?: string;
content?: string;
link?: string;
linktitle?: string;
}
const {
@@ -19,4 +21,11 @@ const {
<Icon name="tabler:info-square" class="w-5 h-5 inline-block align-text-bottom" /> {title}</span
> {content}
</div>
<a
target="_blank"
class="ltr:ml-auto rtl:mr-auto ml-auto bg-contain inline-block"
title="{linktitle}."
href="{link}"
>
</a>
</section>