You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docstrings generation was requested by @yash-pouranik.
* #37 (comment)
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`
* Renders the site footer with branding, product/connect navigation, a newsletter input, social links, legal text, and a large decorative background wordmark.
7
+
*
8
+
* The component is presentational and includes responsive styles for desktop and mobile layouts.
9
+
* @returns {JSX.Element} The footer element containing the footer layout and embedded styles.
10
+
*/
5
11
exportdefaultfunctionFooter(){
6
12
return(
7
13
<footerclassName="modern-footer">
@@ -12,9 +18,8 @@ export default function Footer() {
// Use the new official logo from public directory
7
+
constlogoImage="/urBACKEND_NAV_LOGO (2).png";
7
8
9
+
/**
10
+
* App shell that renders the global sidebar, header, or a project-specific navbar and places page content.
11
+
*
12
+
* Renders a mobile overlay and global sidebar/header when not on a project route; renders a project navbar and a full-width main area when the current path matches `/project/:projectId/*`. Adjusts top padding and content padding for project routes and for paths that include `/database`.
13
+
*
14
+
* @param {object} props - Component props.
15
+
* @param {import('react').ReactNode} props.children - The page content to render inside the layout.
16
+
* @returns {JSX.Element} The composed layout element containing navigation and the provided children.
Copy file name to clipboardExpand all lines: frontend/src/pages/LandingPage/index.jsx
+25-19Lines changed: 25 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,13 @@ import { motion as Motion } from 'framer-motion';
26
26
importFooterfrom'../../components/Layout/Footer';
27
27
import'./style.css';
28
28
29
+
/**
30
+
* Render the full landing page UI for the product, including responsive navigation, hero, demo panel, feature and pricing sections, BYO infrastructure content, FAQ, and footer.
31
+
*
32
+
* The component manages UI state for the mobile menu, scroll-based nav visibility, a simulated demo request, and FAQ expansion. It adapts navigation and CTAs based on authentication and provides a lightweight demo that simulates an API response.
33
+
*
34
+
* @returns {JSX.Element} The rendered landing page element.
<h2style={{fontSize: '3rem',fontWeight: 800,marginBottom: '1.5rem',letterSpacing: '-0.04em'}}>Ready to ship?</h2>
467
473
<pstyle={{fontSize: '1.25rem',color: '#a1a1aa',marginBottom: '3rem'}}>Join hundreds of developers building the future without the backend headaches.</p>
0 commit comments