feat(selection): lock single-option boxes, drop the about link
build / build (push) Successful in 1m38s

Recovered work in progress that sat uncommitted since 2026-05: a
SelectionBox renders as a plain div instead of a NuxtLink when locked,
so a variant with only one choice reads as decided rather than
clickable, and it reports aria-checked in that state. useProductContent
gained the content lookups the details and index pages now use, the
cookie banner says Schließen instead of Akzeptieren, the Über uns
header entry is gone, and ProductCard's hover shadow no longer relies
on a short-circuit that could yield a non-array.
This commit is contained in:
2026-09-23 22:09:52 +02:00
parent e9cd3d9c20
commit 61a74e649b
8 changed files with 171 additions and 69 deletions
+3 -5
View File
@@ -64,11 +64,9 @@ const props = withDefaults(defineProps<{
});
const shadowColors = computed(() => {
return (
props.product?.pattern && [
randomTailwindColor(props.product.pattern.id, "group-hover:shadow", 200, "/60")
]
);
return props.product?.pattern
? [randomTailwindColor(props.product.pattern.id, "group-hover:shadow", 200, "/60")]
: [];
});
const hasProductOptions = computed(() => {