mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
perf: card styles
This commit is contained in:
@@ -3,13 +3,13 @@
|
|||||||
height: 10rem;
|
height: 10rem;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
|
box-shadow: 0px 2px 2px 0 rgba(0, 0, 0, 0.2);
|
||||||
padding: 1.2rem;
|
padding: 1.2rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardContainer:hover {
|
.cardContainer:hover {
|
||||||
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
|
box-shadow: 0px 2px 8px 0 rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconBasicInfoContainer {
|
.iconBasicInfoContainer {
|
||||||
|
|||||||
@@ -26,15 +26,9 @@ export default function BotConfigPage() {
|
|||||||
const [nowSelectedBotCard, setNowSelectedBotCard] = useState<BotCardVO>();
|
const [nowSelectedBotCard, setNowSelectedBotCard] = useState<BotCardVO>();
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// TODO:补齐加载转圈逻辑
|
getBotList();
|
||||||
|
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
async function checkHasLLM(): Promise<boolean> {
|
|
||||||
// NOT IMPL
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
async function getBotList() {
|
async function getBotList() {
|
||||||
|
|
||||||
const adapterListResp = await httpClient.getAdapters();
|
const adapterListResp = await httpClient.getAdapters();
|
||||||
|
|||||||
@@ -3,13 +3,13 @@
|
|||||||
height: 10rem;
|
height: 10rem;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
|
box-shadow: 0px 2px 8px 0 rgba(0, 0, 0, 0.2);
|
||||||
padding: 1.2rem;
|
padding: 1.2rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardContainer:hover {
|
.cardContainer:hover {
|
||||||
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
|
box-shadow: 0px 2px 8px 0 rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconBasicInfoContainer {
|
.iconBasicInfoContainer {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
height: 10rem;
|
height: 10rem;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
|
box-shadow: 0px 2px 8px 0 rgba(0, 0, 0, 0.2);
|
||||||
padding: 1.2rem;
|
padding: 1.2rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cardContainer:hover {
|
.cardContainer:hover {
|
||||||
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
|
box-shadow: 0px 2px 8px 0 rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.basicInfoContainer {
|
.basicInfoContainer {
|
||||||
|
|||||||
Reference in New Issue
Block a user