From 88c004c27f812e7cc2929ed8d25d0aeea57511d5 Mon Sep 17 00:00:00 2001 From: L-Pircy Date: Thu, 28 Mar 2024 21:42:15 +0530 Subject: [PATCH 1/2] better idea card addded --- app/components/quests/QuestCard.tsx | 49 ++++++++++++++++++++++++---- app/components/quests/QuestsCall.tsx | 11 +++++-- 2 files changed, 51 insertions(+), 9 deletions(-) diff --git a/app/components/quests/QuestCard.tsx b/app/components/quests/QuestCard.tsx index 88c624e..8cf2b7e 100644 --- a/app/components/quests/QuestCard.tsx +++ b/app/components/quests/QuestCard.tsx @@ -1,3 +1,4 @@ +// "use client"; import React from "react"; import { CardBody, CardContainer, CardItem } from "../ui/3d-card"; import Image from "next/image"; @@ -15,6 +16,7 @@ interface QuestCardProps { } const QuestCard = ({ num, name, linker, text, points }: QuestCardProps) => { + // const [i, setI] = useState(false); return ( {

NEWS

)} + {num == 3 && ( +
+

0rbit

+

x

+

+ {" "} + BetterIDE + a +

+
+ )} { > CHECK THE REPO - - Submit PR Here - + href="https://github.com/0rbit-co/quest" + > + Submit PR Here + + )} { animate-shimmer bg-[linear-gradient(110deg,#000103,45%,#1e2631,55%,#000103)] bg-[length:200%_100%] transition-colors focus:outline-none focus:ring-2 focus:ring-slate-400 focus:ring-offset-2 focus:ring-offset-slate-50 ${anp.className}`} > - +{points} 0P + +{points} 0P{" "} + {/* {num == 3 && ( + { + setI(true); + }} + onMouseLeave={() => { + setI(false); + }} + className="hover:cursor-pointer px-[6px] py-[2px] text-[12px] rounded-full bg-[#323232] text-[#cacaca]" + > + i + + )} */} + {/* {i && ( + + First 100 Wallets recieve 50 0p each! + + )} */}
diff --git a/app/components/quests/QuestsCall.tsx b/app/components/quests/QuestsCall.tsx index 23b06ad..fd71ce6 100644 --- a/app/components/quests/QuestsCall.tsx +++ b/app/components/quests/QuestsCall.tsx @@ -10,14 +10,21 @@ const QuestsCall = () => { linker="https://github.com/0rbit-co/quest/blob/main/price-feed-bot.md" name="Price Feed Bot" text="Create a Bot that provides price feed for token(s)." - points="200000" + points="200.000" /> + ); From 2e4f8fdf874fb57753fcc2ed1ed3702822f61a6b Mon Sep 17 00:00:00 2001 From: L-Pircy Date: Fri, 29 Mar 2024 01:13:53 +0530 Subject: [PATCH 2/2] point fixed --- app/components/quests/QuestsCall.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/quests/QuestsCall.tsx b/app/components/quests/QuestsCall.tsx index fd71ce6..648a97c 100644 --- a/app/components/quests/QuestsCall.tsx +++ b/app/components/quests/QuestsCall.tsx @@ -10,21 +10,21 @@ const QuestsCall = () => { linker="https://github.com/0rbit-co/quest/blob/main/price-feed-bot.md" name="Price Feed Bot" text="Create a Bot that provides price feed for token(s)." - points="200.000" + points="200" /> );