Skip to content

Commit 115e9ef

Browse files
Merge branch 'dev' into ft/learning-module-card
2 parents 5549a41 + 26fda2b commit 115e9ef

File tree

94 files changed

+271
-207
lines changed

Some content is hidden

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

94 files changed

+271
-207
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
})}

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: 2 additions & 2 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>

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
<>

src/components/cards/FAQ.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function FaqCard(): ReactElement {
1515
const { t } = useTranslation();
1616

1717
return (
18-
<div className="py-5 md:py-10 w-full bg-gray-50">
18+
<div className="py-5 md:py-10 w-full bg-secondary">
1919
<div className="w-full content-wrapper divide-y divide-2 lg:divide-0 lg:divide-y-0 divide-gray-200 flex flex-col lg:flex-row">
2020
<div className="w-full lg:w-1/2 lg:min-w-xs text-gray-900 text-2xl md:text-4xl font-medium pb-5 flex-row">
2121
<div>{t("faq.title")}</div>

src/components/cards/Learning.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default function Learning({ learningModule }: LearningProps): ReactElemen
4646
};
4747

4848
return (
49-
<div className="px-5 pt-5 pb-8 bg-gray-50 rounded-3xl min-h-2xs w-full border-solid border-2 border-gray-100 md:mt-0 cursor-pointer">
49+
<div className="px-5 pt-5 pb-8 bg-secondary rounded-3xl min-h-2xs w-full border-solid border-2 border-gray-100 md:mt-0 cursor-pointer">
5050
<div onClick={navigate} className="flex flex-col">
5151
<div className="w-full">
5252
<h4 className="font-medium block text-xl mb-4">{learningModule.title}</h4>

src/components/cards/NotificationCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export default function NotificationCard({ user = {}, notification, extended = f
105105

106106
return (
107107
<>
108-
<div onClick={goToLink} className={`flex hover:bg-gray-50 py-4 -mx-5 px-5 cursor-pointer ${extended ? "rounded-3xl" : ""}`}>
108+
<div onClick={goToLink} className={`flex hover:bg-secondary py-4 -mx-5 px-5 cursor-pointer ${extended ? "rounded-3xl" : ""}`}>
109109
<div className="flex mr-2">
110110
<Avatar user={user} size="medium-fixed" className="!w-10 !h-10" />
111111
</div>

0 commit comments

Comments
 (0)