Skip to content

Commit

Permalink
Merge pull request #17 from 0rbit-co/staging
Browse files Browse the repository at this point in the history
Staging to main BetterIDEa card
  • Loading branch information
0rbitCo authored Mar 29, 2024
2 parents 07bfab0 + 4c2d8a8 commit b92e8ce
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 9 deletions.
49 changes: 42 additions & 7 deletions app/components/quests/QuestCard.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// "use client";
import React from "react";
import { CardBody, CardContainer, CardItem } from "../ui/3d-card";
import Image from "next/image";
Expand All @@ -15,6 +16,7 @@ interface QuestCardProps {
}

const QuestCard = ({ num, name, linker, text, points }: QuestCardProps) => {
// const [i, setI] = useState(false);
return (
<CardContainer>
<CardBody
Expand Down Expand Up @@ -47,6 +49,17 @@ const QuestCard = ({ num, name, linker, text, points }: QuestCardProps) => {
<h2 className=" tracking-[21px] mr-[-24px]">NEWS</h2>
</>
)}
{num == 3 && (
<div className="sm:text-[39px] text-[21px] tracking-normal flex flex-col items-center font-medium my-[-18px] gap-[-3px] leading-[27px]">
<h2>0rbit</h2>
<h2>x</h2>
<h2>
{" "}
BetterIDE
<span className="sm:text-[54px] text-[36px]">a</span>
</h2>
</div>
)}
</CardItem>
<CardItem
as="p"
Expand Down Expand Up @@ -78,13 +91,17 @@ const QuestCard = ({ num, name, linker, text, points }: QuestCardProps) => {
>
CHECK THE REPO
</Link>
<Link
className="text-[12px] font-light tracking-wider px-[6px] py-[2px]
{num == 3 ? (
""
) : (
<Link
className="text-[12px] font-light tracking-wider px-[6px] py-[2px]
hover:cursor-pointer hover:bg-[#cf893457] bg-[#cf8934c3]"
href="https://github.com/0rbit-co/quest"
>
Submit PR Here
</Link>
href="https://github.com/0rbit-co/quest"
>
Submit PR Here
</Link>
)}
</CardItem>
<CardItem
translateZ="50"
Expand All @@ -99,8 +116,26 @@ const QuestCard = ({ num, name, linker, text, points }: QuestCardProps) => {
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 && (
<span
onMouseEnter={() => {
setI(true);
}}
onMouseLeave={() => {
setI(false);
}}
className="hover:cursor-pointer px-[6px] py-[2px] text-[12px] rounded-full bg-[#323232] text-[#cacaca]"
>
i
</span>
)} */}
</span>
{/* {i && (
<span className="absolute text-[12px] text-end mr-[-27px] bg-[#323232] text-[#cacaca] max-w-24 px-[12px] py-[6px]">
First 100 Wallets recieve 50 0p each!
</span>
)} */}
</CardItem>
</CardBody>
</CardContainer>
Expand Down
11 changes: 9 additions & 2 deletions app/components/quests/QuestsCall.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
<QuestCard
num="2"
linker="https://github.com/0rbit-co/quest/blob/main/news-feed-bot.md"
name="News Feed Bot"
text="Create a Cron-bot that will post the latest news every 4 hours."
points="300000"
points="300"
/>
<QuestCard
num="3"
linker="https://github.com/0rbit-co/quest/blob/main/better-idea.md"
name="BetterIDEa"
text="Create an ao process using BetterIdea (with functionality)"
points="50"
/>
</div>
);
Expand Down

0 comments on commit b92e8ce

Please sign in to comment.