Refactor and enhance UI components across the application

- Improved formatting and consistency in BotConfigPage, HomeSidebar, and Plugin components.
- Removed unnecessary Spin component to prevent layout collapse in BotConfigPage.
- Enhanced sidebar selection logic to reflect current URL path in HomeSidebar.
- Updated layout styles for better responsiveness and visual appeal.
- Implemented mock data fetching in PluginMarketComponent for improved testing and development.
- Added pagination and search functionality in PluginMarketComponent.
- Refactored PluginInstalledComponent to streamline plugin list rendering and modal handling.
- Adjusted CSS styles for better alignment and spacing in various components.
- Removed commented-out code in HttpClient for cleaner codebase.
- Enhanced NotFound component layout for better user experience.
This commit is contained in:
Chris
2025-04-28 23:10:33 +08:00
parent 8eca2cba58
commit ea1a24fd1e
16 changed files with 631 additions and 420 deletions

View File

@@ -1,12 +1,10 @@
import styles from "./createCartComponent.module.css";
export default function CreateCardComponent({
width,
height,
plusSize,
onClick,
}: {
width: number;
height: number;
plusSize: number;
onClick: () => void
@@ -15,7 +13,7 @@ export default function CreateCardComponent({
<div
className={`${styles.cardContainer} ${styles.createCardContainer} `}
style={{
width: `${width}px`,
width: `100%`,
height: `${height}px`,
fontSize: `${plusSize}px`
}}