From 97aef7d2ecd7e3afbee048e590a88c6ecc29127c Mon Sep 17 00:00:00 2001 From: baystef Date: Wed, 23 Oct 2024 18:29:19 +0100 Subject: [PATCH] refactor(stakinglaunchpadwidget): migrate stakinglaunchpadwidget to tailwind/shadcn --- .../Staking/StakingLaunchpadWidget.tsx | 46 ++++++++----------- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/src/components/Staking/StakingLaunchpadWidget.tsx b/src/components/Staking/StakingLaunchpadWidget.tsx index 13c1991bfb2..3e67f765cde 100644 --- a/src/components/Staking/StakingLaunchpadWidget.tsx +++ b/src/components/Staking/StakingLaunchpadWidget.tsx @@ -1,18 +1,15 @@ import { useState } from "react" import { useTranslation } from "next-i18next" import { FaTools } from "react-icons/fa" -import { Box } from "@chakra-ui/react" -import { ButtonLink } from "@/components/Buttons" -import Text from "@/components/OldText" import Translation from "@/components/Translation" +import { ButtonLink } from "@/components/ui/buttons/Button" +import { Flex } from "@/components/ui/flex" +import Select, { type SelectOnChange } from "@/components/ui/Select" import { cn } from "@/lib/utils/cn" import { trackCustomEvent } from "@/lib/utils/matomo" -import { Flex } from "../ui/flex" -import Select, { type SelectOnChange } from "../ui/Select" - type StakingDataOption = { label: string; value: string } const StakingLaunchpadWidget = () => { @@ -54,10 +51,10 @@ const StakingLaunchpadWidget = () => { "bg-gradient-to-r from-accent-a/10 to-accent-c/10 dark:from-accent-a/20 dark:to-accent-c-hover/20" )} > - + - - + +