Spaces:
Runtime error
Runtime error
Julian Bilcke commited on
Commit ·
affe711
1
Parent(s): fd2aa6b
up update
Browse files
src/app/interface/dialogue/index.tsx
CHANGED
|
@@ -11,7 +11,7 @@ export function Dialogue({ children, className = "", isLoading }: {
|
|
| 11 |
className={cn(
|
| 12 |
`fixed left-6 max-w-[60%]`,
|
| 13 |
`transition-all duration-300`,
|
| 14 |
-
`text-xl rounded-2xl backdrop-blur-xl bg-stone-
|
| 15 |
className
|
| 16 |
)}
|
| 17 |
style={{
|
|
|
|
| 11 |
className={cn(
|
| 12 |
`fixed left-6 max-w-[60%]`,
|
| 13 |
`transition-all duration-300`,
|
| 14 |
+
`text-xl rounded-2xl backdrop-blur-xl bg-stone-700/40 dark:bg-stone-700/40 p-4 text-gray-50 dark:text-gray-50`,
|
| 15 |
className
|
| 16 |
)}
|
| 17 |
style={{
|
src/app/interface/progress/index.tsx
CHANGED
|
@@ -43,14 +43,14 @@ export function Progress({
|
|
| 43 |
|
| 44 |
return (
|
| 45 |
<div className={cn(
|
| 46 |
-
`fixed flex w-
|
| 47 |
-
`animation-all duration-300`,
|
| 48 |
isLoading
|
| 49 |
? `scale-100 opacity-100`
|
| 50 |
: `scale-0 opacity-0`,
|
| 51 |
className
|
| 52 |
)}>
|
| 53 |
-
<ProgressBar
|
| 54 |
</div>
|
| 55 |
)
|
| 56 |
}
|
|
|
|
| 43 |
|
| 44 |
return (
|
| 45 |
<div className={cn(
|
| 46 |
+
`fixed flex w-10 h-10 top-16 right-6 z-50`,
|
| 47 |
+
`animation-all duration-300 text-md`,
|
| 48 |
isLoading
|
| 49 |
? `scale-100 opacity-100`
|
| 50 |
: `scale-0 opacity-0`,
|
| 51 |
className
|
| 52 |
)}>
|
| 53 |
+
<ProgressBar progressPercentage={progressPercent} />
|
| 54 |
</div>
|
| 55 |
)
|
| 56 |
}
|
src/app/interface/progress/progress-bar.tsx
CHANGED
|
@@ -23,7 +23,7 @@ export function ProgressBar ({
|
|
| 23 |
text={text || ""}
|
| 24 |
|
| 25 |
// Width of circular line relative to total width of component, a value from 0-100. Default: 8.
|
| 26 |
-
strokeWidth={
|
| 27 |
|
| 28 |
|
| 29 |
// As a convenience, you can use buildStyles to configure the most common style changes:
|
|
@@ -36,10 +36,10 @@ export function ProgressBar ({
|
|
| 36 |
strokeLinecap: 'round',
|
| 37 |
|
| 38 |
// Text size
|
| 39 |
-
textSize: '
|
| 40 |
|
| 41 |
// How long animation takes to go from one percentage to another, in seconds
|
| 42 |
-
pathTransitionDuration: 0.
|
| 43 |
|
| 44 |
// Can specify path transition in more detail, or remove it entirely
|
| 45 |
// pathTransition: 'none',
|
|
|
|
| 23 |
text={text || ""}
|
| 24 |
|
| 25 |
// Width of circular line relative to total width of component, a value from 0-100. Default: 8.
|
| 26 |
+
strokeWidth={8}
|
| 27 |
|
| 28 |
|
| 29 |
// As a convenience, you can use buildStyles to configure the most common style changes:
|
|
|
|
| 36 |
strokeLinecap: 'round',
|
| 37 |
|
| 38 |
// Text size
|
| 39 |
+
textSize: '20px',
|
| 40 |
|
| 41 |
// How long animation takes to go from one percentage to another, in seconds
|
| 42 |
+
pathTransitionDuration: 0.1,
|
| 43 |
|
| 44 |
// Can specify path transition in more detail, or remove it entirely
|
| 45 |
// pathTransition: 'none',
|