Apps, web, i18n, UI, partners, payouts, backoffice, bariki, prod infra

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
zabudko-ruandClaude Opus 5.5 committed 2026-10-25 22:55:29 +04:00
1 parent 45d7512d2b
commit 3489e0b816
319 files changed
+45483 -121

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
'use client';
import { useAgency } from './client';
/** Строка на бирке подарка: код из ссылки агентства (?a=) или подсказка, где его взять */
export function GiftCode({ withCode, withoutCode }: { withCode: string; withoutCode: string }) {
const agency = useAgency();
return <span className="v3-tag__code">{agency ? withCode.replace('{{code}}', agency) : withoutCode}</span>;
}