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