chore: separate frontend from backend
This commit is contained in:
13
app/components/Ui/BadgeList.vue
Normal file
13
app/components/Ui/BadgeList.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div v-if="tools" class="flex flex-row gap-1 flex-wrap">
|
||||
<UBadge v-for="tool in tools" :key="tool" size="md" variant="solid">
|
||||
{{ tool }}
|
||||
</UBadge>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const { tools } = defineProps<{
|
||||
tools: string[];
|
||||
}>();
|
||||
</script>
|
||||
14
app/components/Ui/BadgeListCard.vue
Normal file
14
app/components/Ui/BadgeListCard.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<UPageCard class="bg-background-100 my-10">
|
||||
<p class="text-xl">
|
||||
<slot />
|
||||
</p>
|
||||
<UiBadgeList :tools="tools" />
|
||||
</UPageCard>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const { tools } = defineProps<{
|
||||
tools: string[];
|
||||
}>();
|
||||
</script>
|
||||
Reference in New Issue
Block a user