From c8a34f2b3d2149176e5b481f4404e02056fc3c87 Mon Sep 17 00:00:00 2001 From: RameezIbrahimOfficial Date: Tue, 15 Oct 2024 13:45:18 +0530 Subject: [PATCH] 1. Added Footer Component 2. Added Privacy Policy Pages 3. In Footer Page Option to View Privacy Policy 4. Fixed Bug on View Profiles --- src/App.jsx | 6 +- src/Components/Footer/Footer.css | 32 ++++++ src/Components/{ => Footer}/Footer.jsx | 43 ++++---- .../Privacy Policy/PrivacyPolicy.css | 21 ++++ .../Privacy Policy/PrivacyPolicy.jsx | 100 ++++++++++++++++++ src/Components/PrivacyPolicy.jsx | 65 ------------ src/Pages/ViewProfile.jsx | 54 ++++++---- 7 files changed, 212 insertions(+), 109 deletions(-) create mode 100644 src/Components/Footer/Footer.css rename src/Components/{ => Footer}/Footer.jsx (58%) create mode 100644 src/Components/Privacy Policy/PrivacyPolicy.css create mode 100644 src/Components/Privacy Policy/PrivacyPolicy.jsx delete mode 100644 src/Components/PrivacyPolicy.jsx diff --git a/src/App.jsx b/src/App.jsx index a5869b6..4955aaf 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -7,8 +7,8 @@ import Profiler from './Pages/Profiler'; import ViewProfiles from './Pages/ViewProfile'; import EditProfile from './Pages/EditProfile'; import Navbar from './Components/Navbar'; -import Footer from './Components/Footer'; -import PrivacyPolicy from './Components/PrivacyPolicy'; +import Footer from './Components/Footer/Footer'; +import PrivacyPolicy from './Components/Privacy Policy/PrivacyPolicy'; const App = () => { const [loggedInUser, setLoggedInUser] = useState(null); @@ -38,7 +38,7 @@ const App = () => { }; const Home = () => { - return

Welcome to the Home Page

; + return

Welcome to the Home Page

; }; export default App; diff --git a/src/Components/Footer/Footer.css b/src/Components/Footer/Footer.css new file mode 100644 index 0000000..277ebc5 --- /dev/null +++ b/src/Components/Footer/Footer.css @@ -0,0 +1,32 @@ +.footer-title { + font-size: 1.25rem; + font-weight: bold; + border-bottom: 1px solid #555; + padding-bottom: 0.5rem; + margin-bottom: 1rem; +} + +.footer-text { + font-size: 0.9rem; +} + +.footer-link { + transition: color 0.3s; +} + +.footer-link:hover { + color: #1e90ff; +} + +.footer-icon { + font-size: 1.5rem; + transition: transform 0.3s; +} + +.footer-icon:hover { + transform: scale(1.1); +} + +.footer-small { + font-size: 0.8rem; +} diff --git a/src/Components/Footer.jsx b/src/Components/Footer/Footer.jsx similarity index 58% rename from src/Components/Footer.jsx rename to src/Components/Footer/Footer.jsx index ea661e0..8d1758d 100644 --- a/src/Components/Footer.jsx +++ b/src/Components/Footer/Footer.jsx @@ -7,66 +7,67 @@ import { faLinkedin, } from "@fortawesome/free-brands-svg-icons"; import { Link } from "react-router-dom"; +import "./Footer.css"; // Import custom CSS for additional styles const Footer = () => { return (