feat: added product page

This commit is contained in:
Tobias Klemp
2025-11-29 22:27:37 +01:00
parent 90280fd436
commit 6d03984e21
85 changed files with 1869 additions and 436 deletions

View File

@@ -1,5 +1,6 @@
<script lang="ts">
import type { SpecificationAttribute } from '$lib'
import { T } from '@tolgee/svelte'
const { attribute }: { attribute: SpecificationAttribute } = $props()
</script>
@@ -7,6 +8,8 @@
<div
class="flex justify-between py-2 border-b border-gray-200 dark:border-gray-700"
>
<dt class="text-gray-600 dark:text-gray-400">{attribute.key}</dt>
<dt class="text-gray-600 dark:text-gray-400">
<T keyName={`specs.${attribute.key}`} />
</dt>
<dd class="dark:text-gray-200">{attribute.value}</dd>
</div>