From 13d366f960aecff782354a60ec145ad97e385ae6 Mon Sep 17 00:00:00 2001 From: lifeparticle Date: Sun, 17 Sep 2023 22:36:58 +1000 Subject: [PATCH] spin color --- ui/src/index.css | 4 ++++ .../Mimetype/components/MimeSearchResult.tsx | 6 +++--- .../{Info => Information}/Mimetype/components/SearchBar.tsx | 0 ui/src/pages/{Info => Information}/Mimetype/index.tsx | 4 +--- .../{Info => Information}/Mimetype/utils/constants.tsx | 0 ui/src/pages/{Info => Information}/Mimetype/utils/helper.ts | 0 ui/src/pages/{Info => Information}/Mimetype/utils/types.ts | 0 ui/src/pages/pages.ts | 2 +- 8 files changed, 9 insertions(+), 7 deletions(-) rename ui/src/pages/{Info => Information}/Mimetype/components/MimeSearchResult.tsx (76%) rename ui/src/pages/{Info => Information}/Mimetype/components/SearchBar.tsx (100%) rename ui/src/pages/{Info => Information}/Mimetype/index.tsx (79%) rename ui/src/pages/{Info => Information}/Mimetype/utils/constants.tsx (100%) rename ui/src/pages/{Info => Information}/Mimetype/utils/helper.ts (100%) rename ui/src/pages/{Info => Information}/Mimetype/utils/types.ts (100%) diff --git a/ui/src/index.css b/ui/src/index.css index 057f71fb..667c960b 100644 --- a/ui/src/index.css +++ b/ui/src/index.css @@ -126,3 +126,7 @@ h5 { .ant-menu-submenu-popup .ant-menu-vertical { max-height: 300px !important; } + +.ant-spin-dot-item { + background-color: rgba(0, 0, 0, 0.8) !important; +} diff --git a/ui/src/pages/Info/Mimetype/components/MimeSearchResult.tsx b/ui/src/pages/Information/Mimetype/components/MimeSearchResult.tsx similarity index 76% rename from ui/src/pages/Info/Mimetype/components/MimeSearchResult.tsx rename to ui/src/pages/Information/Mimetype/components/MimeSearchResult.tsx index 17542d39..0620d8bd 100644 --- a/ui/src/pages/Info/Mimetype/components/MimeSearchResult.tsx +++ b/ui/src/pages/Information/Mimetype/components/MimeSearchResult.tsx @@ -1,10 +1,10 @@ import { Card, Table } from "antd"; import React from "react"; import MimeSearch from "./SearchBar"; -import { MIME_COLUMNS } from "pages/Info/Mimetype/utils/constants"; -import { MimeSearchResultPropsType } from "pages/Info/Mimetype/utils/types"; +import { MIME_COLUMNS } from "pages/Information/Mimetype/utils/constants"; +import { MimeSearchResultPropsType } from "pages/Information/Mimetype/utils/types"; import { useSearchParams } from "react-router-dom"; -import { filteredMimeType } from "pages/Info/Mimetype/utils/helper"; +import { filteredMimeType } from "pages/Information/Mimetype/utils/helper"; const MimeSearchResult: React.FC = ({ data, diff --git a/ui/src/pages/Info/Mimetype/components/SearchBar.tsx b/ui/src/pages/Information/Mimetype/components/SearchBar.tsx similarity index 100% rename from ui/src/pages/Info/Mimetype/components/SearchBar.tsx rename to ui/src/pages/Information/Mimetype/components/SearchBar.tsx diff --git a/ui/src/pages/Info/Mimetype/index.tsx b/ui/src/pages/Information/Mimetype/index.tsx similarity index 79% rename from ui/src/pages/Info/Mimetype/index.tsx rename to ui/src/pages/Information/Mimetype/index.tsx index a68c1dc0..b86f0959 100644 --- a/ui/src/pages/Info/Mimetype/index.tsx +++ b/ui/src/pages/Information/Mimetype/index.tsx @@ -6,9 +6,7 @@ import MimeSearchResult from "./components/MimeSearchResult"; const Mimetype: React.FC = () => { const { data, isError, isLoading } = useFetchList(MIME_KEY, MIME_URL); - return ( - - ); + return ; }; export default Mimetype; diff --git a/ui/src/pages/Info/Mimetype/utils/constants.tsx b/ui/src/pages/Information/Mimetype/utils/constants.tsx similarity index 100% rename from ui/src/pages/Info/Mimetype/utils/constants.tsx rename to ui/src/pages/Information/Mimetype/utils/constants.tsx diff --git a/ui/src/pages/Info/Mimetype/utils/helper.ts b/ui/src/pages/Information/Mimetype/utils/helper.ts similarity index 100% rename from ui/src/pages/Info/Mimetype/utils/helper.ts rename to ui/src/pages/Information/Mimetype/utils/helper.ts diff --git a/ui/src/pages/Info/Mimetype/utils/types.ts b/ui/src/pages/Information/Mimetype/utils/types.ts similarity index 100% rename from ui/src/pages/Info/Mimetype/utils/types.ts rename to ui/src/pages/Information/Mimetype/utils/types.ts diff --git a/ui/src/pages/pages.ts b/ui/src/pages/pages.ts index fd77ff5c..d92cf733 100644 --- a/ui/src/pages/pages.ts +++ b/ui/src/pages/pages.ts @@ -45,7 +45,7 @@ const TableOfContent = lazy(() => import("pages/Markdown/TableOfContent")); const TextEditor = lazy(() => import("pages/Text/TextEditor")); -const Mimetype = lazy(() => import("pages/Info/Mimetype")); +const Mimetype = lazy(() => import("pages/Information/Mimetype")); export { About,