{"success":true,"data":{"block":{"id":"navbar-education-platform","name":"Navbar Education Platform","title":"NavBar Education Platform","category":"Navbar","categorySlug":"navbar","description":"A navigation bar designed for education and LMS platforms. Features two main dropdown menus: Products menu with tools and quick start sections including a featured image card for latest updates, and Support menu with guides and about us sections. Each menu item displays an icon, title, and description with hover animations. Mobile view uses accordion navigation with categorized sections. Ideal for online learning platforms, educational institutions, course marketplaces, and knowledge management systems.","thumbnail":{"desktop":"https://cdn.ing/assets/i/r/290176/pty8dwgqae6oa5o3hj8t3xzdbocy/navbar-education-platform-desktop.png","mobile":"https://cdn.ing/assets/i/r/290177/9jv46cuqhctcng9dl14xsf9fe2rv/navbar-education-platform-mobile.png"},"componentPath":"blocks/navbars/navbar-education-platform.tsx","code":"import { NavbarEducationPlatform } from \"@opensite/ui/blocks/navbars/navbar-education-platform\";\nimport { brandLogoPlaceholders, imagePlaceholders } from \"@/lib/media\";\nimport CarouselAnimatedSections from \"@/blocks/carousel/carousel-animated-sections\";\nimport FeatureShowcase from \"@/blocks/features/feature-showcase\";\nimport FaqSplitHelp from \"@/blocks/faq/faq-split-help\";\n\nexport default function Demo() {\n  return (\n    <>\n      <NavbarEducationPlatform\n      logo={{\n        url: \"/\",\n        src: brandLogoPlaceholders.black[0],\n        title: \"EduTech\",\n        alt: \"EduTech Logo\",\n      }}\n      menu={[\n        {\n          label: \"About\",\n          groups: [\n            {\n              label: \"Tools\",\n              links: [\n                {\n                  title: \"Course Builder\",\n                  description: \"Create engaging online courses\",\n                  icon: \"lucide/book-plus\",\n                  href: \"#\",\n                },\n                {\n                  title: \"Video Hosting\",\n                  description: \"Stream educational content\",\n                  icon: \"lucide/video\",\n                  href: \"#\",\n                },\n                {\n                  title: \"Student Dashboard\",\n                  description: \"Track progress and assignments\",\n                  icon: \"lucide/gauge\",\n                  href: \"#\",\n                },\n                {\n                  title: \"Live Classes\",\n                  description: \"Interactive virtual classrooms\",\n                  icon: \"lucide/monitor-play\",\n                  href: \"#\",\n                },\n              ],\n              featuredImage: {\n                src: imagePlaceholders[10],\n                alt: \"Latest platform updates\",\n                href: \"#updates\",\n              },\n            },\n          ],\n        },\n        {\n          label: \"Resources\",\n          groups: [\n            {\n              label: \"Links\",\n              links: [\n                {\n                  title: \"Getting Started\",\n                  description: \"Set up your first course\",\n                  icon: \"lucide/rocket\",\n                  href: \"#\",\n                },\n                {\n                  title: \"Teacher Guide\",\n                  description: \"Best practices for educators\",\n                  icon: \"lucide/user-check\",\n                  href: \"#\",\n                },\n                {\n                  title: \"API Documentation\",\n                  description: \"Integrate with your systems\",\n                  icon: \"lucide/code-2\",\n                  href: \"#\",\n                },\n              ],\n            },\n          ],\n        },\n        {\n          label: \"Company\",\n          groups: [\n            {\n              label: \"About\",\n              links: [\n                {\n                  title: \"About Us\",\n                  icon: \"lucide/building-2\",\n                  href: \"#\",\n                },\n                {\n                  title: \"Careers\",\n                  icon: \"lucide/briefcase\",\n                  href: \"#\",\n                },\n                {\n                  title: \"Contact\",\n                  icon: \"lucide/mail\",\n                  href: \"#\",\n                },\n              ],\n            },\n          ],\n        },\n        {\n          label: \"Pricing\",\n          href: \"#pricing\",\n        },\n      ]}\n      authActions={[\n        {\n          label: \"Login\",\n          variant: \"link\",\n          size: \"sm\",\n          href: \"#\",\n          asButton: true,\n        },\n        {\n          label: \"Get Started\",\n          variant: \"outline\",\n          size: \"sm\",\n          href: \"#\",\n          asButton: true,\n        },\n      ]}\n      />\n\n      <CarouselAnimatedSections />\n      <FeatureShowcase />\n      <FaqSplitHelp />\n    </>\n  );\n}","propsSchema":{"logo":{"type":"object","description":"Logo configuration","fields":{"url":{"type":"string","description":"URL to navigate to when logo is clicked","required":false},"src":{"type":"string","description":"Image source for the logo","required":false},"alt":{"type":"string","description":"Alt text for the logo image","required":false},"title":{"type":"object","description":"Text title to display (alternative to image)","typeLabel":"React.ReactNode","required":false},"className":{"type":"string","description":"Additional CSS classes for the logo","required":false}},"typeLabel":"LogoConfig","required":false},"menu":{"type":"array","description":"Navigation menu items - can be simple links or dropdowns with grouped links","items":{"type":"object","description":"","fields":{"title":{"type":"string","description":"","required":true},"url":{"type":"string","description":"","required":false},"tabs":{"type":"array","description":"","items":{"type":"object","description":"","fields":{"id":{"type":"string","description":"","required":true},"title":{"type":"string","description":"","required":true},"icon":{"type":"object","description":"","fields":{},"typeLabel":"DynamicIconName","required":false},"links":{"type":"array","description":"","items":{"type":"object","description":"","fields":{"title":{"type":"string","description":"","required":true},"description":{"type":"string","description":"","required":false},"url":{"type":"string","description":"","required":true},"icon":{"type":"object","description":"","fields":{},"typeLabel":"DynamicIconName","required":false}},"typeLabel":"{ title: string; description?: string; url: string; icon?: DynamicIconName; }"},"typeLabel":"{ title: string; description?: string; url: string; icon?: DynamicIconName; }[]","required":true},"featured":{"type":"object","description":"","fields":{"title":{"type":"string","description":"","required":true},"description":{"type":"string","description":"","required":true},"url":{"type":"string","description":"","required":true},"image":{"type":"string","description":"","required":true}},"typeLabel":"{ title: string; description: string; url: string; image: string; }","required":false}},"typeLabel":"TabItem"},"typeLabel":"TabItem[]","required":false}},"typeLabel":"MenuItem"},"typeLabel":"MenuItem[]","required":false},"authActions":{"type":"array","description":"Authentication action configurations","items":{"type":"object","description":"","fields":{"variant":{"type":"string","description":"","typeLabel":"\"default\" | \"destructive\" | \"outline\" | \"secondary\" | \"ghost\" | \"link\"","required":false},"size":{"type":"string","description":"","typeLabel":"\"default\" | \"sm\" | \"md\" | \"lg\" | \"icon\" | \"icon-sm\" | \"icon-lg\"","required":false},"label":{"type":"object","description":"Button/link label text or ReactNode","typeLabel":"ReactNode","required":false},"icon":{"type":"object","description":"Icon to display (typically before label)","typeLabel":"ReactNode","required":false},"iconAfter":{"type":"object","description":"Icon to display after the label","typeLabel":"ReactNode","required":false},"href":{"type":"string","description":"URL for link behavior","required":false},"onClick":{"type":"object","description":"Click handler for button behavior","typeLabel":"MouseEventHandler","required":false},"className":{"type":"string","description":"Additional CSS classes for the action","required":false},"children":{"type":"object","description":"Custom children (overrides label + icon rendering)","typeLabel":"ReactNode","required":false},"aria-label":{"type":"string","description":"ARIA label for accessibility","required":false},"asButton":{"type":"boolean","description":"Render as a button element instead of an anchor/link","required":false}},"typeLabel":"ActionConfig"},"typeLabel":"ActionConfig[]","required":false}},"defaultProps":{},"dependencies":["@opensite/ui"],"tags":["navbar","navigation","education","lms","learning","courses","support","documentation","knowledge-base","e-learning"],"performance":{},"importantUsageNotes":"Use this navbar when the site is an education platform, LMS, or edtech product that needs group-structured dropdown menus — each top-level 'menu' item can contain one or more 'groups', each group has a 'label', a 'links' array of icon-linked items, and optionally a 'featuredImage' thumbnail. The demo uses 4 top-level items: 'About' with 1 group of 4 tool links plus a featuredImage, 'Resources' with 1 group of 3 links, 'Company' with 1 group of 3 links, and 'Pricing' as a flat href — maintain this 4-item structure; each group's 'links' use 'title', 'description', 'icon' (lucide name), and 'href'. The 'featuredImage' per group requires a real image from the media library — DO NOT set 'featuredImage' unless a real image is available. Only set 'logo.src' if a real brand logo exists in the media library; otherwise omit 'logo.src' and rely on 'logo.title' as plain text. The 'authActions' prop drives the right-side buttons — if you supply multiple entries, use a variant of 'default' (or 'link') for the first and 'outline' for the second. Only use real internal route hrefs and important external URLs — do not invent or guess routes. The mobile menu is built into this block — do not strip it or override its behavior; preserve the demo's mobile structure. Follow the example props closely for this block — the demo encodes the canonical layout, and deviating from it will produce broken or unusable navigation."}},"timestamp":"2026-05-13T10:43:03.892Z"}