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..b117f53 --- /dev/null +++ b/frontend/src/pages/Contact.jsx @@ -0,0 +1,114 @@ +const Contact = () => { + const handleSubmit = (e) => { + e.preventDefault(); + alert("Message sent!"); + e.target.reset(); + }; + + 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 +

+
+
+ + +
+ + +