+
+
Welcome!
-
Please login to admin dashboard
+
Please login to admin dashboard
{/* INPUTS */}
- {/* THIS INPUTS WILL BE MADE A COMPONENT LATER, TO AVOID REPEATINGS THINGS */}
- Forget your password
+ Forget your password?
@@ -69,7 +76,7 @@ export default function Login() {
{/* FOOTER SECTION */}
-
diff --git a/src/components/index.ts b/src/components/index.ts
index dce8731..c5a1cd8 100644
--- a/src/components/index.ts
+++ b/src/components/index.ts
@@ -1,5 +1,9 @@
-export * from "./Header"
-export * from "./Home"
-export * from "./GetStarted"
-export * from "./shared"
-export * from "./Footer"
\ No newline at end of file
+export * from "./Header";
+export * from "./Home";
+export * from "./GetStarted";
+export * from "./shared";
+export * from "./Footer";
+export * from "./DashboardLayout";
+export * from "./Icons";
+export * from './Dashboard'
+export * from './Cards'
diff --git a/src/components/shared/FloatLabelInput.tsx b/src/components/shared/FloatLabelInput.tsx
new file mode 100644
index 0000000..6ef36ad
--- /dev/null
+++ b/src/components/shared/FloatLabelInput.tsx
@@ -0,0 +1,42 @@
+
+type Props = {
+ id?:string,
+ name?:string,
+ type?:string,
+ placeHolder?:string,
+ labelName?:string,
+ inputClass?:string,
+ value:string,
+ onChange:(event?: any)=>any
+}
+
+export default function FloatLabelInput({
+ id,
+ name,
+ type,
+ placeHolder,
+ labelName,
+ value,
+ inputClass,
+ onChange
+}:Props) {
+ return (
+
+
+
+
+ )
+}
diff --git a/src/components/shared/index.ts b/src/components/shared/index.ts
index 750e379..19fca11 100644
--- a/src/components/shared/index.ts
+++ b/src/components/shared/index.ts
@@ -1,4 +1,5 @@
import Button from "./Button";
import InputCompOne from "./InputCompOne";
+import FloatLabelInput from "./FloatLabelInput";
-export {Button, InputCompOne}
\ No newline at end of file
+export { Button, FloatLabelInput, InputCompOne };
diff --git a/src/index.css b/src/index.css
index 8d31b54..296583e 100644
--- a/src/index.css
+++ b/src/index.css
@@ -16,4 +16,7 @@ body {
.containerMode {
@apply container mx-auto px-5 xxs:max-w-full sm:max-w-[98%] lg:max-w-[1100px];
}
+ .dash-bg-image{
+ background: url('../src/assets/images/dashboard/bg_ellipse1.png') right top no-repeat, url('../src/assets/images/dashboard/bg_ellipse2.png') -8% bottom no-repeat;;
+ }
}
\ No newline at end of file
diff --git a/src/pages/DashboardHomePage.tsx b/src/pages/DashboardHomePage.tsx
new file mode 100644
index 0000000..7b02b80
--- /dev/null
+++ b/src/pages/DashboardHomePage.tsx
@@ -0,0 +1,9 @@
+import { DashboardHome } from "../components"
+
+export default function DashboardHomePage() {
+ return (
+
+
+
+ )
+}
diff --git a/src/pages/DashboardLegalsPage.tsx b/src/pages/DashboardLegalsPage.tsx
new file mode 100644
index 0000000..5101c4f
--- /dev/null
+++ b/src/pages/DashboardLegalsPage.tsx
@@ -0,0 +1,5 @@
+export default function DashboardLegalsPage() {
+ return (
+
DashboardLegals
+ )
+}
diff --git a/src/pages/DashboardPaymentsPage.tsx b/src/pages/DashboardPaymentsPage.tsx
new file mode 100644
index 0000000..52e80af
--- /dev/null
+++ b/src/pages/DashboardPaymentsPage.tsx
@@ -0,0 +1,5 @@
+export default function DashboardpaymentsPage() {
+ return (
+
Dashboardpayments
+ )
+}
diff --git a/src/pages/DashboardProfilePage.tsx b/src/pages/DashboardProfilePage.tsx
new file mode 100644
index 0000000..cf2ae24
--- /dev/null
+++ b/src/pages/DashboardProfilePage.tsx
@@ -0,0 +1,5 @@
+export default function DashboardProfilePage() {
+ return (
+
DashboardProfile
+ )
+}
diff --git a/src/pages/DashboardVerificationPage.tsx b/src/pages/DashboardVerificationPage.tsx
new file mode 100644
index 0000000..65b9262
--- /dev/null
+++ b/src/pages/DashboardVerificationPage.tsx
@@ -0,0 +1,5 @@
+export default function DashboardVerificationPage() {
+ return (
+
DashboardVerification
+ )
+}
diff --git a/src/pages/index.ts b/src/pages/index.ts
index 0b20d2c..10a23d4 100644
--- a/src/pages/index.ts
+++ b/src/pages/index.ts
@@ -1,5 +1,19 @@
import HomePage from "./HomePage";
import LoginPage from "./LoginPage";
import GetStartedPage from "./GetStartedPage";
+import DashboardHomePage from "./DashboardHomePage";
+import DashboardLegalsPage from "./DashboardLegalsPage";
+import DashboardProfilePage from "./DashboardProfilePage";
+import DashboardVerificationPage from "./DashboardVerificationPage";
+import DashboardpaymentsPage from "./DashboardPaymentsPage";
-export {HomePage, LoginPage, GetStartedPage}
\ No newline at end of file
+export {
+ HomePage,
+ LoginPage,
+ GetStartedPage,
+ DashboardHomePage,
+ DashboardLegalsPage,
+ DashboardProfilePage,
+ DashboardVerificationPage,
+ DashboardpaymentsPage,
+};
diff --git a/src/router/Router.tsx b/src/router/Router.tsx
index 65df52d..3cbe20f 100644
--- a/src/router/Router.tsx
+++ b/src/router/Router.tsx
@@ -1,6 +1,7 @@
import { Route, Routes } from "react-router-dom";
import { RouteHandler } from "./routes";
-import { GetStartedPage, HomePage, LoginPage } from "../pages";
+import { GetStartedPage, HomePage, LoginPage, DashboardHomePage, DashboardLegalsPage, DashboardProfilePage, DashboardVerificationPage, DashboardpaymentsPage } from "../pages";
+import { DashboardAuth } from "../components";
const Routers = () => {
return (
@@ -8,6 +9,14 @@ const Routers = () => {
} />
} />
} />
+
}>
+
} />
+
} />
+
} />
+
} />
+
} />
+
+
Error Page>} />
);
};
diff --git a/src/router/routes.tsx b/src/router/routes.tsx
index 982a507..af17bd3 100644
--- a/src/router/routes.tsx
+++ b/src/router/routes.tsx
@@ -2,4 +2,9 @@ export class RouteHandler {
static homepage = "/"
static loginpage = '/login'
static getStarted = "/get-started"
+ static dashboardHome = '/dashboard/home'
+ static dashboardProfile = '/dashboard/profile'
+ static dashboardVerification = '/dashboard/verification'
+ static dashboardPayments = '/dashboard/payments'
+ static dashboardLegals = '/dashboard/legals'
}
\ No newline at end of file