Skip to content

Commit

Permalink
Merge pull request #532 from DeXter-on-Radix/make-stats-widget-a-section
Browse files Browse the repository at this point in the history
make stats widget a standalone section
  • Loading branch information
fliebenberg authored Aug 5, 2024
2 parents 99a3ea4 + 33a5125 commit 60eef5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/components/StatsWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const StatsWidget = () => {
const numOfPairs = pairsList.length;

return (
<div className="flex w-full opacity-80 flex-col gap-y-8 mx-auto justify-center items-center mt-8 mb-32">
<div className="flex w-full opacity-80 flex-col gap-y-8 mx-auto justify-center items-center py-32 bg-dexter-grey-dark">
{/* users */}
{totalUsers ? (
<>
Expand Down
8 changes: 4 additions & 4 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ function getTokenomicsTopicSectionProps(
</>
);
return {
backgroundColor: "bg-dexter-grey-dark",
backgroundColor: "bg-dexter-grey-light",
title: t("dextr_token"),
body: tokenomicsBody,
imageUrl: "/landing/sections/dexter-mascotte-holding-coin.png",
Expand All @@ -360,7 +360,7 @@ function getTradeTopicSectionProps(
t: (key: string) => string // translation dict needs to be passed in
): TopicSectionProps {
return {
backgroundColor: "bg-dexter-grey-light",
backgroundColor: "bg-dexter-grey-dark",
title: t("earn_rewards_by_trading"),
body: <DexterParagraph text={t("earn_rewards_by_trading_and")} />,
imageUrl: "/landing/sections/treasury-earn-by-trading.png",
Expand All @@ -375,7 +375,7 @@ function getStakeTopicSectionProps(
t: (key: string) => string // translation dict needs to be passed in
): TopicSectionProps {
return {
backgroundColor: "bg-dexter-grey-dark",
backgroundColor: "bg-dexter-grey-light",
title: t("stake_xrd_to_earn_dextr"),
body: <DexterParagraph text={t("delegate_your_xrd_to_our")} />,
imageUrl: "/landing/sections/staking-safe.png",
Expand All @@ -390,7 +390,7 @@ function getContributeTopicSectionProps(
t: (key: string) => string // translation dict needs to be passed in
): TopicSectionProps {
return {
backgroundColor: "bg-dexter-grey-light",
backgroundColor: "bg-dexter-grey-dark",
title: t("earn_dextr_by_contributing"),
body: <DexterParagraph text={t("whether_you_are_a_developer")} />,
imageUrl: "/landing/sections/hands.png",
Expand Down

0 comments on commit 60eef5b

Please sign in to comment.