Skip to content

Commit d3c7bff

Browse files
Merge branch 'dev' into fix/kyc-verification-frontend
2 parents a734ae0 + b60da3b commit d3c7bff

File tree

10 files changed

+744
-31
lines changed

10 files changed

+744
-31
lines changed

LICENSE

Lines changed: 661 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Contributions to the project are welcome. To contribute, follow these steps:
142142

143143
### License
144144

145-
This project is licensed under the MIT License. See the LICENSE file for details.
145+
This project is licensed under the GNU AGPLv3 License. See the [LICENSE](LICENSE) file for details.
146146

147147
### Troubleshooting and Problem-Solving Guide
148148

Lines changed: 46 additions & 0 deletions
Loading

public/locales/bg/common.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@
119119
"communities.overview.challenge.team.setup.submit-title": "Изпратете вашия екип",
120120
"communities.overview.challenge.submission.description": "Поставете кода на вашия екип по-долу и той автоматично ще създаде връзки към всички профили.",
121121
"communities.challenge.submission.hint": "Подаването ще бъде активирано, когато всички членове на екипа приемат поканата и екипът бъде напълно сформиран.",
122+
"communities.challenge.submission.multiple-submissions": "Можете да участвате многократно в това предизвикателство.",
123+
"communities.challenge.submission.no-multiple-submissions": "Можете да изпратите само <strong>веднъж</strong> това предизвикателство",
122124
"communities.overview.challenge.deadline": "Краен срок",
123125
"communities.overview.challenge.submissions-closed": "Предложенията за това предизвикателство вече са затворени.",
124126
"communities.reward": "Награди",
@@ -130,7 +132,7 @@
130132
"communities.challenge.criteria.title": "Rating Rubric",
131133
"communities.challenge.criteria.subtitle": "Следните учебни материали ще ви дадат необходимата техническа експертиза, за да се справите успешно с предизвикателството.",
132134
"communities.challenge.criteria.points": "Points",
133-
"communities.challenge.passing.score.description": "За да спечелите {{coinPlaceholder}} <strong>{{amount}}</strong> <strong>{{token}}</strong>, трябва да получите поне <strong>{{minPoints}}</strong> от <strong>{{maxPoints}}</strong> точки в този предизвикателство.",
135+
"communities.challenge.passing.score.description": "За да {{coinPlaceholder}} <strong>{{amount}}</strong> <strong>{{token}}</strong>, трябва да получите поне <strong>{{minPoints}}</strong> от <strong>{{maxPoints}}</strong> точки в този предизвикателство.",
134136
"communities.challenge.hackathon.passing.score": "Трябва да получите <strong>90%</strong>, за да влезете в наградния фонд и да спечелите награди на стойност <strong>7 000 щатски долара.</strong>",
135137
"communities.challenge.submission": "заявка",
136138
"communities.challenge.submit": "Изпращане",

public/locales/en/common.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@
125125
"communities.overview.challenge.team.setup.submit-title": "Submit your team",
126126
"communities.overview.challenge.submission.description": "Paste the code of your team below and it will automatically link to all the profiles",
127127
"communities.challenge.submission.hint": "Submissions will be enabled when when all the team members accept the invitation and the team is fully formed.",
128+
"communities.challenge.submission.multiple-submissions": "You can submit multiple times to this challenge.",
129+
"communities.challenge.submission.no-multiple-submissions": "You can only submit <strong>once</strong> to this challenge",
128130
"communities.overview.challenge.deadline": "Deadline",
129131
"communities.overview.challenge.submissions-closed": "Submissions for this challenge are now closed.",
130132
"communities.challenge.hint": "Hint",

public/locales/es/common.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@
124124
"communities.overview.challenge.team.setup.submit-title": "Envía tu equipo",
125125
"communities.overview.challenge.submission.description": "Pega el código de tu equipo a continuación y se enlazará automáticamente a todos los perfiles.",
126126
"communities.challenge.submission.hint": "Las presentaciones estarán habilitadas cuando todos los miembros del equipo acepten la invitación y el equipo esté completamente formado.",
127+
"communities.challenge.submission.multiple-submissions": "Puedes enviar varias veces a este desafío.",
128+
"communities.challenge.submission.no-multiple-submissions": "Solo puedes enviar <strong>una</strong> a este desafío.",
127129
"communities.overview.challenge.deadline": "Fecha límite",
128130
"communities.overview.challenge.submissions-closed": "Las inscripciones para este desafío ya están cerradas.",
129131
"communities.challenge.hint": "Pista",

public/locales/hr/common.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@
172172
"communities.overview.challenge.team.setup.submit-title": "Pošaljite svoj tim",
173173
"communities.overview.challenge.submission.description": "Zalijepite kod svog tima u nastavku i automatski će se povezati sa svim profilima.",
174174
"communities.challenge.submission.hint": "Podnošenje će biti omogućeno kada svi članovi tima prihvate pozivnicu i tim bude potpuno formiran.",
175+
"communities.challenge.submission.multiple-submissions": "Možete se više puta prijaviti na ovaj izazov.",
176+
"communities.challenge.submission.no-multiple-submissions": "Na ovaj izazov možete se prijaviti samo <strong>jednom</strong>",
175177
"communities.overview.challenge.deadline": "Rok",
176178
"communities.overview.challenge.submissions-closed": "Prijave za ovaj izazov sada su zatvorene.",
177179
"communities.card.submissions": "{{count}} Podnesci",

src/pages/bounties/index.tsx

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ReactElement, useCallback, useEffect, useMemo } from "react";
1+
import { ReactElement, useCallback, useEffect } from "react";
22
import Navigation from "@/components/sections/bounties/Navigation";
33
import BountyList from "@/components/list/Bounty";
44
import { useTranslation } from "react-i18next";
@@ -31,24 +31,6 @@ interface bountiesMultiSelector {
3131
*
3232
* @type {Bounty}
3333
*/
34-
const defaulBounty = {
35-
name: "Tezos Starter Course",
36-
image: "/img/communities/tacode.svg",
37-
type: "Challenge",
38-
link: "https://tacode.dev/courses/dev-starter/challenges/f9c23fc7-3022-4347-b19c-66cc2424ac2f",
39-
colors: {
40-
text: "#0D61FF",
41-
accent: "#0D61FF",
42-
textAccent: "#fff",
43-
primary: "#0D61FF",
44-
},
45-
reward: {
46-
amount: 12,
47-
token: "tez",
48-
type: "SUBMISSION",
49-
},
50-
url: "https://tacode.dev/courses/dev-starter",
51-
};
5234

5335
/**
5436
* Bounties page component
@@ -74,7 +56,6 @@ export default function Bounties() {
7456
bounties: (state: IRootState) => state.bounties.bountiesList,
7557
});
7658

77-
const bountiesList = useMemo(() => [defaulBounty, ...(bounties || [])], [bounties]);
7859

7960
return (
8061
<div className="flex justify-center content-wrapper">
@@ -83,7 +64,7 @@ export default function Bounties() {
8364
</div>
8465
<div className="flex-col w-full">
8566
<h1 className="text-4xl sm:text-5xl pt-10 md:pt-20 pb-10">{t("nav.bounties")}</h1>
86-
<BountyList bounties={bountiesList as Bounty[]} referrals={referrals} />
67+
<BountyList bounties={bounties as Bounty[]} referrals={referrals} />
8768
</div>
8869
</div>
8970
);

0 commit comments

Comments
 (0)