Skip to content

Commit

Permalink
feat: Main Layout NEO sider
Browse files Browse the repository at this point in the history
  • Loading branch information
yomybaby committed Nov 14, 2024
1 parent 6535ff2 commit dc7e96c
Show file tree
Hide file tree
Showing 37 changed files with 533 additions and 114 deletions.
13 changes: 13 additions & 0 deletions manifest/backend.ai-brand-simple-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions manifest/backend.ai-webui-white.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: 2 additions & 2 deletions react/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ const router = createBrowserRouter([
},
{
path: '/agent',
handle: { labelKey: 'webui.menu.ComputationResources' },
handle: { labelKey: 'webui.menu.Resources' },
Component: ResourcesPage,
},
{
Expand All @@ -306,7 +306,7 @@ const router = createBrowserRouter([
},
{
path: '/maintenance',
handle: { labelKey: 'webui.menu.Environments&Presets' },
handle: { labelKey: 'webui.menu.Maintenance' },
},
{
path: '/storage-settings/:hostname',
Expand Down
4 changes: 4 additions & 0 deletions react/src/components/BAIIcons/BatchSession.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/BatchSessionIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ReactComponent as logo } from './BatchSession.svg';
import Icon from '@ant-design/icons';
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

interface BatchSessionIconProps
extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {}

const BatchSessionIcon: React.FC<BatchSessionIconProps> = (props) => {
return <Icon component={logo} {...props} />;
};

export default BatchSessionIcon;
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/Endpoints.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/EndpointsIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ReactComponent as logo } from './Endpoints.svg';
import Icon from '@ant-design/icons';
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

interface EndpointsIconProps
extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {}

const EndpointsIcon: React.FC<EndpointsIconProps> = (props) => {
return <Icon component={logo} {...props} />;
};

export default EndpointsIcon;
5 changes: 5 additions & 0 deletions react/src/components/BAIIcons/ExampleStart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/ExampleStart.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ReactComponent as logo } from './ExampleStart.svg';
import Icon from '@ant-design/icons';
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

interface ExampleStartIconProps
extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {}

const ExampleStartIcon: React.FC<ExampleStartIconProps> = (props) => {
return <Icon component={logo} {...props} />;
};

export default ExampleStartIcon;
13 changes: 13 additions & 0 deletions react/src/components/BAIIcons/Examples.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions react/src/components/BAIIcons/ExamplesIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ReactComponent as logo } from './Examples.svg';
import Icon from '@ant-design/icons';
import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';

interface ExamplesIconProps
extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {}

const ExamplesIcon: React.FC<ExamplesIconProps> = (props) => {
return <Icon component={logo} {...props} />;
};

export default ExamplesIcon;
Loading

0 comments on commit dc7e96c

Please sign in to comment.