4 neue dynamischen

This commit is contained in:
Timo Knuth
2026-01-11 01:29:21 +01:00
parent 268689f2ee
commit 05531cda3f
14 changed files with 1407 additions and 15 deletions

View File

@@ -168,6 +168,7 @@ END:VCARD`;
</button>
}
>
<DropdownItem onClick={() => window.location.href = `/qr/${qr.id}`}>View Details</DropdownItem>
<DropdownItem onClick={() => downloadQR('png')}>Download PNG</DropdownItem>
<DropdownItem onClick={() => downloadQR('svg')}>Download SVG</DropdownItem>
{qr.type === 'DYNAMIC' && (
@@ -246,6 +247,15 @@ END:VCARD`;
</p>
</div>
)}
{/* Feedback Button - only for FEEDBACK type */}
{qr.contentType === 'FEEDBACK' && (
<button
onClick={() => window.location.href = `/qr/${qr.id}/feedback`}
className="w-full mt-3 py-2 px-3 bg-amber-50 hover:bg-amber-100 text-amber-700 rounded-lg text-sm font-medium flex items-center justify-center gap-2 transition-colors"
>
View Customer Feedback
</button>
)}
</div>
</CardContent>
</Card>