Skip to content

Commit 201d4f1

Browse files
committed
feat: add contributors popup card
1 parent 24a2c1a commit 201d4f1

File tree

10 files changed

+377
-113
lines changed

10 files changed

+377
-113
lines changed

app/components/Link/Base.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,16 @@ const props = withDefaults(
3636
3737
/** should only be used for links where the context makes it very clear they are clickable. Don't just use this, because you don't like underlines. */
3838
noUnderline?: boolean
39+
40+
/**
41+
* should external link icon be displayed?.
42+
*
43+
* @default false
44+
*/
45+
noExternalIcon?: boolean
3946
} & NuxtLinkProps
4047
>(),
41-
{ variant: 'link', size: 'medium' },
48+
{ variant: 'link', size: 'medium', noUnderline: false, noExternalIcon: false },
4249
)
4350
4451
const isLinkExternal = computed(
@@ -101,7 +108,7 @@ const isButtonMedium = computed(() => props.size === 'medium' && !isLink.value)
101108
<slot />
102109
<!-- automatically show icon indicating external link -->
103110
<span
104-
v-if="isLinkExternal && !classicon"
111+
v-if="isLinkExternal && !noExternalIcon && !classicon"
105112
class="i-lucide:external-link rtl-flip size-[1em] opacity-50"
106113
aria-hidden="true"
107114
/>

0 commit comments

Comments
 (0)