From 339ed2de37e9425dcb5c7872c0afaee185bfc42f Mon Sep 17 00:00:00 2001 From: "coderabbitai[bot]" <136622811+coderabbitai[bot]@users.noreply.github.com> Date: Fri, 6 Mar 2026 22:06:27 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20docstrings=20to=20`feat/do?= =?UTF-8?q?cs-and-branding`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docstrings generation was requested by @yash-pouranik. * https://github.com/yash-pouranik/urBackend/pull/37#issuecomment-4014334345 The following files were modified: * `frontend/src/components/Layout/Footer.jsx` * `frontend/src/components/Layout/MainLayout.jsx` * `frontend/src/components/Layout/Sidebar.jsx` * `frontend/src/pages/LandingPage/index.jsx` --- frontend/src/components/Layout/Footer.jsx | 11 +++-- frontend/src/components/Layout/MainLayout.jsx | 12 ++++- frontend/src/components/Layout/Sidebar.jsx | 12 ++++- frontend/src/pages/LandingPage/index.jsx | 44 +++++++++++-------- 4 files changed, 54 insertions(+), 25 deletions(-) diff --git a/frontend/src/components/Layout/Footer.jsx b/frontend/src/components/Layout/Footer.jsx index e39bb6a2e..9b08b866e 100644 --- a/frontend/src/components/Layout/Footer.jsx +++ b/frontend/src/components/Layout/Footer.jsx @@ -2,6 +2,12 @@ import { Link } from 'react-router-dom'; import { Github, ArrowRight, Database } from 'lucide-react'; import { ADMIN_EMAIL } from '../../config'; +/** + * Renders the site footer with branding, product/connect navigation, a newsletter input, social links, legal text, and a large decorative background wordmark. + * + * The component is presentational and includes responsive styles for desktop and mobile layouts. + * @returns {JSX.Element} The footer element containing the footer layout and embedded styles. + */ export default function Footer() { return (