Skip to content

Commit 64cd320

Browse files
committed
fix: update pod
1 parent 5139534 commit 64cd320

File tree

10 files changed

+47
-141
lines changed

10 files changed

+47
-141
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import LinearProgress from '@mui/material/LinearProgress'
2+
3+
const ProgressBar = ({ value }: { value: number }) => {
4+
return <LinearProgress style={{ width: '100%' }} variant='determinate' value={value} />
5+
}
6+
7+
export default ProgressBar
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from './ProgressBar'

apps/ui/src/pages/Navigation/MainNavigation.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ const MainNavigation = ({ user }: { user: any }) => {
216216
isActive={includes(active, 'models')}
217217
onClick={() => onHandleClick('/models')}
218218
>
219-
<FineTuning size={30} />
219+
<FineTuning />
220220
{includes(active, 'models') && <StyledCorner />}
221221
</StyledLi>
222222
</Tooltip>

apps/ui/src/pages/Pods/FilterPods.tsx

-128
This file was deleted.

apps/ui/src/pages/Pods/PodsContent.tsx

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/ui/src/pages/Pods/Price.tsx apps/ui/src/pages/Pods/components/details/Price.tsx

+12-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/ui/src/pages/Pods/index.ts

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/ui/src/share-ui/components/Icon/Icons/components/Cloud.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Cloud: React.FC<Cloud> = ({ size, ...props }) => (
2020
</g>
2121
</svg>
2222
)
23-
Cloud.displayName = 'Book'
23+
Cloud.displayName = 'Cloud'
2424
export default Cloud
2525
/* tslint:enable */
2626
/* eslint-enable */

apps/ui/src/share-ui/components/Icon/Icons/components/FineTuning.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export interface FineTuningProps extends React.SVGAttributes<SVGElement> {
55
size?: string | number
66
}
77
const FineTuning: React.FC<FineTuningProps> = ({ size, ...props }) => (
8-
<svg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'>
8+
<svg width={size || '48'} height={size || '48'} viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'>
99
<path
1010
d='M24 21.5L24 35'
1111
stroke='black'

apps/ui/src/types/pod.ts

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
export interface PodInput {
3+
pod_name: string;
4+
price: number;
5+
status: string;
6+
provider: string;
7+
category: string;
8+
type: string;
9+
resource: string;
10+
gpu_count: number;
11+
isinstance_pricing: {
12+
plan: string;
13+
};
14+
}
15+
16+
export interface CreatePodResponse {
17+
success: boolean;
18+
message: string;
19+
}

0 commit comments

Comments
 (0)