+
+
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/shared/FloatLabelInput.tsx b/src/components/shared/FloatLabelInput.tsx
new file mode 100644
index 0000000..a512bd3
--- /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:()=>void
+}
+
+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 4f733f4..3b0f127 100644
--- a/src/components/shared/index.ts
+++ b/src/components/shared/index.ts
@@ -1,3 +1,4 @@
import Button from "./Button";
+import FloatLabelInput from "./FloatLabelInput";
-export {Button}
\ No newline at end of file
+export {Button, FloatLabelInput}
\ No newline at end of file
diff --git a/src/pages/DashboardLegals.tsx b/src/pages/DashboardLegals.tsx
new file mode 100644
index 0000000..b3a33c8
--- /dev/null
+++ b/src/pages/DashboardLegals.tsx
@@ -0,0 +1,5 @@
+export default function DashboardLegals() {
+ return (
+
DashboardLegals
+ )
+}
diff --git a/src/pages/DashboardPayments.tsx b/src/pages/DashboardPayments.tsx
new file mode 100644
index 0000000..2a345c3
--- /dev/null
+++ b/src/pages/DashboardPayments.tsx
@@ -0,0 +1,5 @@
+export default function Dashboardpayments() {
+ return (
+
Dashboardpayments
+ )
+}
diff --git a/src/pages/DashboardProfile.tsx b/src/pages/DashboardProfile.tsx
new file mode 100644
index 0000000..06e19b2
--- /dev/null
+++ b/src/pages/DashboardProfile.tsx
@@ -0,0 +1,5 @@
+export default function DashboardProfile() {
+ return (
+
DashboardProfile
+ )
+}
diff --git a/src/pages/DashboardVerification.tsx b/src/pages/DashboardVerification.tsx
new file mode 100644
index 0000000..a5f5c55
--- /dev/null
+++ b/src/pages/DashboardVerification.tsx
@@ -0,0 +1,5 @@
+export default function DashboardVerification() {
+ return (
+
DashboardVerification
+ )
+}
diff --git a/src/pages/index.ts b/src/pages/index.ts
index 193e2c2..512317e 100644
--- a/src/pages/index.ts
+++ b/src/pages/index.ts
@@ -2,5 +2,9 @@ import HomePage from "./HomePage";
import LoginPage from "./LoginPage";
import GetStartedPage from "./GetStartedPage";
import DashboardHome from "./DashboardHome";
+import DashboardLegals from "./DashboardLegals";
+import DashboardProfile from "./DashboardProfile";
+import DashboardVerification from "./DashboardVerification";
+import Dashboardpayments from "./DashboardPayments";
-export {HomePage, LoginPage, GetStartedPage, DashboardHome}
\ No newline at end of file
+export {HomePage, LoginPage, GetStartedPage, DashboardHome, DashboardLegals, DashboardProfile, DashboardVerification, Dashboardpayments}
\ No newline at end of file
diff --git a/src/router/Router.tsx b/src/router/Router.tsx
index 2ca4c52..f6c977b 100644
--- a/src/router/Router.tsx
+++ b/src/router/Router.tsx
@@ -1,6 +1,6 @@
import { Route, Routes } from "react-router-dom";
import { RouteHandler } from "./routes";
-import { GetStartedPage, HomePage, LoginPage, DashboardHome } from "../pages";
+import { GetStartedPage, HomePage, LoginPage, DashboardHome, DashboardLegals, DashboardProfile, DashboardVerification, Dashboardpayments } from "../pages";
import { DashboardAuth } from "../components";
const Routers = () => {
@@ -11,6 +11,10 @@ const Routers = () => {
} />
}>
} />
+
} />
+
} />
+
} />
+
} />
Error Page>} />
diff --git a/src/router/routes.tsx b/src/router/routes.tsx
index f681ca2..af17bd3 100644
--- a/src/router/routes.tsx
+++ b/src/router/routes.tsx
@@ -3,4 +3,8 @@ export class RouteHandler {
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