friends-best/components/LLink.vue
Louis Hollingworth 2e98cb39f4
Add tailwindcss, add first page
Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
2022-11-13 20:53:51 +00:00

18 lines
386 B
Vue

<template>
<NuxtLink :to="to" class="bg-gray-50 hover:bg-gray-100 dark:bg-slate-700 dark:hover:bg-slate-600 m-4 py-5 px-10 rounded-3xl shadow-lg hover:shadow-xl">{{ title }} </NuxtLink>
</template>
<script setup lang="ts">
defineProps({
to: {
type: String,
required: true
},
title: {
type: String,
required: true
},
})
</script>