From dcca6db7e606db63a698cb15d41ae03d2b32c0d8 Mon Sep 17 00:00:00 2001 From: louiscklaw Date: Mon, 14 Apr 2025 09:56:39 +0800 Subject: [PATCH] build ok, --- .../cms/src/components/loading/index.tsx | 43 +++++++++++++++++++ .../cms/src/components/loading/main.svg | 17 ++++++++ 2 files changed, 60 insertions(+) create mode 100644 002_source/cms/src/components/loading/index.tsx create mode 100644 002_source/cms/src/components/loading/main.svg diff --git a/002_source/cms/src/components/loading/index.tsx b/002_source/cms/src/components/loading/index.tsx new file mode 100644 index 0000000..219a67e --- /dev/null +++ b/002_source/cms/src/components/loading/index.tsx @@ -0,0 +1,43 @@ +'use client'; + +import React from 'react'; +import { Box } from '@mui/system'; +import { useTranslation } from 'next-i18next'; +import { PulseLoader } from 'react-spinners'; + +function Loading(): React.JSX.Element { + const { t } = useTranslation(); + + return ( +
+ +
{t('loading')}
+
+ ); +} + +export default function FormLoading(): React.JSX.Element { + const { t } = useTranslation(); + + return ( + + + + ); +} diff --git a/002_source/cms/src/components/loading/main.svg b/002_source/cms/src/components/loading/main.svg new file mode 100644 index 0000000..9f8d228 --- /dev/null +++ b/002_source/cms/src/components/loading/main.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + +