wip(freight): migration 0017 + model/column-list groundwork for add-freight-templates
This commit is contained in:
@@ -3,11 +3,16 @@ defineProps<{ items: { label: string; to?: string }[] }>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<nav aria-label="breadcrumb" class="mx-auto my-5 max-w-mall px-4 text-[13px] text-muted">
|
||||
<nav aria-label="breadcrumb" class="max-w-mall text-muted mx-auto my-5 px-4 text-[13px]">
|
||||
<template v-for="(item, i) in items" :key="i">
|
||||
<NuxtLink v-if="item.to" :to="item.to" class="no-underline transition-colors hover:text-primary">{{ item.label }}</NuxtLink>
|
||||
<NuxtLink
|
||||
v-if="item.to"
|
||||
:to="item.to"
|
||||
class="hover:text-primary no-underline transition-colors"
|
||||
>{{ item.label }}</NuxtLink
|
||||
>
|
||||
<span v-else class="text-text">{{ item.label }}</span>
|
||||
<span v-if="i < items.length - 1" class="mx-2 text-muted/60">/</span>
|
||||
<span v-if="i < items.length - 1" class="text-muted/60 mx-2">/</span>
|
||||
</template>
|
||||
</nav>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user