diff --git a/packages/frontend/package.json b/packages/frontend/package.json
index 684eea87..545500ea 100644
--- a/packages/frontend/package.json
+++ b/packages/frontend/package.json
@@ -17,6 +17,7 @@
"react-dom": "^18.2.0",
"react-dropdown": "^1.11.0",
"react-hook-form": "^7.49.0",
+ "react-hot-toast": "^2.4.1",
"react-router-dom": "^6.20.1",
"react-scripts": "5.0.1",
"react-tabs": "^6.0.2",
diff --git a/packages/frontend/src/assets/process-logs.json b/packages/frontend/src/assets/process-logs.json
new file mode 100644
index 00000000..34c7e24b
--- /dev/null
+++ b/packages/frontend/src/assets/process-logs.json
@@ -0,0 +1,30 @@
+[
+ "[20:50:03.502] Running build in Washington, D.C., USA (East) – iad1",
+ "[20:50:03.641] Cloning github.com/saugatyadav11/nextjs2 (Branch: main, Commit: 4a5f47f)",
+ "[20:50:04.004] Previous build cache not available",
+ "[20:50:04.118] Cloning completed: 480.574ms",
+ "[20:50:04.382] Running 'vercel build'",
+ "[20:50:04.879] Vercel CLI 32.7.1",
+ "[20:50:05.289] Installing dependencies...",
+ "[20:50:16.267] added 333 packages in 10s",
+ "[20:50:16.268] 117 packages are looking for funding",
+ "[20:50:16.268] run 'npm fund' for details",
+ "[20:50:16.293] Detected Next.js version: 14.0.4",
+ "[20:50:16.296] Detected 'package-lock.json' generated by npm 7+",
+ "[20:50:16.297] Running 'npm run build'",
+ "[20:50:16.937] > nextjs@0.1.0 build",
+ "[20:50:16.938] > next build",
+ "[20:50:17.529] Attention: Next.js now collects completely anonymous telemetry regarding usage.",
+ "[20:50:17.530] This information is used to shape Next.js' roadmap and prioritize features.",
+ "[20:50:17.530] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:",
+ "[20:50:17.530] https://nextjs.org/telemetry",
+ "[20:50:17.627] ▲ Next.js 14.0.4",
+ "[20:50:17.628] Creating an optimized production build ...",
+ "[20:50:25.681] ✓ Compiled successfully",
+ "[20:50:25.682] Linting and checking validity of types ...",
+ "[20:50:29.584] Collecting page data ...",
+ "[20:50:30.505] Generating static pages (0/5) ...",
+ "[20:50:30.703] Generating static pages (1/5)",
+ "[20:50:30.704] Generating static pages (2/5)",
+ "[20:50:30.734] Generating static pages (3/5)"
+]
diff --git a/packages/frontend/src/components/HorizontalLine.tsx b/packages/frontend/src/components/HorizontalLine.tsx
index 204d8b03..4d6a864f 100644
--- a/packages/frontend/src/components/HorizontalLine.tsx
+++ b/packages/frontend/src/components/HorizontalLine.tsx
@@ -1,7 +1,7 @@
import React from 'react';
const HorizontalLine = () => {
- return
;
+ return ;
};
export default HorizontalLine;
diff --git a/packages/frontend/src/components/projects/create/template/deploy/DeployStep.tsx b/packages/frontend/src/components/projects/create/template/deploy/DeployStep.tsx
index 82385cbb..7738b36e 100644
--- a/packages/frontend/src/components/projects/create/template/deploy/DeployStep.tsx
+++ b/packages/frontend/src/components/projects/create/template/deploy/DeployStep.tsx
@@ -1,13 +1,11 @@
import React, { useState } from 'react';
+import toast, { Toaster } from 'react-hot-toast';
+
+import { Collapse, Button } from '@material-tailwind/react';
import { Stopwatch, setStopWatchOffset } from '../../../../StopWatch';
import FormatMillisecond from '../../../../FormatMilliSecond';
-
-const PROCESS_LOGS = [
- 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.',
- 'Lorem Ipsum has been the industrys standard dummy text ever since the 1500s.',
- 'When an unknown printer took a galley of type and scrambled it to make a type specimen book.',
-];
+import processLogs from '../../../../../assets/process-logs.json';
enum DeployStatus {
PROCESSING = 'progress',
@@ -33,8 +31,8 @@ const DeployStep = ({
const [collapse, setCollapse] = useState(false);
return (
- <>
-