add: first post, external posts, new comps
Add first post for monday, add external posts from other authors, add components for internal and external links
This commit is contained in:
parent
427d9ae276
commit
0a481fee5e
19 changed files with 264 additions and 329 deletions
14
app/components/Link/External.vue
Normal file
14
app/components/Link/External.vue
Normal file
|
@ -0,0 +1,14 @@
|
|||
<template>
|
||||
<NuxtLink class="inline-flex-row text" external :to="url" target="_blank">
|
||||
<slot/>
|
||||
<IconLinkExternal/>
|
||||
</NuxtLink>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
type Props = {
|
||||
url: string
|
||||
}
|
||||
|
||||
defineProps<Props>()
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue