mirror of
https://github.com/lux-tel/websites.git
synced 2026-10-30 20:31:36 +00:00
28 lines
710 B
TypeScript
28 lines
710 B
TypeScript
'use client';
|
|
|
|
import Link from 'next/link';
|
|
import { SOCIALS } from '@/lib/constants';
|
|
import { Social } from '@session/ui/components/SocialLinkList';
|
|
import { ReactNode } from 'react';
|
|
import { useTranslations } from 'next-intl';
|
|
|
|
export function ClaimRewardsDisabledInfo() {
|
|
const dictionary = useTranslations('banner');
|
|
return (
|
|
<span>
|
|
{dictionary.rich('claimRewardsDisabled', {
|
|
link: (children: ReactNode) => (
|
|
<Link
|
|
className="font-medium underline"
|
|
href={SOCIALS[Social.Discord].link}
|
|
referrerPolicy="no-referrer"
|
|
target="_blank"
|
|
>
|
|
{children}
|
|
</Link>
|
|
),
|
|
})}
|
|
</span>
|
|
);
|
|
}
|