Added more agent skills

This commit is contained in:
2026-10-13 19:07:03 +02:00
parent 0ccc7e5064
commit 80d8b7102c
80 changed files with 2802 additions and 390 deletions
+8 -2
View File
@@ -16,7 +16,7 @@ import { useIsMounted } from './useIsMounted.js'
*/
export function CookieButton({ className }: { className?: string } = {}) {
const isMounted = useIsMounted()
const { decided, reopen } = useConsentContext()
const { decided, reopen, texts } = useConsentContext()
// Render nothing until mounted — prevents hydration mismatch (no project
// ConsentWrapper workaround needed).
@@ -30,7 +30,13 @@ export function CookieButton({ className }: { className?: string } = {}) {
'dark:bg-[var(--ipal-surface-dark,#171717)] dark:border-[var(--ipal-border-dark,#262626)] dark:hover:bg-[var(--ipal-hover-dark,#262626)]'
return (
<button aria-label="Cookie settings" className={cls} data-ipal="cookie-button" onClick={reopen}>
<button
// a11y label per locale: the panel's "settings title" (Cookie Settings global)
aria-label={texts.settingsTitle}
className={cls}
data-ipal="cookie-button"
onClick={reopen}
>
<Cookie
aria-hidden="true"
className="h-5 w-5 text-[var(--ipal-text,#525252)] dark:text-[var(--ipal-text-dark,#d4d4d4)]"