diff --git a/src/components/Dashboard/MysteryBoxIII.tsx b/src/components/Dashboard/MysteryBoxIII.tsx index 153ac4cf..e48b2338 100644 --- a/src/components/Dashboard/MysteryBoxIII.tsx +++ b/src/components/Dashboard/MysteryBoxIII.tsx @@ -41,10 +41,38 @@ const Container = styled.div` z-index: -1; margin: -1px; border-radius: inherit; /*important*/ - background: linear-gradient(90deg, #48ecae 0%, #3e52fc 52.9%, #49cdd7 100%); + background: linear-gradient( + 175deg, + #fb2450, + #fbc82e, + #6eee3f, + #5889f3, + #5095f1, + #b10af4 60% + ); } `; +const CustomButton = styled(GradientButton)` + border-radius: 8px; + background: var( + --Button-Rainbow, + linear-gradient( + 90deg, + #4ba790 0%, + rgba(251, 251, 251, 0.6) 50.31%, + #9747ff 100% + ) + ); + color: #fff; + text-align: center; + font-size: 18px; + font-style: normal; + font-weight: 700; + line-height: 26px; /* 144.444% */ + letter-spacing: 1px; +`; + const TRADEMARK_TOKEN_ID_MAP: Record = { 1: "Oak Tree Roots", 2: "Magnifying Glass", @@ -234,25 +262,27 @@ export default function MysteryBoxIII() { return ( <> {remainDrawCount > 0 && ( - - -
-

Mystery Box III

-

x{remainDrawCount}

+ +
+ +
+

Mystery Box III

+

x{remainDrawCount}

+
- drawModal.onOpen()} > Open - +
)} diff --git a/src/components/DashboardS2/ZKLClaimAd.tsx b/src/components/DashboardS2/ZKLClaimAd.tsx index 9b43431e..4e27d2d4 100644 --- a/src/components/DashboardS2/ZKLClaimAd.tsx +++ b/src/components/DashboardS2/ZKLClaimAd.tsx @@ -4,9 +4,6 @@ import { useEffect, useState } from "react"; import styled from "styled-components"; const Container = styled.div` - position: fixed; - top: 120px; - right: 32px; background: #181d20; color: #fff; font-family: Satoshi; @@ -14,7 +11,6 @@ const Container = styled.div` font-style: normal; font-weight: 400; line-height: normal; - z-index: 999; transition: all 0.3s; .progress-bar { diff --git a/src/pages/DashboardS2/index2.tsx b/src/pages/DashboardS2/index2.tsx index 446f5b7c..b77c4b44 100644 --- a/src/pages/DashboardS2/index2.tsx +++ b/src/pages/DashboardS2/index2.tsx @@ -27,6 +27,7 @@ import { Tooltip } from "@nextui-org/react"; import { epochList } from "@/constants/epoch"; import PremiusAd from "@/components/DashboardS2/PremiusAd"; import ZKLClaimAd from "@/components/DashboardS2/ZKLClaimAd"; +import MysteryBoxIII from "@/components/Dashboard/MysteryBoxIII"; export type TotalTvlItem = { symbol: string; tokenAddress: string; @@ -597,8 +598,10 @@ export default function Dashboard() { return ( - {/* */} - +
+ + +
diff --git a/src/styles/common.ts b/src/styles/common.ts index 8dc23375..48d01b72 100644 --- a/src/styles/common.ts +++ b/src/styles/common.ts @@ -8,7 +8,6 @@ export const GradientButton = styled.span` font-style: normal; font-weight: 900; letter-spacing: 0.125rem; - text-transform: uppercase; border-radius: 0.5rem; display: inline-block; user-select: none;