import styles from './googlePlayLink.module.scss'; import Link, { LinkProps } from 'next/link'; import LinkIcon from '@/assets/icons/link.svg'; import useLocale, { LocalesMap } from '@/utils/useLocale'; import clsx from 'clsx'; import { CursorEffect } from '@/components/cursor'; const locales: LocalesMap = { ru: { getText: 'Доступно в Google Play', }, en: { getText: 'Get it on Google Play', }, }; type GooglePlayLinkProps = Omit & { className?: string }; export function GooglePlayLink(props: GooglePlayLinkProps) { const { className: restCalssName, ...restProps } = props; const t = useLocale(locales); return ( {t('getText')} ); }