mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
change buttons + github action
This commit is contained in:
16
landing/components/MainButton.vue
Normal file
16
landing/components/MainButton.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script lang="ts" setup>
|
||||
|
||||
const props = defineProps<{
|
||||
action?: () => {},
|
||||
link?: string,
|
||||
target?: string
|
||||
}>();
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NuxtLink @click="action?.()" :to="link" :target="target || ''"
|
||||
class="poppins font-[500] px-10 py-[.3rem] bg-[#222A42] outline outline-[1px] outline-[#5680F8] rounded-xl">
|
||||
<slot></slot>
|
||||
</NuxtLink>
|
||||
</template>
|
||||
Reference in New Issue
Block a user