qazaq-legacy-foundation-web/src/components/PrivacyNote.tsx

14 lines
631 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Link from 'next/link'
import type { Dict, Locale } from '@/i18n'
/** Подпись со ссылкой на политику конфиденциальности — ставится у каждой формы и места связи с фондом. */
export function PrivacyNote({ t, locale, className = '' }: { t: Dict; locale: Locale; className?: string }) {
return (
<p className={`text-sm ${className}`}>
{t.legal.consentBefore}
<Link href={`/${locale}/privacy`} className="underline underline-offset-4 hover:no-underline">{t.legal.consentLink}</Link>
{t.legal.consentAfter}
</p>
)
}