mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2025-12-14 19:01:51 +01:00
Migration to Nuxt3
This commit is contained in:
19
components/ContactLink.vue
Normal file
19
components/ContactLink.vue
Normal file
@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div class="my-4 text-left md:text-center">
|
||||
<a :href="props.url">
|
||||
<div class="inline-flex items-center">
|
||||
<img :src="props.icon" alt="Github" class="h-7 mr-2 select-none dark:invert" />
|
||||
<span class="text-xl text-left">{{ props.label }}</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script setup lang="ts">
|
||||
const props = defineProps({
|
||||
url: String,
|
||||
label: String,
|
||||
icon: String, alt: String
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user