Skip to content

Commit

Permalink
Add: Blackwell (#454)
Browse files Browse the repository at this point in the history
Blackwell
  • Loading branch information
HoomanDgtl authored Dec 13, 2024
1 parent 32b40c1 commit 6a42a7f
Show file tree
Hide file tree
Showing 26 changed files with 3,794 additions and 975 deletions.
2,707 changes: 2,139 additions & 568 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@
"@fontsource-variable/jetbrains-mono": "^5.0.18",
"@headlessui/react": "^1.7.17",
"@heroicons/react": "^2.0.18",
"@hookform/resolvers": "^3.9.1",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-checkbox": "^1.1.2",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-dialog": "^1.1.2",
"@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-popover": "^1.1.2",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-scroll-area": "^1.2.1",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
Expand All @@ -45,15 +49,19 @@
"axios": "^1.6.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"cmdk": "^1.0.4",
"firebase": "^11.0.2",
"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",
"react-google-charts": "^4.0.1",
"react-hook-form": "^7.54.0",
"react-intl": "^6.5.1",
"react-markdown": "^9.0.0",
"react-phone-number-input": "^3.4.10",
"react-simple-maps": "^3.0.0",
"react-swipeable": "^7.0.1",
"remark-directive": "^3.0.0",
Expand All @@ -65,6 +73,7 @@
"tailwindcss-animate": "^1.0.7",
"unist-util-remove": "^4.0.0",
"unist-util-visit": "^5.0.0",
"zod": "^3.24.0",
"zustand": "^4.5.2"
},
"devDependencies": {
Expand Down
Binary file added public/images/blackwell/gpu1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/blackwell/gpu2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions public/images/blackwell/nvidiatoakash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 3 additions & 13 deletions src/components/about-pages/network-activity/useDashboardData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,20 @@ interface ProviderDetail {
isOnline: boolean;
}

export function useDashboardData({
initialData,
}: {
initialData: DashboardData;
}) {
export function useDashboardData() {
return useQuery<DashboardData, Error>({
queryKey: ["DASHBOARD_DATA"],
queryFn: getDashboardData,
refetchInterval: 2000,
refetchIntervalInBackground: true,
initialData: initialData,
});
}
// owner, name, ipLon, ipLat, ipRegion, ipCountryCode
export function useProviderDetail({
initialData,
}: {
initialData: ProviderDetail[];
}) {

export function useProviderDetail() {
return useQuery<ProviderDetail[], Error>({
queryKey: ["PROVIDER_DETAIL"],
queryFn: getProviderDetail,
refetchInterval: 2000,
refetchIntervalInBackground: true,
initialData: initialData,
});
}
Loading

0 comments on commit 6a42a7f

Please sign in to comment.