add referrals page

This commit is contained in:
smanylov
2026-01-12 13:53:12 +07:00
parent cb5a005041
commit 4c239f12f9
5 changed files with 23 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "no-copy-frontend",
"version": "0.16.0",
"version": "0.17.0",
"private": true,
"scripts": {
"dev": "next dev -p 2999",
+17
View File
@@ -0,0 +1,17 @@
import { useTranslations } from 'next-intl';
import { Suspense } from 'react';
import PageTitle from '@/app/ui/page-title';
export default function Page() {
const t = useTranslations('Global');
return (
<Suspense fallback={<>...</>}>
<PageTitle title="refferal-program">
</PageTitle>
<div>
refferals
</div>
</Suspense>
)
}
+1 -1
View File
@@ -30,7 +30,7 @@ export default function NavLinks() {
},
{
name: t('referral-program'),
href: '/pages/emptypage',
href: '/pages/refferals',
img: 'M16 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm4 18v-6h2.5l-2.54-7.63A1.5 1.5 0 0 0 18.54 8H16c-.8 0-1.54.37-2 1l-3 4v2h2l2.54-3.82L16.5 18H20z'
},
{
+2 -1
View File
@@ -161,7 +161,8 @@
"error": "Error",
"failed-to-download-file": "Failed to download file",
"file-is-downloading": "The file is downloading",
"status": "status"
"status": "status",
"refferal-program": "Referral program"
},
"Login-register-form": {
"and": "and",
+2 -1
View File
@@ -161,7 +161,8 @@
"error": "Ошбка",
"failed-to-download-file": "Не удалось скачать файл",
"file-is-downloading": "Скачивается файл",
"status": "статус"
"status": "статус",
"refferal-program": "Реферальная программа"
},
"Login-register-form": {
"and": "и",