import { useLocale, useTranslations } from 'next-intl'; import Image from "next/image"; import { Link } from '@/i18n/navigation'; import { LocaleType } from '@/i18n/i18n'; const { BLACK_FRIDAY_PROMO } = process.env; import LanguageSwitcher from '@/app/ui/components/LanguageSwitcher'; import { generateAuthUrl } from '@/app/helpers/generateAuthUrl'; export default function Home() { const t = useTranslations(); const currentYear = new Date().getFullYear(); const locale = useLocale(); const loginUrl = generateAuthUrl(locale as LocaleType, 'login'); const signUpUrl = generateAuthUrl(locale as LocaleType, 'signup'); return ( <> {BLACK_FRIDAY_PROMO && (
{t('website_home.home.intro.description')}
{t('website_home.home.presentation.description')}
{t('website_home.home.multi_link.description')}
{t('website_home.home.messengers.description')}
{t('website_home.home.store.description')}
{t('website_home.home.builder.description')}
{t('website_home.home.features.list.domain.description')}
{t('website_home.home.features.list.qr.description')}
{t('website_home.home.features.list.analytics.description')}
{t('website_home.home.footer.description')}