aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ChatBox/ProgressBar.tsx
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2024-09-02 14:44:29 -0400
committerA.J. Shulman <Shulman.aj@gmail.com>2024-09-02 14:44:29 -0400
commit785e55141cab178a761080f5c99384bb19855969 (patch)
treed9020633467afd0c88371a6269559fb8f784a00b /src/client/views/nodes/ChatBox/ProgressBar.tsx
parent9983e5602ce18d771180b5c28d0ef78c71ef89e3 (diff)
made the progress cooler (double bounce)
Diffstat (limited to 'src/client/views/nodes/ChatBox/ProgressBar.tsx')
-rw-r--r--src/client/views/nodes/ChatBox/ProgressBar.tsx18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/client/views/nodes/ChatBox/ProgressBar.tsx b/src/client/views/nodes/ChatBox/ProgressBar.tsx
index 765ddbef5..0aa07213f 100644
--- a/src/client/views/nodes/ChatBox/ProgressBar.tsx
+++ b/src/client/views/nodes/ChatBox/ProgressBar.tsx
@@ -1,17 +1,13 @@
import React from 'react';
-import './ProgressBar.scss'; // Create this CSS file for styling
+import './ProgressBar.scss';
-interface ProgressBarProps {
- progress: number;
-}
-
-export const ProgressBar: React.FC<ProgressBarProps> = ({ progress }) => {
+export const ProgressBar: React.FC = () => {
return (
- <div className="progress-circle">
- <svg className="progress-ring" width="120" height="120">
- <circle className="progress-ring__circle" stroke="currentColor" strokeWidth="4" fill="transparent" r="56" cx="60" cy="60" style={{ strokeDasharray: 352, strokeDashoffset: 352 - (progress / 100) * 352 }} />
- </svg>
- <div className="progress-text">{Math.round(progress)}%</div>
+ <div className="spinner-container">
+ <div className="spinner">
+ <div className="double-bounce1"></div>
+ <div className="double-bounce2"></div>
+ </div>
</div>
);
};