diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx new file mode 100644 index 0000000..287073b --- /dev/null +++ b/src/components/Footer/Footer.tsx @@ -0,0 +1,30 @@ +import React from 'react' +import { Link } from 'react-router-dom' + +import FBook from '../../assets/icons/facebook.svg' +import Twitter from '../../assets/icons/twitter.svg' +import Instagram from '../../assets/icons/instagram.svg' + +export default function Footer() { + + let socialsIcons = [ + {name: 'facebook', image: FBook}, + {name: 'twitter', image: Twitter}, + {name: 'instagram', image: Instagram}, + ] + + return ( +
+
+

{new Date().getFullYear()} @ First City Monument Bank Limited

+
+ {socialsIcons.map((icon, index)=>( + + {icon.name} + + ))} +
+
+
+ ) +} diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx new file mode 100644 index 0000000..d66565b --- /dev/null +++ b/src/components/Footer/index.tsx @@ -0,0 +1,3 @@ +import Footer from "./Footer"; + +export { Footer }; \ No newline at end of file diff --git a/src/components/Login/Login.tsx b/src/components/Login/Login.tsx new file mode 100644 index 0000000..52381d5 --- /dev/null +++ b/src/components/Login/Login.tsx @@ -0,0 +1,77 @@ +import { Button, Footer } from '../../components' +import { Link } from 'react-router-dom' + +export default function Login() { + return ( +
+
+
+
+
+
+

Welcome!

+

Please login to admin dashboard

+
+ +
+ {/* INPUTS */} + {/* THIS INPUTS WILL BE MADE A COMPONENT LATER, TO AVOID REPEATINGS THINGS */} +
+
+ + +
+
+ + +
+
+ +
+
+
+
+
+
+
+ + {/* FOOTER SECTION */} +
+
+
+ ) +} diff --git a/src/components/index.ts b/src/components/index.ts index 0fa9368..b341d21 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -1,3 +1,4 @@ export * from "./Header" export * from "./Hero" -export * from "./shared" \ No newline at end of file +export * from "./shared" +export * from "./Footer" \ No newline at end of file diff --git a/src/pages/LoginPage.tsx b/src/pages/LoginPage.tsx new file mode 100644 index 0000000..f8b422e --- /dev/null +++ b/src/pages/LoginPage.tsx @@ -0,0 +1,9 @@ +import Login from '../components/Login/Login' + +export default function LoginPage() { + return ( + <> + + + ) +} diff --git a/src/pages/index.ts b/src/pages/index.ts index 19e8427..4bda6d1 100644 --- a/src/pages/index.ts +++ b/src/pages/index.ts @@ -1,3 +1,4 @@ import HomePage from "./HomePage"; +import LoginPage from "./LoginPage"; -export {HomePage} \ No newline at end of file +export {HomePage, LoginPage} \ No newline at end of file diff --git a/src/router/Router.tsx b/src/router/Router.tsx index e05442a..d8809a8 100644 --- a/src/router/Router.tsx +++ b/src/router/Router.tsx @@ -1,11 +1,12 @@ import { Route, Routes } from "react-router-dom"; import { RouteHandler } from "./routes"; -import { HomePage } from "../pages"; +import { HomePage, LoginPage } from "../pages"; const Routers = () => { return ( } /> + } /> ); }; diff --git a/src/router/routes.tsx b/src/router/routes.tsx index 5c881bc..0f8f08d 100644 --- a/src/router/routes.tsx +++ b/src/router/routes.tsx @@ -1,3 +1,4 @@ export class RouteHandler { static homepage = "/" + static loginpage = '/login' } \ No newline at end of file