From bbe4042aa9f557f4a7ca7509006387d8a68d71a2 Mon Sep 17 00:00:00 2001 From: Anuj Sharma Date: Wed, 3 Jun 2026 03:05:10 +0530 Subject: [PATCH 1/4] Added a contact page --- frontend/src/App.jsx | 2 + frontend/src/components/shared/Navbar.jsx | 6 ++ frontend/src/pages/Contact.jsx | 111 ++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 frontend/src/pages/Contact.jsx diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index ed6d69b..765a5a2 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -27,6 +27,7 @@ import GitHubCallbackPage from "./pages/GitHubCallbackPage"; import ProtectedRoute from "./components/shared/ProtectedRoute"; import PublicRoute from "./components/shared/PublicRoute"; import BugReportsPage from "./pages/BugReportsPage"; +import Contact from "./pages/Contact"; export default function App() { return ( @@ -113,6 +114,7 @@ export default function App() { } /> } /> } /> + } /> } /> diff --git a/frontend/src/components/shared/Navbar.jsx b/frontend/src/components/shared/Navbar.jsx index 02a96b6..bd70e86 100644 --- a/frontend/src/components/shared/Navbar.jsx +++ b/frontend/src/components/shared/Navbar.jsx @@ -460,6 +460,9 @@ export default function Navbar() { /> )} + + Contact Us + {/* ── Desktop Right Controls ────────────────────────────────────── */} @@ -583,6 +586,9 @@ export default function Navbar() { FAQ + + Contact Us + {isAuthenticated && ( diff --git a/frontend/src/pages/Contact.jsx b/frontend/src/pages/Contact.jsx new file mode 100644 index 0000000..7ef84f3 --- /dev/null +++ b/frontend/src/pages/Contact.jsx @@ -0,0 +1,111 @@ +import { useRef, useState } from "react"; +import { useNavigate } from "react-router-dom"; + +const Contact = () => { + return ( +
+ Contact- CodeLens + +
+
+
+

+ Get in touch +

+

+ Let's build the future together +

+

Have questions, partnership inquiries, or feedback? We'd love to hear from you.

+
+ + {[ + { + name: "GitHub", + desc: "Star us & contribute", + href: "https://github.com/", + icon: ( + + ), + }, + { + name: "X / Twitter", + desc: "Follow for updates", + href: "https://twitter.com/", + icon: ( + + ), + }, + { + name: "LinkedIn", + desc: "Connect with the team", + href: "https://linkedin.com/", + icon: ( + + ), + }, + { + name: "Discord", + desc: "Join the community", + href: "#", + icon: ( + + ), + }, + ].map((s) => ( + + + {s.icon} + +
+ + {s.name} + + + {s.desc} + +
+
+ ))} +
+
+ +
+

Send us a message

+

+ Fill out the form below and we will get back to you soon +

+
+
+ + +
+ + +