Skip to content

Commit 6cfdf6e

Browse files
authored
Merge pull request #1178 from dacadeorg/chore/add-code-2-hackathon-certificate
chore: update grading criteria and team formation text for the code 2 hackathon
2 parents fca216f + a5dd99b commit 6cfdf6e

File tree

10 files changed

+67
-8
lines changed

10 files changed

+67
-8
lines changed
Lines changed: 46 additions & 0 deletions
Loading

public/locales/bg/common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"communities.overview.challenge.learning.start": "започнете сега",
116116
"communities.overview.challenge.team.setup.title": "Създайте вашия екип",
117117
"communities.overview.challenge.team.setup.description": "Изберете от 1 до 3 члена, които да се присъединят към предизвикателството.",
118+
"communities.overview.challenge.team.organization": "Присъединете се към групата в Telegram на DeArk - ICP.Hub Germany и намерете своите отбори, за да завършите предизвикателството с вас.",
118119
"communities.overview.challenge.team.setup.info": "За да завършите предизвикателството с екип, трябва да следвате тези стъпки:",
119120
"communities.overview.challenge.team.setup.submit-title": "Изпратете вашия екип",
120121
"communities.overview.challenge.submission.description": "Поставете кода на вашия екип по-долу и той автоматично ще създаде връзки към всички профили.",

public/locales/en/common.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
"communities.overview.challenge.learning.start": "Start now",
122122
"communities.overview.challenge.team.setup.title": "Form your team",
123123
"communities.overview.challenge.team.setup.description": "Select from 1 to 3 members to join you in the challenge.",
124+
"communities.overview.challenge.team.organization": "Join DeArk - ICP.Hub Germany telegram group and find your teammates to complete the challenge with you..",
124125
"communities.overview.challenge.team.setup.info": "To complete the team challenge, you need to follow these steps:",
125126
"communities.overview.challenge.team.setup.submit-title": "Submit your team",
126127
"communities.overview.challenge.submission.description": "Paste the code of your team below and it will automatically link to all the profiles",
@@ -417,8 +418,8 @@
417418
"kyc.default.title": "Identity verification",
418419
"kyc.default.completed": "Your identity has been verified successfully.",
419420
"kyc.default.reason": "To ensure the safety and security of our platform, we require all users to verify their identity. This verification process helps us maintain a trusted community of members who are committed to upholding our standards. Please take a moment to complete your KYC verification to help us in our efforts to create a safe and secure environment for everyone.",
420-
"kyc.verification.pending":"Your verification is currently being processed. Thank you for your patience",
421-
"kyc.verification.rejected":"We regret to inform you that your verification process has been rejected. Please contact support team for more information.",
421+
"kyc.verification.pending": "Your verification is currently being processed. Thank you for your patience",
422+
"kyc.verification.rejected": "We regret to inform you that your verification process has been rejected. Please contact support team for more information.",
422423
"kyc.default.button": "Start verification",
423424
"kyc.default.button.completed": "Go to profile",
424425
"kyc.payout.reason": "To cashout, you need to verify your identity first.",

public/locales/es/common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
"communities.overview.challenge.learning.start": "Comenzar ahora",
121121
"communities.overview.challenge.team.setup.title": "Forma tu equipo",
122122
"communities.overview.challenge.team.setup.description": "Selecciona de 1 a 3 miembros para que se unan a ti en el desafío.",
123+
"communities.overview.challenge.team.organization": "Únete al grupo de Telegram DeArk - ICP.Hub Germany y encuentra a tus compañeros de equipo para completar el desafío contigo.",
123124
"communities.overview.challenge.team.setup.info": "Para completar el desafío en equipo, debes seguir estos pasos:",
124125
"communities.overview.challenge.team.setup.submit-title": "Envía tu equipo",
125126
"communities.overview.challenge.submission.description": "Pega el código de tu equipo a continuación y se enlazará automáticamente a todos los perfiles.",

public/locales/hr/common.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
"communities.overview.challenge.learning.start": "Počnite sada",
169169
"communities.overview.challenge.team.setup.title": "Sastavite svoj tim",
170170
"communities.overview.challenge.team.setup.description": "Odaberite između 1 do 3 člana koji će vam se pridružiti u izazovu.",
171+
"communities.overview.challenge.team.organization": "Pridružite se DeArk - ICP.Hub Germany Telegram grupi i pronađite svoje timove kako biste zajedno završili izazov.",
171172
"communities.overview.challenge.team.setup.info": "Da biste završili timski izazov, trebate slijediti ove korake:",
172173
"communities.overview.challenge.team.setup.submit-title": "Pošaljite svoj tim",
173174
"communities.overview.challenge.submission.description": "Zalijepite kod svog tima u nastavku i automatski će se povezati sa svim profilima.",

src/components/cards/community/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default function CommunityCard({ showRewards = true, community }: Communi
7474
</div>
7575
<div className="flex flex-col items-start justify-start max-w-xs -mt-4 md:flex-row lg:flex-col md:-mt-7 md:max-w-lg">
7676
{showRewards && reward && (
77-
<div className="text-sm flex bg-lime-400">
77+
<div className="text-sm flex">
7878
<RewardBadge reward={{ token: reward.token }} styles={rewardBadgeStyle} />
7979
</div>
8080
)}

src/components/sections/challenges/Rubric.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import Accordion from "@/components/ui/accordion/Accordion";
99
import { IRootState } from "@/store";
1010
import { Colors } from "@/types/community";
1111
import Coin from "@/components/ui/Coin";
12+
import { GRADING_CRITERIA } from "@/constants/challengeInfo";
1213

1314
/**
1415
* Rubic header component props interface
@@ -58,7 +59,7 @@ export default function RubricHeader({ ratingCriteria, selected, hideTitle = fal
5859
return (
5960
<div className="text-base font-normal text-slate-700 pt-8 md:w-182.5 inline-flex flex-wrap items-center gap-1">
6061
{challenge?.isHackathon ? (
61-
<div dangerouslySetInnerHTML={{ __html: hackatonPassingScore }} />
62+
<div dangerouslySetInnerHTML={{ __html: challenge?.additionalInfo?.[GRADING_CRITERIA].text || hackatonPassingScore }} />
6263
) : (
6364
passingScoreParts.map((part, index) => {
6465
if (index === passingScoreParts.length - 1) {
@@ -94,9 +95,8 @@ export default function RubricHeader({ ratingCriteria, selected, hideTitle = fal
9495
{criteria.rubric.map((rubric, k) => (
9596
<div
9697
key={`criteria-rubic-item-${k}`}
97-
className={`text-sm border border-transparent sm:border-gray-200 px-0 py-2 sm:p-3.5 rounded-2xl ${
98-
selected?.length && !selectedRubric(rubric.id) ? "opacity-40" : "relative"
99-
}`}
98+
className={`text-sm border border-transparent sm:border-gray-200 px-0 py-2 sm:p-3.5 rounded-2xl ${selected?.length && !selectedRubric(rubric.id) ? "opacity-40" : "relative"
99+
}`}
100100
>
101101
{selectedRubric(rubric.id) && (
102102
<span className="absolute right-2 bottom-3 w-3" style={{ color: colors?.textAccent }}>

0 commit comments

Comments
 (0)