Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new gpu pricing page #345

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
c311d2d
feat: implement gpu pricing page structure
hiroyukikumazawa Aug 21, 2024
a7d4847
feat: integrate radix-ui tag to gpu pricing page
hiroyukikumazawa Aug 22, 2024
cbb735c
fix: update gpu pricing page tab styles
hiroyukikumazawa Aug 22, 2024
51d9cab
feat: install radix-ui/react-slider
hiroyukikumazawa Aug 22, 2024
8a0aa1f
feat: integrate radix-ui slider to pricing page
hiroyukikumazawa Aug 22, 2024
69f7b95
Merge branch 'main' of https://github.com/akash-network/website into …
hiroyukikumazawa Aug 22, 2024
6fb3714
remove: old gpu table components
hiroyukikumazawa Aug 22, 2024
9566af5
feat: add CircularProgressBar components to gpu princing page
hiroyukikumazawa Aug 22, 2024
07af206
feat: add AvailabilityBar components to gpu pricing page
hiroyukikumazawa Aug 22, 2024
7a6694d
fix: remove old progressbar
hiroyukikumazawa Aug 23, 2024
54b6fd3
feat: add slider label
hiroyukikumazawa Aug 23, 2024
7d7b22c
fix: editable gpu pricing page input
hiroyukikumazawa Aug 23, 2024
ac3ac9a
fix: outline color to primary
hiroyukikumazawa Aug 23, 2024
319ddb2
fix: update max pricing and unit
hiroyukikumazawa Aug 23, 2024
d973d7a
Merge branch 'main' of https://github.com/akash-network/website into …
hiroyukikumazawa Aug 23, 2024
2280290
fix: dark theme in gpu pricing page
hiroyukikumazawa Aug 23, 2024
e0318b1
fix: update dark theme in gpu usage pricing page
hiroyukikumazawa Aug 23, 2024
f634f4f
fix: update dark theme in gpu provider page
hiroyukikumazawa Aug 23, 2024
fd3e33e
fix: gpu pricing calcualte
hiroyukikumazawa Aug 23, 2024
8abf478
fix: tabs components
hiroyukikumazawa Aug 23, 2024
e9eb3f6
fix: keep old gpu-table for the about/gpu-pricing page
hiroyukikumazawa Aug 23, 2024
4ba431e
fix: keep old tabs components for mdx and update radix-tabs
hiroyukikumazawa Aug 23, 2024
ef3d183
Merge branch 'main' of https://github.com/akash-network/website into …
hiroyukikumazawa Aug 23, 2024
3dc5bcd
fix: update gpu pricing page styles
hiroyukikumazawa Aug 23, 2024
58ff1a7
fix: update total gpu availables chart
hiroyukikumazawa Aug 23, 2024
e6ff5b4
fix: upate gpu pricing label style
hiroyukikumazawa Aug 23, 2024
60a1ac1
fix: update gpu pricing styles
hiroyukikumazawa Aug 26, 2024
d6ea487
fix: add card component
hiroyukikumazawa Aug 26, 2024
5fd9fbd
feat: implement mobile responsive in gpu pricing page
hiroyukikumazawa Aug 27, 2024
0bc92b9
fix: add badge in gpu pricing nav
hiroyukikumazawa Aug 27, 2024
6f94832
fix: updated mobile responsive
hiroyukikumazawa Aug 28, 2024
c833b64
fix: update gpu pricing ui responsive and akt average switch
hiroyukikumazawa Aug 28, 2024
7c41c58
fix: gpu pricing page ui
hiroyukikumazawa Aug 28, 2024
0feacf3
Merge branch 'main' of https://github.com/akash-network/website into …
hiroyukikumazawa Aug 28, 2024
8cf43f0
fix: update gpu pricing page styles
hiroyukikumazawa Aug 28, 2024
fdfe908
fix: gpu pricing page style
hiroyukikumazawa Aug 28, 2024
94e44d0
fix: gpu pricing page skeleton and update some ui
hiroyukikumazawa Aug 29, 2024
f290c7e
fix: reduce closeDelay of hover content
hiroyukikumazawa Aug 29, 2024
afbf486
fix: increase gpu pricing tile and tab bg color
hiroyukikumazawa Aug 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,196 changes: 1,247 additions & 949 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,18 @@
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.1.0",
"@tailwindcss/typography": "^0.5.10",
"@tanstack/react-query": "^4.29.7",
"@tanstack/react-query-devtools": "^4.32.6",
"@types/lodash": "^4.17.7",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"astro": "^4.0.7",
Expand All @@ -41,6 +47,7 @@
"clsx": "^2.0.0",
"fuse.js": "^6.6.2",
"hastscript": "^8.0.0",
"lodash": "^4.17.21",
"lucide-react": "^0.279.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand All @@ -55,6 +62,7 @@
"swiper": "10.2.0",
"tailwind-merge": "^1.14.0",
"tailwindcss": "^3.0.24",
"tailwindcss-animate": "^1.0.7",
"unist-util-remove": "^4.0.0",
"unist-util-visit": "^5.0.0",
"zustand": "^4.5.2"
Expand Down
12 changes: 12 additions & 0 deletions src/assets/akash-logo-primary.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/assets/aws-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/assets/azure-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/cpu-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/endpoint-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/assets/gcp-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/gpu-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/arrow-up-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/assets/ips-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/memory-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/storage-brand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/gpu-table/filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default function Filter({
return (
<Popover as="div" className="relative inline-block text-left">
<div>
<Popover.Button className="inline-flex w-full items-center justify-center gap-x-1.5 rounded-md border bg-background2 px-4 py-2 text-sm font-medium text-textGray shadow-sm">
<Popover.Button className="inline-flex w-full items-center justify-center gap-x-1.5 rounded-md border bg-background2 px-3 py-1.5 text-sm font-medium text-textGray shadow-sm">
Filter
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
4 changes: 2 additions & 2 deletions src/components/header/hamburger-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ const navigation = [
name: "Development",
href: "/development/welcome/",
},
{ name: "Ecosystem", href: "/ecosystem/showcase/latest" },
{ name: "Ecosystem", href: "/ecosystem/showcase/latest/" },
{ name: "Community", href: "/community/akash-insiders/" },
{ name: "Blog", href: "/blog" },
{ name: "Docs", href: "/docs" },
{ name: "GPU Pricing", href: "/gpus" },
{ name: "Pricing & Earnings", href: "/pricing/" },
];

export default function HamburgerMenu({
Expand Down
15 changes: 12 additions & 3 deletions src/components/header/header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import SunIcon from "@/assets/icons/sun.svg";
// Import required components
import Logo from "@/components/ui/logo.astro";
import NavLink from "@/components/header/nav-link.astro";
import { Badge } from "@/components/ui/badge";
import { Image } from "astro:assets";
import HamburgerMenu from "./hamburger-menu";
import PopOverNavItem from "./popover-nav-item";
Expand Down Expand Up @@ -72,9 +73,17 @@ ${disableSticky ? "" : "sticky top-0 z-[30]"}
Ecosystem
</NavLink>

<NavLink href="/blog" currentPath={pathname}>Blog</NavLink>
<NavLink href="/docs" currentPath={pathname}>Docs</NavLink>
<NavLink href="/gpus" currentPath={pathname}>GPU Pricing</NavLink>
<NavLink href="/blog/" currentPath={pathname}>Blog</NavLink>
<NavLink href="/docs/" currentPath={pathname}>Docs</NavLink>
<NavLink href="/pricing/" currentPath={pathname}>
<div class="flex items-center gap-1">
<span class="text-sm font-medium">Pricing & Earnings</span>
<span
class="inline-flex items-center rounded-full bg-pink-50 dark:bg-background px-2 py-1 text-xs font-medium text-[#FF414C] ring-1 ring-inset ring-[#FF414C]"
>New GPUs</span
>
</div>
</NavLink>
</div>
</div>

Expand Down
Loading