refactor(config): update nuxt.config.ts to enhance module configuration, remove deprecated files, and improve contact form validation with zod schema
This commit is contained in:
@@ -33,7 +33,8 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
/>
|
||||
</svg>
|
||||
</summary>
|
||||
<div class="px-4 py-3 prose prose-neutral dark:prose-invert max-w-none
|
||||
<div
|
||||
class="px-4 py-3 prose prose-neutral dark:prose-invert max-w-none
|
||||
prose-code:before:content-none prose-code:after:content-none
|
||||
prose-pre:p-0 prose-pre:bg-transparent text-sm">
|
||||
<slot />
|
||||
|
||||
@@ -50,7 +50,7 @@ const wrapperStyle = computed(() => {
|
||||
:title="props.title || props.caption"
|
||||
loading="lazy"
|
||||
:class="props.align === 'full' && !attrs.class ? 'w-full rounded-lg' : 'rounded-lg'"
|
||||
/>
|
||||
>
|
||||
<span
|
||||
v-if="props.caption"
|
||||
class="mt-2 block text-center text-xs text-neutral-500 dark:text-neutral-400 italic"
|
||||
|
||||
Reference in New Issue
Block a user