# Logos — Shared Components Reusable components used across all pages. Each entry includes a Figma reference, structure, variants, and responsive notes. --- ## 1. Nav Bar **Figma:** `Nav` section — node 40009046:23611 **Instance name in frames:** `D2 Nav` ### Closed state (default) | Property | Value | | ------------- | ------------------------------------- | | Height | 40px | | Desktop width | 1440px | | Mobile width | 393px | | Background | Transparent (overlays page content) | | Position | Fixed, top-0, full width, z-index top | **Layout — left to right:** - `LOGOS` — wordmark, uppercase, small caps - `MENU ≡` — opens overlay; changes to `CLOSE MENU ×` when open ### Open state (hamburger overlay) Full-screen overlay, dark green background (`#0D1F17` approx). **Desktop (two-column layout):** | Column | Content | | ------ | ---------------------------------------------------------- | | Left | `SITEMAP` label + large serif nav links stacked vertically | | Right | `JOIN OUR COMMUNITY` cards + `PRESS` section | **Sitemap links (large serif, ~80–96px):** 1. Technology Stack 2. Take Action 3. Logos Circles 4. Book 5. Links **JOIN OUR COMMUNITY cards (3 cards, image background, dark overlay):** - Lambda icon Build — "Explore programmes and resources to help you build your cyberstate." - Lambda icon Node Programme — "The Node Programme is for anyone who wants to join our movement to revitalise civil society using decentralised technologies." - Lambda icon Circles — "Local chapters are at the heart of our movement. Learn civil organising, share skills, and forge new connections." **PRESS section:** label + `SEE ALL →` link + 4 press image thumbnails (date + headline below each). **Mobile (single-column):** - Same top bar - Sitemap links stack full-width - JOIN OUR COMMUNITY cards stack vertically (full width) - PRESS thumbnails hidden or scrollable ```ts interface NavProps { transparent?: boolean // default true; false = dark bg (inner pages) activePath?: string // highlights active sitemap link } ``` --- ## 2. Footer **Implementation:** [`packages/ui/src/primitives/footer/footer.tsx`](../packages/ui/src/primitives/footer/footer.tsx) **Site wrapper:** [`apps/web/components/site-footer.tsx`](../apps/web/components/site-footer.tsx) — wires Logos-specific links **Figma:** `Footer` desktop — node 40009046:22948 · mobile — node 40009046:22697 Background: `bg-brand-dark-green`, `text-brand-off-white`. Desktop (md+): 3-column layout — image + "Built by IFT" (left), logo + primary links + research + legal (middle), tagline + social + infrastructure (right). Mobile: 2-column with image + logo/tagline stacked on top. ```ts interface FooterLink { label: string href: string external?: boolean // opens in new tab with rel="noopener noreferrer" } interface FooterProps { image?: ReactNode // recommended tagline?: ReactNode logo?: ReactNode // Lambda icon Logos lockup mainLinks: FooterLink[] // Work With Us, Brand Guidelines socialLinks: FooterLink[] // Twitter, Discord, YouTube, Blog, Github researchLinks: FooterLink[] // under "RESEARCH" label infrastructureLinks: FooterLink[] // under "INFRASTRUCTURE" label legalLinks: FooterLink[] // Terms, Privacy, Security builtBy?: { label: string; attribution: ReactNode; href?: string } className?: string } ``` --- ## 3. Button **Implementation:** [`packages/ui/src/primitives/button/button.tsx`](../packages/ui/src/primitives/button/button.tsx) **Figma:** `CTA` component set — node 1022:6225 Renders `` when `href` is provided, `} /> ``` --- ## 5. Card **Implementation:** [`packages/ui/src/primitives/card/card.tsx`](../packages/ui/src/primitives/card/card.tsx) **Figma:** `Card hover` section — node 40009046:27669 Tech-stack / feature card used on the Homepage and Technology Stack pages. Default state: transparent bg, dark-green border, centred Lambda icon + title. Hover state: light-blue bg, top-left thumbnail, top-right CTA pill, description revealed. Also exports `CardInfo` — a small rounded info block anchored to the bottom of a fixed-height card (used in the Blockchain section). ```ts interface CardProps { title: ReactNode description?: ReactNode image?: ReactNode // thumbnail shown top-left on hover ctaLabel?: string // default: 'Learn more' ctaHref?: string // renders top-right CTA pill when provided showIcon?: boolean // show Lambda icon glyph; default true forceHover?: boolean // pin card in hover state (e.g. Figma parity) staticDefault?: boolean // lock in default state, disable hover reveal height?: number | string // fixed height; omit to size to content children?: ReactNode // extra content at bottom (e.g. CardInfo blocks) className?: string } ``` --- ## 6. Table + TableRow **Implementation:** [`packages/ui/src/primitives/table/table.tsx`](../packages/ui/src/primitives/table/table.tsx) **Figma:** `Side by Side` section — node 2259:43916 Used in list view on `/builders-hub/rfps` and `/builders-hub/ideas`. `Table` provides the header (serif title, mono subtitle, optional action slot). `TableRow` is a 50px full-width row — odd rows get a 5% dark-green tint, even rows grey-01; all rows switch to light-blue on hover. Row columns: `flex-[714]` number + title · `flex-[464]` description · `w-[107px]` reward · action slot. ```tsx Submit an idea } >

Quadratic voting platform for DAO members

Idea by @jonny

} action={ } />

2500 USDC

+ 1000 XP

} action={ } />
``` ```ts interface TableProps { title: ReactNode subtitle?: ReactNode action?: ReactNode children: ReactNode className?: string } interface TableRowProps { number?: ReactNode title: ReactNode description?: ReactNode reward?: ReactNode // omit for Idea rows action?: ReactNode className?: string } ``` --- ## 7. ViewToggle **Implementation:** [`packages/ui/src/primitives/view-toggle/view-toggle.tsx`](../packages/ui/src/primitives/view-toggle/view-toggle.tsx) **Figma:** Labels `Grid (default)` / `List` — `RFPs` section — node 2213:32470 Generic view-mode switcher — `Grid / List` labels with a slash separator. Inactive option dimmed; active option underlined. Accepts either `getHref` (SSR-friendly, renders `
`) or `onChange` (client-side, renders `