Skip to content

Commit

Permalink
refactor: set default page to start instead of summary page
Browse files Browse the repository at this point in the history
  • Loading branch information
lizable authored and agatha197 committed Aug 30, 2024
1 parent 9c90b9c commit 59375e6
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 103 deletions.
3 changes: 0 additions & 3 deletions react/src/pages/StartPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ import BatchSessionIcon from '../components/icons/BatchSessionIcon';
import ExampleStartIcon from '../components/icons/ExampleStart';
import InteractiveSessionIcon from '../components/icons/InteractiveSession';
import ModelServiceIcon from '../components/icons/ModelServiceIcon';
<<<<<<< HEAD
=======
// import URLStartIcon from '../components/icons/URLStartIcon';
>>>>>>> 2ea20af6b (refactor: replace svg as customIcon component)
import { useWebUINavigate } from '../hooks';
import { FolderAddOutlined } from '@ant-design/icons';
import React from 'react';
Expand Down
201 changes: 101 additions & 100 deletions resources/theme.json
Original file line number Diff line number Diff line change
@@ -1,110 +1,111 @@
{
"$schema": "./theme.schema.json",
"light": {
"token": {
"fontFamily": "'Ubuntu', Roboto, sans-serif",
"colorPrimary": "#FF7A00",
"colorLink": "#FF7A00",
"colorPrimaryText": "#E8FAF6",
"colorPrimaryBg": "#FF7A00",
"colorFillContent": "#FF9D00",
"colorInfoHover": "#FFE3B7",
"colorWarning": "#f1a239",
"colorError": "#EE585A",
"colorTextDescription": "#767676",
"borderRadius": 5,
"colorLinkHover": "#FF9D00",
"colorBgBlur": "#FFE3B7",
"colorBorderSecondary": "#E1E1E2",
"colorSuccess": "#028DF2",
"colorSuccessBg": "#C9EFFF",
"colorSuccessBgHover": "#C9EFFF",
"colorSuccessBorder": "#C9EFFF",
"colorSuccessBorderHover": "#C9EFFF",
"colorSuccessHover": "#028DF2",
"colorIcon": "#FFFFFF"
},
"components": {
"Tag": {
"borderRadiusSM": 100,
"colorSuccess": "#01A543",
"colorSuccessBg": "none",
"colorPreparingBg": "none",
"colorWarningBg": "none"
},
"Table": {
"headerBorderRadius": 0,
"headerBg": "#E3E3E3",
"cellPaddingBlock": 6
},
"Layout": {
"lightSiderBg": "#FFFFFF",
"siderBg": "#2A2C30"
},
"Typography": {
"algorithm": {
"colorText": "#333333"
}
},
"Radio": {
"buttonColor": "#999999",
"algorithm": {
"buttonSolidCheckedBg": "#FFE3B7",
"buttonSolidCheckedColor": "#FF7A00"
}
},
"Select": {
"colorTextPlaceholder": "#999999"
},
"Tabs": {
"itemColor": "#999999"
}
}
"light" : {
"token": {
"fontFamily": "'Ubuntu', Roboto, sans-serif",
"colorPrimary": "#FF7A00",
"colorLink": "#FF7A00",
"colorPrimaryText": "#E8FAF6",
"colorPrimaryBg": "#FF7A00",
"colorFillContent": "#FF9D00",
"colorInfoHover": "#FFE3B7",
"colorWarning": "#f1a239",
"colorError": "#EE585A",
"colorTextDescription": "#767676",
"borderRadius": 5,
"colorLinkHover": "#FF9D00",
"colorBgBlur": "#FFE3B7",
"colorBorderSecondary": "#E1E1E2",
"colorSuccess": "#028DF2",
"colorSuccessBg": "#C9EFFF",
"colorSuccessBgHover": "#C9EFFF",
"colorSuccessBorder": "#C9EFFF",
"colorSuccessBorderHover": "#C9EFFF",
"colorSuccessHover": "#028DF2",
"colorIcon": "#FFFFFF"
},
"components": {
"Tag": {
"borderRadiusSM": 100,
"colorSuccess": "#01A543",
"colorSuccessBg": "none",
"colorPreparingBg": "none",
"colorWarningBg": "none"
},
"Table": {
"headerBorderRadius": 0,
"headerBg": "#E3E3E3",
"cellPaddingBlock": 6
},
"Layout": {
"lightSiderBg": "#FFFFFF",
"siderBg": "#2A2C30"
},
"Typography": {
"algorithm": {
"colorText": "#333333"
}
},
"Radio": {
"buttonColor": "#999999",
"algorithm": {
"buttonSolidCheckedBg": "#FFE3B7",
"buttonSolidCheckedColor": "#FF7A00"
}
},
"Select": {
"colorTextPlaceholder": "#999999"
},
"Tabs": {
"itemColor": "#999999"
}
}
},
"dark": {
"token": {
"fontFamily": "'Ubuntu', Roboto, sans-serif",
"colorPrimary": "#25C2A0",
"colorLink": "#25C2A0"
},
"components": {
"Tag": {
"borderRadiusSM": 100,
"colorSuccessBg": "none",
"colorPreparingBg": "none",
"colorWarningBg": "none"
},
"Table": {
"headerBorderRadius": 0,
"cellPaddingBlock": 6
},
"Layout": {
"lightSiderBg": "#F4F7FD",
"siderBg": "#2A2C30"
}
}
"token": {
"fontFamily": "'Ubuntu', Roboto, sans-serif",
"colorPrimary": "#25C2A0",
"colorLink": "#25C2A0"
},
"components": {
"Tag": {
"borderRadiusSM": 100,
"colorSuccessBg": "none",
"colorPreparingBg": "none",
"colorWarningBg": "none"
},
"Table": {
"headerBorderRadius": 0,
"cellPaddingBlock": 6
},
"Layout": {
"lightSiderBg": "#F4F7FD",
"siderBg": "#2A2C30"
}
}
},
"logo": {
"src": "/manifest/backend.ai-white-text.svg",
"srcCollapsed": "/manifest/backend.ai-brand-simple.svg",
"srcDark": "/manifest/backend.ai-text-bgdark.svg",
"srcCollapsedDark": "/manifest/backend.ai-brand-simple-bgdark.svg",
"logoTitle": "WebUI",
"logoTitleCollapsed": "WebUI",
"alt": "Backend.AI Logo",
"href": "/summary",
"size": {
"width": 158.75,
"height": 24
"src": "/manifest/backend.ai-white-text.svg",
"srcCollapsed": "/manifest/backend.ai-brand-simple.svg",
"srcDark": "/manifest/backend.ai-text-bgdark.svg",
"srcCollapsedDark": "/manifest/backend.ai-brand-simple-bgdark.svg",
"logoTitle": "WebUI",
"logoTitleCollapsed": "WebUI",
"alt": "Backend.AI Logo",
"href": "/summary",
"size": {
"width": 158.75,
"height": 24
},
"sizeCollapsed": {
"width": 48,
"height": 24
}
},
"sizeCollapsed": {
"width": 48,
"height": 24
}
"sider": {
},
"sider": {},
"branding": {
"companyName": "Lablup Inc.",
"brandName": "Backend.AI"
"companyName": "Lablup Inc.",
"brandName": "Backend.AI"
}
}
}

0 comments on commit 59375e6

Please sign in to comment.