mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 21:33:02 +01:00
* chore: get front end tests passing * chore: add @vue/runtime-core to fix types for $t * chore: sort lockfile * Discard changes to frontend/pnpm-lock.yaml * chore: sort lockfile * chore: fix some type errors * chore: switch from nuxi typecheck to vue-tsc to force a known good version * chore: linting * chore: update pnpm version in frontend test * feat: add proper pagination type (need to sort why it still doesn't work) * chore: format imports and initialize totalPrice in label page to null when no label is present * chore: update pnpm to v9.12.2, merge ItemSummaryPaginationResult with PaginationResult, and handle error in label generator more gracefully * chore: lint --------- Co-authored-by: Matt Kilgore <matthew@kilgore.dev>
28 lines
536 B
Vue
28 lines
536 B
Vue
<template>
|
|
<div class="pb-3">
|
|
<h3
|
|
class="flex items-center text-3xl font-bold tracking-tight"
|
|
:class="{
|
|
'text-neutral-content': dark,
|
|
}"
|
|
>
|
|
<slot />
|
|
</h3>
|
|
<p v-if="$slots.description" class="mt-2 max-w-4xl text-sm text-base-content">
|
|
<slot name="description" />
|
|
</p>
|
|
<div v-if="$slots.after">
|
|
<slot name="after" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
defineProps({
|
|
dark: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
});
|
|
</script>
|