mirror of
https://github.com/hay-kot/mealie.git
synced 2025-07-05 20:42:23 -07:00
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend Tests (push) Waiting to run
Docker Nightly Production / Build Package (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
Release Drafter / ✏️ Draft release (push) Waiting to run
49 lines
824 B
Vue
49 lines
824 B
Vue
<template>
|
|
<v-card
|
|
color="background"
|
|
flat
|
|
class="pb-2"
|
|
:class="{
|
|
'mt-8': section,
|
|
}"
|
|
>
|
|
<v-card-title class="text-h5 pl-0 py-0" style="font-weight: normal;">
|
|
<v-icon
|
|
v-if="icon"
|
|
size="small"
|
|
start
|
|
>
|
|
{{ icon }}
|
|
</v-icon>
|
|
{{ title }}
|
|
</v-card-title>
|
|
<v-card-text
|
|
v-if="$slots.default"
|
|
class="pt-2 pl-0"
|
|
>
|
|
<p class="pb-0 mb-0">
|
|
<slot />
|
|
</p>
|
|
</v-card-text>
|
|
<v-divider class="mt-1 mb-3" />
|
|
</v-card>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
export default defineNuxtComponent({
|
|
props: {
|
|
title: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
icon: {
|
|
type: String,
|
|
default: "",
|
|
},
|
|
section: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
},
|
|
});
|
|
</script>
|