Skip to content

Commit

Permalink
Merge pull request #370 from HoomanDgtl/main
Browse files Browse the repository at this point in the history
update: deciman in calculator and ecosystem showcase
  • Loading branch information
HoomanDgtl authored Sep 24, 2024
2 parents abe16c9 + 1b4b46e commit 82ae3b4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
9 changes: 6 additions & 3 deletions src/components/pricing-page/provider/pricing-unit.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect } from "react";
import { Slider } from "@/components/ui/slider";
import React, { useEffect } from "react";

type PricingUnitProps = {
progress: number;
Expand Down Expand Up @@ -58,10 +58,13 @@ function PricingUnit({
)}
</div>
<input
className={`w-[63px] rounded-md border bg-transparent px-1 py-1.5 font-bold text-foreground shadow-sm focus:outline-primary dark:outline-none md:w-[90px] md:px-3 ${flag ? "mt-0" : "mt-4"}`}
className={`hide-arrow w-[63px] rounded-md border bg-transparent px-1 py-1.5 font-bold text-foreground shadow-sm focus:outline-primary dark:outline-none md:w-[90px] md:px-3 ${flag ? "mt-0" : "mt-4"}`}
value={flag ? `${progress} ${suffix}` : `${progress}`}
type={flag ? "text" : "number"}
onChange={(e) => {
setProgress(parseInt(e.target.value));
if (flag) {
setProgress(parseInt(e.target.value));
} else setProgress(+e.target.value);
}}
/>
</div>
Expand Down
12 changes: 11 additions & 1 deletion src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -271,4 +271,14 @@
display: none;
}

/* change text inside */

.hide-arrow::-webkit-outer-spin-button,
.hide-arrow::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}


.hide-arrow {
-moz-appearance: textfield;
}
2 changes: 1 addition & 1 deletion src/utils/sequences/deployedOnAkash.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const deployedOnAkash = [
"Brev.dev (Acq. by NVIDIA)",
"NVIDIA",
"Venice.ai",
"Prime Intellect",
"University of Texas at Austin",
Expand Down

0 comments on commit 82ae3b4

Please sign in to comment.