diff --git a/frontend/src/App.js b/frontend/src/App.js index eb5b42d..dd3d19d 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -1,73 +1,74 @@ -import './input.css' -import { - createBrowserRouter, - RouterProvider, -} from "react-router-dom"; -import Home from './pages/Home'; -import Service from './pages/Service'; -import Login,{action as LoginAction}from './pages/Login'; -import Signup,{action as SignupAction} from './pages/Signup'; -import HomeChat from './pages/HomeChat'; -import Info from './pages/Info'; -import Settings from './pages/Settings'; - -import Root,{loader as loadingAction} from './pages/Root'; -import Search from './pages/Search'; +import "./input.css"; +import { createBrowserRouter, RouterProvider } from "react-router-dom"; +import Home from "./pages/Home"; +import Service from "./pages/Service"; +import Login, { action as LoginAction } from "./pages/Login"; +import Signup, { action as SignupAction } from "./pages/Signup"; +import HomeChat from "./pages/HomeChat"; +import Info from "./pages/Info"; +import Settings from "./pages/Settings"; +import Root, { loader as loadingAction } from "./pages/Root"; +import Search from "./pages/Search"; +import Footer from "./components/FooterComponent/Footer"; const router = createBrowserRouter([ { path: "/", - element: , + // element: , + element: ( +
+ +
+ ), }, { - path:'service', - element: + path: "service", + element: , }, { - path:'login', - element:, - action:LoginAction + path: "login", + element: , + action: LoginAction, }, { - path:'signup', - element:, - action:SignupAction + path: "signup", + element: , + action: SignupAction, }, { - path:'home', - element:, - loader:loadingAction, - children:[ + path: "home", + element: , + loader: loadingAction, + children: [ { - path:'message', - element: + path: "message", + element: , }, { - path:'dashboard', - element: + path: "dashboard", + element: , }, { - path:"settings", - element: + path: "settings", + element: , }, { - path:"search", - element: - } - ] - - } + path: "search", + element: , + }, + ], + }, ]); function App() { - return (); + return ; } export default App; - -///todo +///todo //messages not incoming when ad is showw //responsiveness //loading spinner -// \ No newline at end of file +// diff --git a/frontend/src/components/FooterComponent/Footer.js b/frontend/src/components/FooterComponent/Footer.js new file mode 100644 index 0000000..7020769 --- /dev/null +++ b/frontend/src/components/FooterComponent/Footer.js @@ -0,0 +1,115 @@ +import React from "react"; +import logo from "../../assets/images/logo-large.png"; +import { FaInstagram, FaTwitter, FaFacebook, FaLinkedin } from "react-icons/fa"; + +const Footer = () => { + return ( +
+
+
+
+ +
+
+
+

Chat App

+ +
+
+

Legal

+ +
+
+

Follow Us

+ +
+
+
+
+
+ © 2024 ChatBox Inc. All rights reserved. +
+ +
+
+
+ ); +}; + +export default Footer;