feat: SEO SPA editor integration

This commit is contained in:
Florian Sylvain committed 2026-10-16 03:06:57 +02:00
1 parent eb9876fde3
commit 470584400f
62 files changed
+7471 -58

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<script setup lang="ts">
import { computed } from 'vue'
const props = defineProps<{ value: number; min: number; max: number }>()
const outside = computed(
() => props.value > 0 && (props.value < props.min || props.value > props.max),
)
</script>
<template>
<span
class="font-mono text-xs"
:class="outside ? 'text-warning' : 'text-muted'"
data-testid="soft-counter"
>{{ value }} / {{ max }}</span
>
</template>