Skip to content

Commit 4f72847

Browse files
Merge branch 'dev' into ft/learning-materials-page
2 parents b8f91e8 + 26fda2b commit 4f72847

File tree

104 files changed

+309
-254
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+309
-254
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ They can also be given class names as shown in the above image.
144144

145145
```javascript
146146
<div
147-
className={classNames("w-1/3", "bg-primary", {
147+
className={classNames("w-1/3", "bg-brand", {
148148
"text-white": type === "default",
149149
underline: hasLink,
150150
})}

public/locales/bg/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"page.index.communities.title": "Communities of Practice",
3232
"page.index.communities.subtitle": "In our communities, you will work with your peers to learn and build amazing projects using blockchain technology.",
3333
"page.index.communities.partnering.title": "Your community here",
34-
"page.index.communities.partnering.subtitle": "We know that developer community growth is a top priority for software projects in this highly competitive space; that's why we created dacade.",
34+
"page.index.communities.partnering.subtitle": "We know that developer community growth is a top priority for software projects in this highly competitive space, that's why we created dacade.",
3535
"page.index.communities.partnering.button-text": "Become a partner",
3636
"page.protocols.title.1": "Developer Adoption",
3737
"page.protocols.title.2": " through Peer-to-Peer education",

public/locales/en/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"page.index.communities.title": "Communities of Practice",
3232
"page.index.communities.subtitle": "In our communities, you will work with your peers to learn and build amazing projects using blockchain technology.",
3333
"page.index.communities.partnering.title": "Your community here",
34-
"page.index.communities.partnering.subtitle": "We know that developer community growth is a top priority for software projects in this highly competitive space; that's why we created dacade.",
34+
"page.index.communities.partnering.subtitle": "We know that developer community growth is a top priority for software projects in this highly competitive space, that's why we created dacade.",
3535
"page.index.communities.partnering.button-text": "Become a partner",
3636
"page.protocols.title.1": "Developer Adoption",
3737
"page.protocols.title.2": " through Peer-to-Peer education",

public/locales/hr/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"page.index.communities.title": "Communities of Practice",
3232
"page.index.communities.subtitle": "In our communities, you will work with your peers to learn and build amazing projects using blockchain technology.",
3333
"page.index.communities.partnering.title": "Your community here",
34-
"page.index.communities.partnering.subtitle": "We know that developer community growth is a top priority for software projects in this highly competitive space; that's why we created dacade.",
34+
"page.index.communities.partnering.subtitle": "We know that developer community growth is a top priority for software projects in this highly competitive space, that's why we created dacade.",
3535
"page.index.communities.partnering.button-text": "Become a partner",
3636
"page.protocols.title.1": "Developer Adoption",
3737
"page.protocols.title.2": " through Peer-to-Peer education",

src/components/banner/PrivacyPolicy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function PrivacyPolicyBanner(): ReactElement {
3333

3434
if (showBanner)
3535
return (
36-
<div className="fixed bottom-0 left-0 right-0 z-999 flex flex-row justify-center md:justify-between bg-primary">
36+
<div className="fixed bottom-0 left-0 right-0 z-999 flex flex-row justify-center md:justify-between bg-brand">
3737
<div className="text-white py-8 text-center mx-auto lg:text-base text-sm md:text-lg justify-center md:max-w-none px-6">
3838
{t("signup-page.privacy.text")}{" "}
3939
<Link href="/privacy-policy" className="underline">

src/components/cards/Address.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface AddressProps {
2727
export default function Address({ hasAddress }: AddressProps): ReactElement {
2828
const { t } = useTranslation();
2929
return (
30-
<div className="lg:pt-5 sm:pt-5 md:pt-5 pt-14 absolute text-sm lg:text-gray-700 md:text-gray-700 sm:text-gray-700 cursor-pointer text-primary font-medium lg:font-normal md:font-normal sm:font-normal">
30+
<div className="lg:pt-5 sm:pt-5 md:pt-5 pt-14 absolute text-sm lg:text-gray-700 md:text-gray-700 sm:text-gray-700 cursor-pointer text-brand font-medium lg:font-normal md:font-normal sm:font-normal">
3131
{hasAddress ? (
3232
<div>
3333
<Link href="#">{t("profile.wallets.address-set")}</Link>

src/components/cards/Balance.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function Balance({ details }: BalanceProps): ReactElement {
3131

3232
return (
3333
<Link href="/profile/wallets">
34-
<div className="flex px-5 py-3 -mx-5 space-x-3 text-left hover:bg-gray-50">
34+
<div className="flex px-5 py-3 -mx-5 space-x-3 text-left hover:bg-secondary">
3535
<Coin token={details.token} size="medium" />
3636
<div className="w-3/4 pt-1">
3737
<div className="flex justify-between">

src/components/cards/Bounty.tsx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ export default function BountyCard({ bounty }: BountyProps): ReactElement {
5757
const Component = link.startsWith("http") ? "a" : Link;
5858

5959
return (
60-
<div className="p-5 flex md:flex-row-reverse md:space-x-5 px-5 min-h-32 md:h-auto md:w-full justify-between hover:bg-secondary relative">
60+
<div className="p-5 flex md:flex-row-reverse md:space-x-5 px-5 min-h-32 md:h-auto md:w-full justify-between hover:bg-tertiary relative">
6161
<div className="bg-theme-accent flex-col w-full h-full justify-between md:-space-y-1 pl-3 pr-5 my-5">
6262
<Component className="relative w-full block" href={link}>
6363
<div className="font-medium text-md md:pt-1.5">{bounty.course ? bounty.course.name : bounty.name}</div>
6464
</Component>
6565
<div className="flex justify-between w-full md:block">
6666
<Component className="inline-flex md:flex md:flex-row flex-col-reverse justify-between" href={link}>
67-
<div className="text-sm pt-8 md:pt-2 md:pb-4 text-gray-600">{type()}</div>
67+
<div className="text-sm pt-8 md:pt-2 md:pb-4 text-secondary">{type()}</div>
6868
<div className="flex">
6969
<Reward type="gray" reward={bounty.reward}></Reward>
7070
</div>
@@ -85,12 +85,10 @@ export default function BountyCard({ bounty }: BountyProps): ReactElement {
8585
customStyle={{
8686
bottom: "-4px",
8787
right: "-4px",
88-
fontSize: 14,
8988
backgroundColor: bounty.colors.accent,
9089
}}
91-
size="medium"
9290
value={bounty?.unreviewedSubmissionsCount}
93-
className="bottom-0 -right-1 absolute p-4"
91+
className="bottom-0 -right-1 absolute"
9492
/>
9593
)}
9694
</Component>
@@ -145,12 +143,10 @@ export default function BountyCard({ bounty }: BountyProps): ReactElement {
145143
customStyle={{
146144
bottom: "-4px",
147145
right: "-4px",
148-
fontSize: 14,
149146
backgroundColor: bounty.colors.accent,
150147
}}
151-
size="medium"
152148
value={bounty?.unreviewedSubmissionsCount}
153-
className="bottom-0 -right-1 absolute p-4"
149+
className="bottom-0 -right-1 absolute"
154150
/>
155151
)}
156152
</Component>

src/components/cards/Communities.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ interface CommunitiesProps {
3434

3535
export default function Communities({ title = "" }: CommunitiesProps): ReactElement {
3636
return (
37-
<div className="bg-gray-50 rounded-full pl-2 py-2 flex items-center mb-3">
37+
<div className="bg-secondary rounded-full pl-2 py-2 flex items-center mb-3">
3838
{PARTNERS.map((partner) => (
3939
<a href={partner.link} key={partner.link} target="__blank" className="inline-block md:mx-auto">
4040
<div className="w-10 h-10 rounded-full border border-solid flex items-center">

src/components/cards/CreateTeam.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export default function CreateTeamCard({ index = 1, title = "", text = "" }: Cre
203203
</div>
204204
<div className="flex flex-col">
205205
<div className=" text-sm text-gray-700 font-medium">{member?.displayName}</div>
206-
<div className=" text-gray-400 text-xs">{status}</div>
206+
<div className=" text-tertiary text-xs">{status}</div>
207207
</div>
208208
{!team?.locked && (
209209
<>

0 commit comments

Comments
 (0)