diff --git a/client/src/components/Artifacts/Artifacts.tsx b/client/src/components/Artifacts/Artifacts.tsx index 79cc6d9001..d5778ce571 100644 --- a/client/src/components/Artifacts/Artifacts.tsx +++ b/client/src/components/Artifacts/Artifacts.tsx @@ -77,132 +77,123 @@ export default function Artifacts() { } return ( -
-
- {/* Header */} -
-
- -

- {currentArtifact.title} -

-
-
-
- -
+
+ + + Preview + + + Code + + +
-
-
- {/* Content */} -
- {activeTab === 'code' ? ( + {/* Content */} +
               {currentArtifact.content}
             
- ) : ( +
+ - )} -
+ - {/* Footer */} -
-
- - Last edited 7 hours ago - -
-
- - - + {/* Footer */} +
+
+ + {`${currentArtifactIndex + 1} / ${ + artifactIds.length + }`} + +
+
+ + + +
-
+ ); }