diff --git a/.env b/.env index 2b5b434..a0b511c 100644 --- a/.env +++ b/.env @@ -1,7 +1,8 @@ +VITE_BASE_URI="https://glider-precious-similarly.ngrok-free.app" # VITE_BASE_URI="https://wired-terminally-muskrat.ngrok-free.app" # VITE_BASE_URI="https://officially-powerful-goat.ngrok-free.app" # VITE_BASE_URI="https://python-amused-adder.ngrok-free.app" -VITE_BASE_URI="https://concrete-gladly-mullet.ngrok-free.app" +# VITE_BASE_URI="https://concrete-gladly-mullet.ngrok-free.app" # VITE_BASE_URI="http://192.168.2.176:8083" \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 3c842d6..8112863 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,9 @@ "name": "sme-web", "version": "0.0.0", "dependencies": { + "@dnd-kit/core": "^6.3.1", + "@dnd-kit/modifiers": "^9.0.0", + "@dnd-kit/sortable": "^10.0.0", "@mdx-js/react": "^3.1.0", "@react-oauth/google": "^0.12.1", "@reduxjs/toolkit": "^2.5.1", @@ -355,6 +358,103 @@ "node": ">=6.9.0" } }, + "node_modules/@dnd-kit/accessibility": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@dnd-kit/accessibility/-/accessibility-3.1.1.tgz", + "integrity": "sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/@dnd-kit/accessibility/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/@dnd-kit/core": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@dnd-kit/core/-/core-6.3.1.tgz", + "integrity": "sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ==", + "license": "MIT", + "dependencies": { + "@dnd-kit/accessibility": "^3.1.1", + "@dnd-kit/utilities": "^3.2.2", + "tslib": "^2.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0", + "react-dom": ">=16.8.0" + } + }, + "node_modules/@dnd-kit/core/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/@dnd-kit/modifiers": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@dnd-kit/modifiers/-/modifiers-9.0.0.tgz", + "integrity": "sha512-ybiLc66qRGuZoC20wdSSG6pDXFikui/dCNGthxv4Ndy8ylErY0N3KVxY2bgo7AWwIbxDmXDg3ylAFmnrjcbVvw==", + "license": "MIT", + "dependencies": { + "@dnd-kit/utilities": "^3.2.2", + "tslib": "^2.0.0" + }, + "peerDependencies": { + "@dnd-kit/core": "^6.3.0", + "react": ">=16.8.0" + } + }, + "node_modules/@dnd-kit/modifiers/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/@dnd-kit/sortable": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@dnd-kit/sortable/-/sortable-10.0.0.tgz", + "integrity": "sha512-+xqhmIIzvAYMGfBYYnbKuNicfSsk4RksY2XdmJhT+HAC01nix6fHCztU68jooFiMUB01Ky3F0FyOvhG/BZrWkg==", + "license": "MIT", + "dependencies": { + "@dnd-kit/utilities": "^3.2.2", + "tslib": "^2.0.0" + }, + "peerDependencies": { + "@dnd-kit/core": "^6.3.0", + "react": ">=16.8.0" + } + }, + "node_modules/@dnd-kit/sortable/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/@dnd-kit/utilities": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@dnd-kit/utilities/-/utilities-3.2.2.tgz", + "integrity": "sha512-+MKAJEOfaBe5SmV6t34p80MMKhjvUz0vRrvVJbPT0WElzaOJ/1xs+D+KDv+tD/NE5ujfrChEcshd4fLn0wpiqg==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.0" + }, + "peerDependencies": { + "react": ">=16.8.0" + } + }, + "node_modules/@dnd-kit/utilities/node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, "node_modules/@esbuild/aix-ppc64": { "version": "0.25.5", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.5.tgz", diff --git a/package.json b/package.json index 020c2a9..7ccbdcd 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,9 @@ "preview": "vite preview" }, "dependencies": { + "@dnd-kit/core": "^6.3.1", + "@dnd-kit/modifiers": "^9.0.0", + "@dnd-kit/sortable": "^10.0.0", "@mdx-js/react": "^3.1.0", "@react-oauth/google": "^0.12.1", "@reduxjs/toolkit": "^2.5.1", diff --git a/public/completion-bg.png b/public/completion-bg.png new file mode 100644 index 0000000..b6d273d Binary files /dev/null and b/public/completion-bg.png differ diff --git a/public/completion-screen-1.png b/public/completion-screen-1.png new file mode 100644 index 0000000..382e58d Binary files /dev/null and b/public/completion-screen-1.png differ diff --git a/public/completion-screen-2.png b/public/completion-screen-2.png new file mode 100644 index 0000000..0978ec1 Binary files /dev/null and b/public/completion-screen-2.png differ diff --git a/public/completion-screen-frame-1.png b/public/completion-screen-frame-1.png new file mode 100644 index 0000000..5cea8d6 Binary files /dev/null and b/public/completion-screen-frame-1.png differ diff --git a/public/docs-made-easy.png b/public/docs-made-easy.png new file mode 100644 index 0000000..c6f6a3a Binary files /dev/null and b/public/docs-made-easy.png differ diff --git a/public/forms-made-easy.png b/public/forms-made-easy.png new file mode 100644 index 0000000..59545a1 Binary files /dev/null and b/public/forms-made-easy.png differ diff --git a/public/sme-white.png b/public/sme-white.png new file mode 100644 index 0000000..22265eb Binary files /dev/null and b/public/sme-white.png differ diff --git a/src/App.tsx b/src/App.tsx index 37da9ac..38d1023 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -23,6 +23,7 @@ import DocumentCompletionScreen from "./components/process/CompletionScreen/Docu import JoyrideController from "./utlity/JoyRideTour"; import Contacts from "./components/contacts/Contacts"; import TransactionSentSuccess from "./components/process/CompletionScreen/TransactionSentSuccess"; +import CompletionScreen from "./components/client/CompletionScreen"; const App = () => { return ( @@ -97,6 +98,10 @@ const App = () => { } /> + + } /> + {/* Links work wothout Login */} } /> } /> diff --git a/src/components/CommonNav.tsx b/src/components/CommonNav.tsx index 41f0b44..d11c800 100644 --- a/src/components/CommonNav.tsx +++ b/src/components/CommonNav.tsx @@ -5,6 +5,7 @@ import api from '../config/api'; import { IoSettings, IoSettingsOutline } from 'react-icons/io5'; import { useSelector } from 'react-redux'; import { RootState } from '../store/store'; +import { GoBell } from 'react-icons/go'; interface AccountNavProps { accountName?: string | null; @@ -86,10 +87,10 @@ const CommonNav: React.FC = ({ } useEffect(() => { - if(initial !== "") return + if (initial !== "") return console.log(userDetailsAsync, 'line 89') let initialN = (userDetailsAsync.firstName && userDetailsAsync.firstName[0]) - initialN = initialN+""+(userDetailsAsync.lastName && userDetailsAsync.lastName[0]) + initialN = initialN + "" + (userDetailsAsync.lastName && userDetailsAsync.lastName[0]) setInitial(initialN) }, [userDetailsAsync]) @@ -335,7 +336,7 @@ const CommonNav: React.FC = ({ {/* Breadcrumb Navigation */}