project setup

This commit is contained in:
2023-04-27 00:56:13 +02:00
parent 8bd9ca94bb
commit 3579a5894a
18 changed files with 3764 additions and 144 deletions

View File

@@ -0,0 +1,20 @@
<script setup lang="ts">
const props = defineProps<{
icon?: string
}>()
</script>
<template>
<a class="text-opacity-50 text-decoration-none w-100 d-block link-secondary">
<i :class="`bi bi-${props.icon}`" class="me-2" v-if="props.icon"></i
><slot></slot>
</a>
</template>
<style scoped lang="scss">
a {
cursor: pointer;
border-radius: var(--bs-border-radius);
}
a:hover {
background-color: var(--bs-gray-300);
}
</style>