@opensite/ui 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (859) hide show
  1. package/dist/about-company-profile.d.cts +2 -2
  2. package/dist/about-company-profile.d.ts +2 -2
  3. package/dist/about-developer-profile.d.cts +2 -2
  4. package/dist/about-developer-profile.d.ts +2 -2
  5. package/dist/about-developer-story.d.cts +2 -2
  6. package/dist/about-developer-story.d.ts +2 -2
  7. package/dist/about-interactive-tabs.d.cts +2 -2
  8. package/dist/about-interactive-tabs.d.ts +2 -2
  9. package/dist/about-location-info-hero.d.cts +2 -2
  10. package/dist/about-location-info-hero.d.ts +2 -2
  11. package/dist/about-minimal-story.d.cts +2 -2
  12. package/dist/about-minimal-story.d.ts +2 -2
  13. package/dist/about-mission-dual-image.d.cts +2 -2
  14. package/dist/about-mission-dual-image.d.ts +2 -2
  15. package/dist/about-mission-features.d.cts +2 -2
  16. package/dist/about-mission-features.d.ts +2 -2
  17. package/dist/about-network-spotlight.d.cts +2 -2
  18. package/dist/about-network-spotlight.d.ts +2 -2
  19. package/dist/about-startup-team.d.cts +2 -2
  20. package/dist/about-startup-team.d.ts +2 -2
  21. package/dist/about-stats-showcase.d.cts +2 -2
  22. package/dist/about-stats-showcase.d.ts +2 -2
  23. package/dist/about-stats-sidebar.d.cts +2 -2
  24. package/dist/about-stats-sidebar.d.ts +2 -2
  25. package/dist/about-story-expertise.d.cts +2 -2
  26. package/dist/about-story-expertise.d.ts +2 -2
  27. package/dist/about-story-gallery.d.cts +2 -2
  28. package/dist/about-story-gallery.d.ts +2 -2
  29. package/dist/about-story-hero.d.cts +2 -2
  30. package/dist/about-story-hero.d.ts +2 -2
  31. package/dist/about-streamline-team.d.cts +2 -2
  32. package/dist/about-streamline-team.d.ts +2 -2
  33. package/dist/about-vision-gallery.d.cts +2 -2
  34. package/dist/about-vision-gallery.d.ts +2 -2
  35. package/dist/alternating-blocks.d.cts +2 -2
  36. package/dist/alternating-blocks.d.ts +2 -2
  37. package/dist/animated-dialog.d.cts +2 -2
  38. package/dist/animated-dialog.d.ts +2 -2
  39. package/dist/article-breadcrumb-social.d.cts +2 -2
  40. package/dist/article-breadcrumb-social.d.ts +2 -2
  41. package/dist/article-chapters-author.d.cts +2 -2
  42. package/dist/article-chapters-author.d.ts +2 -2
  43. package/dist/article-compact-toc.d.cts +2 -2
  44. package/dist/article-compact-toc.d.ts +2 -2
  45. package/dist/article-hero-prose.d.cts +2 -2
  46. package/dist/article-hero-prose.d.ts +2 -2
  47. package/dist/article-sidebar-sticky.d.cts +2 -2
  48. package/dist/article-sidebar-sticky.d.ts +2 -2
  49. package/dist/article-split-animated.d.cts +2 -2
  50. package/dist/article-split-animated.d.ts +2 -2
  51. package/dist/article-toc-sidebar.d.cts +2 -2
  52. package/dist/article-toc-sidebar.d.ts +2 -2
  53. package/dist/auto-scroll-carousel.d.cts +2 -2
  54. package/dist/auto-scroll-carousel.d.ts +2 -2
  55. package/dist/badge.d.cts +1 -1
  56. package/dist/badge.d.ts +1 -1
  57. package/dist/banner-announcement-dismissible.d.cts +2 -2
  58. package/dist/banner-announcement-dismissible.d.ts +2 -2
  59. package/dist/banner-event-promo.d.cts +2 -2
  60. package/dist/banner-event-promo.d.ts +2 -2
  61. package/dist/banner-floating-offer.d.cts +2 -2
  62. package/dist/banner-floating-offer.d.ts +2 -2
  63. package/dist/banner-gdpr-rights.d.cts +2 -2
  64. package/dist/banner-gdpr-rights.d.ts +2 -2
  65. package/dist/banner-privacy-notice.d.cts +2 -2
  66. package/dist/banner-privacy-notice.d.ts +2 -2
  67. package/dist/banner-promo-cta.d.cts +2 -2
  68. package/dist/banner-promo-cta.d.ts +2 -2
  69. package/dist/banner-social-follow.d.cts +2 -2
  70. package/dist/banner-social-follow.d.ts +2 -2
  71. package/dist/banner-survey-incentive.d.cts +2 -2
  72. package/dist/banner-survey-incentive.d.ts +2 -2
  73. package/dist/{blocks-BYytGxbF.d.ts → blocks-BWc_7JNA.d.ts} +1 -1
  74. package/dist/{blocks-BfXV7q25.d.cts → blocks-CJYRLpXR.d.cts} +1 -1
  75. package/dist/blog-cards-read-time.d.cts +2 -2
  76. package/dist/blog-cards-read-time.d.ts +2 -2
  77. package/dist/blog-cards-tagline-cta.d.cts +2 -2
  78. package/dist/blog-cards-tagline-cta.d.ts +2 -2
  79. package/dist/blog-category-overlay.d.cts +2 -2
  80. package/dist/blog-category-overlay.d.ts +2 -2
  81. package/dist/blog-featured-popular.d.cts +2 -2
  82. package/dist/blog-featured-popular.d.ts +2 -2
  83. package/dist/blog-filtered-results.d.cts +2 -2
  84. package/dist/blog-filtered-results.d.ts +2 -2
  85. package/dist/blog-grid-author-cards.d.cts +2 -2
  86. package/dist/blog-grid-author-cards.d.ts +2 -2
  87. package/dist/blog-grid-nine-posts.d.cts +2 -2
  88. package/dist/blog-grid-nine-posts.d.ts +2 -2
  89. package/dist/blog-horizontal-cards.d.cts +2 -2
  90. package/dist/blog-horizontal-cards.d.ts +2 -2
  91. package/dist/blog-horizontal-timeline.d.cts +2 -2
  92. package/dist/blog-horizontal-timeline.d.ts +2 -2
  93. package/dist/blog-masonry-featured.d.cts +2 -2
  94. package/dist/blog-masonry-featured.d.ts +2 -2
  95. package/dist/blog-related-articles.d.cts +2 -2
  96. package/dist/blog-related-articles.d.ts +2 -2
  97. package/dist/blog-tech-insights.d.cts +2 -2
  98. package/dist/blog-tech-insights.d.ts +2 -2
  99. package/dist/blur-vignette-grid.d.cts +2 -2
  100. package/dist/blur-vignette-grid.d.ts +2 -2
  101. package/dist/{button-variants-CKmytxru.d.cts → button-variants-DJbzb6lO.d.cts} +2 -2
  102. package/dist/{button-variants-CKmytxru.d.ts → button-variants-DJbzb6lO.d.ts} +2 -2
  103. package/dist/button.d.cts +1 -1
  104. package/dist/button.d.ts +1 -1
  105. package/dist/carousel-badge-cards.d.cts +2 -2
  106. package/dist/carousel-badge-cards.d.ts +2 -2
  107. package/dist/carousel-demo-link.d.cts +2 -2
  108. package/dist/carousel-demo-link.d.ts +2 -2
  109. package/dist/carousel-gradient-overlay.d.cts +2 -2
  110. package/dist/carousel-gradient-overlay.d.ts +2 -2
  111. package/dist/carousel-gradient-text.d.cts +2 -2
  112. package/dist/carousel-gradient-text.d.ts +2 -2
  113. package/dist/carousel-icon-sidebar.d.cts +2 -2
  114. package/dist/carousel-icon-sidebar.d.ts +2 -2
  115. package/dist/carousel-icon-tabs.d.cts +2 -2
  116. package/dist/carousel-icon-tabs.d.ts +2 -2
  117. package/dist/carousel-scale-focus.d.cts +2 -2
  118. package/dist/carousel-scale-focus.d.ts +2 -2
  119. package/dist/carousel-sidebar-resources.d.cts +2 -2
  120. package/dist/carousel-sidebar-resources.d.ts +2 -2
  121. package/dist/carousel-tabs-content.d.cts +2 -2
  122. package/dist/carousel-tabs-content.d.ts +2 -2
  123. package/dist/case-studies-featured-border.d.cts +2 -2
  124. package/dist/case-studies-featured-border.d.ts +2 -2
  125. package/dist/case-studies-image-grid.d.cts +2 -2
  126. package/dist/case-studies-image-grid.d.ts +2 -2
  127. package/dist/case-studies-stats-card.d.cts +2 -2
  128. package/dist/case-studies-stats-card.d.ts +2 -2
  129. package/dist/case-studies-testimonial-stats.d.cts +2 -2
  130. package/dist/case-studies-testimonial-stats.d.ts +2 -2
  131. package/dist/case-study-prose-sidebar.d.cts +2 -2
  132. package/dist/case-study-prose-sidebar.d.ts +2 -2
  133. package/dist/case-study-stats-metrics.d.cts +2 -2
  134. package/dist/case-study-stats-metrics.d.ts +2 -2
  135. package/dist/case-study-toc-social-sidebar.d.cts +2 -2
  136. package/dist/case-study-toc-social-sidebar.d.ts +2 -2
  137. package/dist/comparison-ai-models.d.cts +2 -2
  138. package/dist/comparison-ai-models.d.ts +2 -2
  139. package/dist/comparison-feature-cards.d.cts +2 -2
  140. package/dist/comparison-feature-cards.d.ts +2 -2
  141. package/dist/comparison-image-cards.d.cts +2 -2
  142. package/dist/comparison-image-cards.d.ts +2 -2
  143. package/dist/comparison-metrics-rows.d.cts +2 -2
  144. package/dist/comparison-metrics-rows.d.ts +2 -2
  145. package/dist/comparison-table-two-column.d.cts +2 -2
  146. package/dist/comparison-table-two-column.d.ts +2 -2
  147. package/dist/components.d.cts +2 -2
  148. package/dist/components.d.ts +2 -2
  149. package/dist/contact-callback.d.cts +2 -2
  150. package/dist/contact-callback.d.ts +2 -2
  151. package/dist/contact-card.d.cts +2 -2
  152. package/dist/contact-card.d.ts +2 -2
  153. package/dist/contact-careers.d.cts +2 -2
  154. package/dist/contact-careers.d.ts +2 -2
  155. package/dist/contact-catering.d.cts +2 -2
  156. package/dist/contact-catering.d.ts +2 -2
  157. package/dist/contact-consultation.d.cts +2 -2
  158. package/dist/contact-consultation.d.ts +2 -2
  159. package/dist/contact-dark.d.cts +2 -2
  160. package/dist/contact-dark.d.ts +2 -2
  161. package/dist/contact-demo.d.cts +2 -2
  162. package/dist/contact-demo.d.ts +2 -2
  163. package/dist/contact-emergency.d.cts +2 -2
  164. package/dist/contact-emergency.d.ts +2 -2
  165. package/dist/contact-event.d.cts +2 -2
  166. package/dist/contact-event.d.ts +2 -2
  167. package/dist/contact-faq.d.cts +2 -2
  168. package/dist/contact-faq.d.ts +2 -2
  169. package/dist/contact-feedback.d.cts +2 -2
  170. package/dist/contact-feedback.d.ts +2 -2
  171. package/dist/contact-fitness.d.cts +2 -2
  172. package/dist/contact-fitness.d.ts +2 -2
  173. package/dist/contact-floating-banner.d.cts +2 -2
  174. package/dist/contact-floating-banner.d.ts +2 -2
  175. package/dist/contact-guest.d.cts +2 -2
  176. package/dist/contact-guest.d.ts +2 -2
  177. package/dist/contact-help-center.d.cts +2 -2
  178. package/dist/contact-help-center.d.ts +2 -2
  179. package/dist/contact-image.d.cts +2 -2
  180. package/dist/contact-image.d.ts +2 -2
  181. package/dist/contact-insurance.d.cts +2 -2
  182. package/dist/contact-insurance.d.ts +2 -2
  183. package/dist/contact-interview.d.cts +2 -2
  184. package/dist/contact-interview.d.ts +2 -2
  185. package/dist/contact-locations.d.cts +2 -2
  186. package/dist/contact-locations.d.ts +2 -2
  187. package/dist/contact-maintenance.d.cts +2 -2
  188. package/dist/contact-maintenance.d.ts +2 -2
  189. package/dist/contact-map.d.cts +2 -2
  190. package/dist/contact-map.d.ts +2 -2
  191. package/dist/contact-minimal.d.cts +2 -2
  192. package/dist/contact-minimal.d.ts +2 -2
  193. package/dist/contact-moving.d.cts +2 -2
  194. package/dist/contact-moving.d.ts +2 -2
  195. package/dist/contact-multistep.d.cts +2 -2
  196. package/dist/contact-multistep.d.ts +2 -2
  197. package/dist/contact-partnership.d.cts +2 -2
  198. package/dist/contact-partnership.d.ts +2 -2
  199. package/dist/contact-photography.d.cts +2 -2
  200. package/dist/contact-photography.d.ts +2 -2
  201. package/dist/contact-press.d.cts +2 -2
  202. package/dist/contact-press.d.ts +2 -2
  203. package/dist/contact-quote.d.cts +2 -2
  204. package/dist/contact-quote.d.ts +2 -2
  205. package/dist/contact-referral.d.cts +2 -2
  206. package/dist/contact-referral.d.ts +2 -2
  207. package/dist/contact-report.d.cts +2 -2
  208. package/dist/contact-report.d.ts +2 -2
  209. package/dist/contact-reservation.d.cts +2 -2
  210. package/dist/contact-reservation.d.ts +2 -2
  211. package/dist/contact-retreat.d.cts +2 -2
  212. package/dist/contact-retreat.d.ts +2 -2
  213. package/dist/contact-rsvp.d.cts +2 -2
  214. package/dist/contact-rsvp.d.ts +2 -2
  215. package/dist/contact-sales.d.cts +2 -2
  216. package/dist/contact-sales.d.ts +2 -2
  217. package/dist/contact-schedule.d.cts +2 -2
  218. package/dist/contact-schedule.d.ts +2 -2
  219. package/dist/contact-sponsorship.d.cts +2 -2
  220. package/dist/contact-sponsorship.d.ts +2 -2
  221. package/dist/contact-support.d.cts +2 -2
  222. package/dist/contact-support.d.ts +2 -2
  223. package/dist/contact-tenant.d.cts +2 -2
  224. package/dist/contact-tenant.d.ts +2 -2
  225. package/dist/contact-vendor.d.cts +2 -2
  226. package/dist/contact-vendor.d.ts +2 -2
  227. package/dist/contact-volunteer.d.cts +2 -2
  228. package/dist/contact-volunteer.d.ts +2 -2
  229. package/dist/contact-warranty.d.cts +2 -2
  230. package/dist/contact-warranty.d.ts +2 -2
  231. package/dist/contact-wedding.d.cts +2 -2
  232. package/dist/contact-wedding.d.ts +2 -2
  233. package/dist/container.d.cts +2 -2
  234. package/dist/container.d.ts +2 -2
  235. package/dist/cta-accent-background.d.cts +2 -2
  236. package/dist/cta-accent-background.d.ts +2 -2
  237. package/dist/cta-app-download-newsletter.d.cts +2 -2
  238. package/dist/cta-app-download-newsletter.d.ts +2 -2
  239. package/dist/cta-background-icon-badge.d.cts +2 -2
  240. package/dist/cta-background-icon-badge.d.ts +2 -2
  241. package/dist/cta-case-study-testimonial.d.cts +2 -2
  242. package/dist/cta-case-study-testimonial.d.ts +2 -2
  243. package/dist/cta-documentation-links.d.cts +2 -2
  244. package/dist/cta-documentation-links.d.ts +2 -2
  245. package/dist/cta-enterprise-dark-features.d.cts +2 -2
  246. package/dist/cta-enterprise-dark-features.d.ts +2 -2
  247. package/dist/cta-enterprise-split.d.cts +2 -2
  248. package/dist/cta-enterprise-split.d.ts +2 -2
  249. package/dist/cta-feature-cards-grid.d.cts +2 -2
  250. package/dist/cta-feature-cards-grid.d.ts +2 -2
  251. package/dist/cta-feature-checklist.d.cts +2 -2
  252. package/dist/cta-feature-checklist.d.ts +2 -2
  253. package/dist/cta-feature-list.d.cts +2 -2
  254. package/dist/cta-feature-list.d.ts +2 -2
  255. package/dist/cta-fullwidth-background.d.cts +2 -2
  256. package/dist/cta-fullwidth-background.d.ts +2 -2
  257. package/dist/cta-gradient-logos-floating.d.cts +2 -2
  258. package/dist/cta-gradient-logos-floating.d.ts +2 -2
  259. package/dist/cta-gradient-stats-hero.d.cts +2 -2
  260. package/dist/cta-gradient-stats-hero.d.ts +2 -2
  261. package/dist/cta-hero-feature-cards.d.cts +2 -2
  262. package/dist/cta-hero-feature-cards.d.ts +2 -2
  263. package/dist/cta-image-overlay-arrow.d.cts +2 -2
  264. package/dist/cta-image-overlay-arrow.d.ts +2 -2
  265. package/dist/cta-image-overlay-centered.d.cts +2 -2
  266. package/dist/cta-image-overlay-centered.d.ts +2 -2
  267. package/dist/cta-minimal-separator.d.cts +2 -2
  268. package/dist/cta-minimal-separator.d.ts +2 -2
  269. package/dist/cta-newsletter-features.d.cts +2 -2
  270. package/dist/cta-newsletter-features.d.ts +2 -2
  271. package/dist/cta-pattern-background.d.cts +2 -2
  272. package/dist/cta-pattern-background.d.ts +2 -2
  273. package/dist/cta-platform-demo.d.cts +2 -2
  274. package/dist/cta-platform-demo.d.ts +2 -2
  275. package/dist/cta-simple-centered.d.cts +2 -2
  276. package/dist/cta-simple-centered.d.ts +2 -2
  277. package/dist/cta-split-gradient-image.d.cts +2 -2
  278. package/dist/cta-split-gradient-image.d.ts +2 -2
  279. package/dist/cta-split-image-logos.d.cts +2 -2
  280. package/dist/cta-split-image-logos.d.ts +2 -2
  281. package/dist/cta-split-image.d.cts +2 -2
  282. package/dist/cta-split-image.d.ts +2 -2
  283. package/dist/cta-stacked-cards.d.cts +2 -2
  284. package/dist/cta-stacked-cards.d.ts +2 -2
  285. package/dist/cta-video-background-hero.d.cts +2 -2
  286. package/dist/cta-video-background-hero.d.ts +2 -2
  287. package/dist/cta-workflow-tabs.d.cts +2 -2
  288. package/dist/cta-workflow-tabs.d.ts +2 -2
  289. package/dist/expandable-case-study-cards.d.cts +2 -2
  290. package/dist/expandable-case-study-cards.d.ts +2 -2
  291. package/dist/faq-badge-support.d.cts +2 -2
  292. package/dist/faq-badge-support.d.ts +2 -2
  293. package/dist/faq-bordered-badge.d.cts +2 -2
  294. package/dist/faq-bordered-badge.d.ts +2 -2
  295. package/dist/faq-card-categories.d.cts +2 -2
  296. package/dist/faq-card-categories.d.ts +2 -2
  297. package/dist/faq-categorized-sections.d.cts +2 -2
  298. package/dist/faq-categorized-sections.d.ts +2 -2
  299. package/dist/faq-centered-accordion.d.cts +2 -2
  300. package/dist/faq-centered-accordion.d.ts +2 -2
  301. package/dist/faq-gradient-categories.d.cts +2 -2
  302. package/dist/faq-gradient-categories.d.ts +2 -2
  303. package/dist/faq-icon-benefits.d.cts +2 -2
  304. package/dist/faq-icon-benefits.d.ts +2 -2
  305. package/dist/faq-muted-cards.d.cts +2 -2
  306. package/dist/faq-muted-cards.d.ts +2 -2
  307. package/dist/faq-numbered-grid.d.cts +2 -2
  308. package/dist/faq-numbered-grid.d.ts +2 -2
  309. package/dist/faq-numbered-list.d.cts +2 -2
  310. package/dist/faq-numbered-list.d.ts +2 -2
  311. package/dist/faq-profile-sidebar.d.cts +2 -2
  312. package/dist/faq-profile-sidebar.d.ts +2 -2
  313. package/dist/faq-rounded-cards.d.cts +2 -2
  314. package/dist/faq-rounded-cards.d.ts +2 -2
  315. package/dist/faq-sidebar-navigation.d.cts +2 -2
  316. package/dist/faq-sidebar-navigation.d.ts +2 -2
  317. package/dist/faq-simple-accordion.d.cts +2 -2
  318. package/dist/faq-simple-accordion.d.ts +2 -2
  319. package/dist/faq-split-help.d.cts +2 -2
  320. package/dist/faq-split-help.d.ts +2 -2
  321. package/dist/faq-static-list.d.cts +2 -2
  322. package/dist/faq-static-list.d.ts +2 -2
  323. package/dist/feature-accordion-image.d.cts +2 -2
  324. package/dist/feature-accordion-image.d.ts +2 -2
  325. package/dist/feature-badge-grid-six.d.cts +2 -2
  326. package/dist/feature-badge-grid-six.d.ts +2 -2
  327. package/dist/feature-bento-image-grid.d.cts +2 -2
  328. package/dist/feature-bento-image-grid.d.ts +2 -2
  329. package/dist/feature-bento-utilities.d.cts +2 -2
  330. package/dist/feature-bento-utilities.d.ts +2 -2
  331. package/dist/feature-card-grid-linked.d.cts +2 -2
  332. package/dist/feature-card-grid-linked.d.ts +2 -2
  333. package/dist/feature-category-image-cards.d.cts +2 -2
  334. package/dist/feature-category-image-cards.d.ts +2 -2
  335. package/dist/feature-checklist-image.d.cts +2 -2
  336. package/dist/feature-checklist-image.d.ts +2 -2
  337. package/dist/feature-checklist-three-column.d.cts +2 -2
  338. package/dist/feature-checklist-three-column.d.ts +2 -2
  339. package/dist/feature-icon-grid-accent.d.cts +2 -2
  340. package/dist/feature-icon-grid-accent.d.ts +2 -2
  341. package/dist/feature-icon-tabs-content.d.cts +2 -2
  342. package/dist/feature-icon-tabs-content.d.ts +2 -2
  343. package/dist/feature-image-cards-three-column.d.cts +2 -2
  344. package/dist/feature-image-cards-three-column.d.ts +2 -2
  345. package/dist/feature-image-overlay-badge.d.cts +2 -2
  346. package/dist/feature-image-overlay-badge.d.ts +2 -2
  347. package/dist/feature-integration-cards.d.cts +2 -2
  348. package/dist/feature-integration-cards.d.ts +2 -2
  349. package/dist/feature-numbered-cards.d.cts +2 -2
  350. package/dist/feature-numbered-cards.d.ts +2 -2
  351. package/dist/feature-showcase.d.cts +2 -2
  352. package/dist/feature-showcase.d.ts +2 -2
  353. package/dist/feature-split-image-reverse.d.cts +2 -2
  354. package/dist/feature-split-image-reverse.d.ts +2 -2
  355. package/dist/feature-split-image.d.cts +2 -2
  356. package/dist/feature-split-image.d.ts +2 -2
  357. package/dist/feature-stats-highlight.d.cts +2 -2
  358. package/dist/feature-stats-highlight.d.ts +2 -2
  359. package/dist/feature-tabbed-content-image.d.cts +2 -2
  360. package/dist/feature-tabbed-content-image.d.ts +2 -2
  361. package/dist/feature-utility-cards-grid.d.cts +2 -2
  362. package/dist/feature-utility-cards-grid.d.ts +2 -2
  363. package/dist/footer-animated-social.d.cts +2 -2
  364. package/dist/footer-animated-social.d.ts +2 -2
  365. package/dist/footer-background-card.d.cts +2 -2
  366. package/dist/footer-background-card.d.ts +2 -2
  367. package/dist/footer-brand-description.d.cts +2 -2
  368. package/dist/footer-brand-description.d.ts +2 -2
  369. package/dist/footer-brand-links-contact.d.cts +2 -2
  370. package/dist/footer-brand-links-contact.d.ts +2 -2
  371. package/dist/footer-contact-card.d.cts +2 -2
  372. package/dist/footer-contact-card.d.ts +2 -2
  373. package/dist/footer-cta-banner.d.cts +2 -2
  374. package/dist/footer-cta-banner.d.ts +2 -2
  375. package/dist/footer-cta-social.d.cts +2 -2
  376. package/dist/footer-cta-social.d.ts +2 -2
  377. package/dist/footer-nav-social.d.cts +2 -2
  378. package/dist/footer-nav-social.d.ts +2 -2
  379. package/dist/footer-newsletter-minimal.d.cts +2 -2
  380. package/dist/footer-newsletter-minimal.d.ts +2 -2
  381. package/dist/footer-simple-centered.d.cts +2 -2
  382. package/dist/footer-simple-centered.d.ts +2 -2
  383. package/dist/footer-social-newsletter.d.cts +2 -2
  384. package/dist/footer-social-newsletter.d.ts +2 -2
  385. package/dist/hero-ad-campaign-expert.d.cts +2 -2
  386. package/dist/hero-ad-campaign-expert.d.ts +2 -2
  387. package/dist/hero-adaptable-product-grid.d.cts +2 -2
  388. package/dist/hero-adaptable-product-grid.d.ts +2 -2
  389. package/dist/hero-agency-animated-images.d.cts +2 -2
  390. package/dist/hero-agency-animated-images.d.ts +2 -2
  391. package/dist/hero-ai-powered-carousel.d.cts +2 -2
  392. package/dist/hero-ai-powered-carousel.d.ts +2 -2
  393. package/dist/hero-announcement-badge.d.cts +2 -2
  394. package/dist/hero-announcement-badge.d.ts +2 -2
  395. package/dist/hero-architecture-fullscreen.d.cts +2 -2
  396. package/dist/hero-architecture-fullscreen.d.ts +2 -2
  397. package/dist/hero-badge-image-split.d.cts +2 -2
  398. package/dist/hero-badge-image-split.d.ts +2 -2
  399. package/dist/hero-badge-shadow-overlay.d.cts +2 -2
  400. package/dist/hero-badge-shadow-overlay.d.ts +2 -2
  401. package/dist/hero-billing-platform-logos.d.cts +2 -2
  402. package/dist/hero-billing-platform-logos.d.ts +2 -2
  403. package/dist/hero-business-carousel-dots.d.cts +2 -2
  404. package/dist/hero-business-carousel-dots.d.ts +2 -2
  405. package/dist/hero-business-operations-mosaic.d.cts +2 -2
  406. package/dist/hero-business-operations-mosaic.d.ts +2 -2
  407. package/dist/hero-centered-gradient-cta.d.cts +2 -2
  408. package/dist/hero-centered-gradient-cta.d.ts +2 -2
  409. package/dist/hero-centered-image-grid.d.cts +2 -2
  410. package/dist/hero-centered-image-grid.d.ts +2 -2
  411. package/dist/hero-centered-screenshot.d.cts +2 -2
  412. package/dist/hero-centered-screenshot.d.ts +2 -2
  413. package/dist/hero-coming-soon-countdown.d.cts +2 -2
  414. package/dist/hero-coming-soon-countdown.d.ts +2 -2
  415. package/dist/hero-community-survey-cta.d.cts +2 -2
  416. package/dist/hero-community-survey-cta.d.ts +2 -2
  417. package/dist/hero-conversation-intelligence.d.cts +2 -2
  418. package/dist/hero-conversation-intelligence.d.ts +2 -2
  419. package/dist/hero-conversion-video-play.d.cts +2 -2
  420. package/dist/hero-conversion-video-play.d.ts +2 -2
  421. package/dist/hero-creative-studio-stacked.d.cts +2 -2
  422. package/dist/hero-creative-studio-stacked.d.ts +2 -2
  423. package/dist/hero-crm-streamlined.d.cts +2 -2
  424. package/dist/hero-crm-streamlined.d.ts +2 -2
  425. package/dist/hero-customer-support-layered.d.cts +2 -2
  426. package/dist/hero-customer-support-layered.d.ts +2 -2
  427. package/dist/hero-dashed-border-features.d.cts +2 -2
  428. package/dist/hero-dashed-border-features.d.ts +2 -2
  429. package/dist/hero-design-carousel-portfolio.d.cts +2 -2
  430. package/dist/hero-design-carousel-portfolio.d.ts +2 -2
  431. package/dist/hero-design-showcase-logos.d.cts +2 -2
  432. package/dist/hero-design-showcase-logos.d.ts +2 -2
  433. package/dist/hero-design-system-3d.d.cts +2 -2
  434. package/dist/hero-design-system-3d.d.ts +2 -2
  435. package/dist/hero-developer-tools-code.d.cts +2 -2
  436. package/dist/hero-developer-tools-code.d.ts +2 -2
  437. package/dist/hero-digital-agency-fullscreen.d.cts +2 -2
  438. package/dist/hero-digital-agency-fullscreen.d.ts +2 -2
  439. package/dist/hero-ecommerce-product-showcase.d.cts +2 -2
  440. package/dist/hero-ecommerce-product-showcase.d.ts +2 -2
  441. package/dist/hero-enterprise-security.d.cts +2 -2
  442. package/dist/hero-enterprise-security.d.ts +2 -2
  443. package/dist/hero-event-registration.d.cts +2 -2
  444. package/dist/hero-event-registration.d.ts +2 -2
  445. package/dist/hero-feature-cards-grid.d.cts +2 -2
  446. package/dist/hero-feature-cards-grid.d.ts +2 -2
  447. package/dist/hero-floating-images.d.cts +2 -2
  448. package/dist/hero-floating-images.d.ts +2 -2
  449. package/dist/hero-fullscreen-background-image.d.cts +2 -2
  450. package/dist/hero-fullscreen-background-image.d.ts +2 -2
  451. package/dist/hero-fullscreen-logo-cta.d.cts +2 -2
  452. package/dist/hero-fullscreen-logo-cta.d.ts +2 -2
  453. package/dist/hero-gradient-avatars-rating.d.cts +2 -2
  454. package/dist/hero-gradient-avatars-rating.d.ts +2 -2
  455. package/dist/hero-gradient-client-focused.d.cts +2 -2
  456. package/dist/hero-gradient-client-focused.d.ts +2 -2
  457. package/dist/hero-grid-pattern-efficiency.d.cts +2 -2
  458. package/dist/hero-grid-pattern-efficiency.d.ts +2 -2
  459. package/dist/hero-grid-pattern-solutions.d.cts +2 -2
  460. package/dist/hero-grid-pattern-solutions.d.ts +2 -2
  461. package/dist/hero-hiring-animated-text.d.cts +2 -2
  462. package/dist/hero-hiring-animated-text.d.ts +2 -2
  463. package/dist/hero-image-left-content.d.cts +2 -2
  464. package/dist/hero-image-left-content.d.ts +2 -2
  465. package/dist/hero-image-slider.d.cts +2 -2
  466. package/dist/hero-image-slider.d.ts +2 -2
  467. package/dist/hero-innovation-image-grid.d.cts +2 -2
  468. package/dist/hero-innovation-image-grid.d.ts +2 -2
  469. package/dist/hero-logo-centered-screenshot.d.cts +2 -2
  470. package/dist/hero-logo-centered-screenshot.d.ts +2 -2
  471. package/dist/hero-marketplace-scattered-images.d.cts +2 -2
  472. package/dist/hero-marketplace-scattered-images.d.ts +2 -2
  473. package/dist/hero-mental-health-team.d.cts +2 -2
  474. package/dist/hero-mental-health-team.d.ts +2 -2
  475. package/dist/hero-mentorship-video-split.d.cts +2 -2
  476. package/dist/hero-mentorship-video-split.d.ts +2 -2
  477. package/dist/hero-minimal-centered-dark.d.cts +2 -2
  478. package/dist/hero-minimal-centered-dark.d.ts +2 -2
  479. package/dist/hero-mobile-app-download.d.cts +2 -2
  480. package/dist/hero-mobile-app-download.d.ts +2 -2
  481. package/dist/hero-newsletter-minimal.d.cts +2 -2
  482. package/dist/hero-newsletter-minimal.d.ts +2 -2
  483. package/dist/hero-pattern-badge-logos.d.cts +2 -2
  484. package/dist/hero-pattern-badge-logos.d.ts +2 -2
  485. package/dist/hero-pattern-logo-tech-stack.d.cts +2 -2
  486. package/dist/hero-pattern-logo-tech-stack.d.ts +2 -2
  487. package/dist/hero-platform-features-grid.d.cts +2 -2
  488. package/dist/hero-platform-features-grid.d.ts +2 -2
  489. package/dist/hero-portfolio-creative.d.cts +2 -2
  490. package/dist/hero-portfolio-creative.d.ts +2 -2
  491. package/dist/hero-premium-split-avatars.d.cts +2 -2
  492. package/dist/hero-premium-split-avatars.d.ts +2 -2
  493. package/dist/hero-presentation-platform-video.d.cts +2 -2
  494. package/dist/hero-presentation-platform-video.d.ts +2 -2
  495. package/dist/hero-pricing-comparison.d.cts +2 -2
  496. package/dist/hero-pricing-comparison.d.ts +2 -2
  497. package/dist/hero-product-showcase-floating.d.cts +2 -2
  498. package/dist/hero-product-showcase-floating.d.ts +2 -2
  499. package/dist/hero-productivity-launcher-video.d.cts +2 -2
  500. package/dist/hero-productivity-launcher-video.d.ts +2 -2
  501. package/dist/hero-saas-dashboard-preview.d.cts +2 -2
  502. package/dist/hero-saas-dashboard-preview.d.ts +2 -2
  503. package/dist/hero-shared-inbox-layered.d.cts +2 -2
  504. package/dist/hero-shared-inbox-layered.d.ts +2 -2
  505. package/dist/hero-simple-centered-image.d.cts +2 -2
  506. package/dist/hero-simple-centered-image.d.ts +2 -2
  507. package/dist/hero-software-growth-video-dialog.d.cts +2 -2
  508. package/dist/hero-software-growth-video-dialog.d.ts +2 -2
  509. package/dist/hero-spiral-pattern-cards.d.cts +2 -2
  510. package/dist/hero-spiral-pattern-cards.d.ts +2 -2
  511. package/dist/hero-split-geometric-shapes.d.cts +2 -2
  512. package/dist/hero-split-geometric-shapes.d.ts +2 -2
  513. package/dist/hero-split-icon-cards.d.cts +2 -2
  514. package/dist/hero-split-icon-cards.d.ts +2 -2
  515. package/dist/hero-split-image-newsletter.d.cts +2 -2
  516. package/dist/hero-split-image-newsletter.d.ts +2 -2
  517. package/dist/hero-split-spiral-shapes.d.cts +2 -2
  518. package/dist/hero-split-spiral-shapes.d.ts +2 -2
  519. package/dist/hero-startup-launch-cta.d.cts +2 -2
  520. package/dist/hero-startup-launch-cta.d.ts +2 -2
  521. package/dist/hero-stats-social-proof.d.cts +2 -2
  522. package/dist/hero-stats-social-proof.d.ts +2 -2
  523. package/dist/hero-task-timer-animated.d.cts +2 -2
  524. package/dist/hero-task-timer-animated.d.ts +2 -2
  525. package/dist/hero-tech-carousel.d.cts +2 -2
  526. package/dist/hero-tech-carousel.d.ts +2 -2
  527. package/dist/hero-therapy-testimonial-grid.d.cts +2 -2
  528. package/dist/hero-therapy-testimonial-grid.d.ts +2 -2
  529. package/dist/hero-ui-library-showcase.d.cts +2 -2
  530. package/dist/hero-ui-library-showcase.d.ts +2 -2
  531. package/dist/hero-video-background-dark.d.cts +2 -2
  532. package/dist/hero-video-background-dark.d.ts +2 -2
  533. package/dist/hero-video-dialog-gradient.d.cts +2 -2
  534. package/dist/hero-video-dialog-gradient.d.ts +2 -2
  535. package/dist/hero-welcome-asymmetric-images.d.cts +2 -2
  536. package/dist/hero-welcome-asymmetric-images.d.ts +2 -2
  537. package/dist/image-slider.d.cts +2 -2
  538. package/dist/image-slider.d.ts +2 -2
  539. package/dist/index.d.cts +2 -2
  540. package/dist/index.d.ts +2 -2
  541. package/dist/industries-badge-list-bordered.d.cts +2 -2
  542. package/dist/industries-badge-list-bordered.d.ts +2 -2
  543. package/dist/industries-expandable-showcase.d.cts +2 -2
  544. package/dist/industries-expandable-showcase.d.ts +2 -2
  545. package/dist/industries-hover-reveal-grid.d.cts +2 -2
  546. package/dist/industries-hover-reveal-grid.d.ts +2 -2
  547. package/dist/industries-timeline-table.d.cts +2 -2
  548. package/dist/industries-timeline-table.d.ts +2 -2
  549. package/dist/interior-carousel.d.cts +2 -2
  550. package/dist/interior-carousel.d.ts +2 -2
  551. package/dist/link-page-bento-layout.d.cts +2 -2
  552. package/dist/link-page-bento-layout.d.ts +2 -2
  553. package/dist/link-page-grid-cards.d.cts +2 -2
  554. package/dist/link-page-grid-cards.d.ts +2 -2
  555. package/dist/link-page-minimal-profile.d.cts +2 -2
  556. package/dist/link-page-minimal-profile.d.ts +2 -2
  557. package/dist/link-page-newsletter-social.d.cts +2 -2
  558. package/dist/link-page-newsletter-social.d.ts +2 -2
  559. package/dist/link-tree-block.d.cts +2 -2
  560. package/dist/link-tree-block.d.ts +2 -2
  561. package/dist/list-searchable-grid.d.cts +2 -2
  562. package/dist/list-searchable-grid.d.ts +2 -2
  563. package/dist/logos-carousel-heading.d.cts +2 -2
  564. package/dist/logos-carousel-heading.d.ts +2 -2
  565. package/dist/logos-centered-simple.d.cts +2 -2
  566. package/dist/logos-centered-simple.d.ts +2 -2
  567. package/dist/logos-certifications-grid.d.cts +2 -2
  568. package/dist/logos-certifications-grid.d.ts +2 -2
  569. package/dist/logos-double-carousel-pattern.d.cts +2 -2
  570. package/dist/logos-double-carousel-pattern.d.ts +2 -2
  571. package/dist/logos-inline-tagline.d.cts +2 -2
  572. package/dist/logos-inline-tagline.d.ts +2 -2
  573. package/dist/logos-marquee-muted.d.cts +2 -2
  574. package/dist/logos-marquee-muted.d.ts +2 -2
  575. package/dist/logos-minimal-carousel.d.cts +2 -2
  576. package/dist/logos-minimal-carousel.d.ts +2 -2
  577. package/dist/logos-numbered-carousel.d.cts +2 -2
  578. package/dist/logos-numbered-carousel.d.ts +2 -2
  579. package/dist/logos-partner-grid-sidebar.d.cts +2 -2
  580. package/dist/logos-partner-grid-sidebar.d.ts +2 -2
  581. package/dist/logos-partner-network.d.cts +2 -2
  582. package/dist/logos-partner-network.d.ts +2 -2
  583. package/dist/logos-two-row-grid.d.cts +2 -2
  584. package/dist/logos-two-row-grid.d.ts +2 -2
  585. package/dist/masonry-motion-grid.d.cts +2 -2
  586. package/dist/masonry-motion-grid.d.ts +2 -2
  587. package/dist/media-hover-ctas.d.cts +2 -2
  588. package/dist/media-hover-ctas.d.ts +2 -2
  589. package/dist/navbar-animated-preview.cjs +65 -53
  590. package/dist/navbar-animated-preview.d.cts +65 -19
  591. package/dist/navbar-animated-preview.d.ts +65 -19
  592. package/dist/navbar-animated-preview.js +65 -53
  593. package/dist/navbar-centered-menu.d.cts +2 -2
  594. package/dist/navbar-centered-menu.d.ts +2 -2
  595. package/dist/navbar-dark-icons.d.cts +2 -2
  596. package/dist/navbar-dark-icons.d.ts +2 -2
  597. package/dist/navbar-dropdown-menu.d.cts +2 -2
  598. package/dist/navbar-dropdown-menu.d.ts +2 -2
  599. package/dist/navbar-education-platform.d.cts +2 -2
  600. package/dist/navbar-education-platform.d.ts +2 -2
  601. package/dist/navbar-enterprise-mega.cjs +235 -346
  602. package/dist/navbar-enterprise-mega.d.cts +146 -56
  603. package/dist/navbar-enterprise-mega.d.ts +146 -56
  604. package/dist/navbar-enterprise-mega.js +235 -346
  605. package/dist/navbar-feature-grid.d.cts +2 -2
  606. package/dist/navbar-feature-grid.d.ts +2 -2
  607. package/dist/navbar-floating-pill.d.cts +2 -2
  608. package/dist/navbar-floating-pill.d.ts +2 -2
  609. package/dist/navbar-fullscreen-menu.d.cts +2 -2
  610. package/dist/navbar-fullscreen-menu.d.ts +2 -2
  611. package/dist/navbar-icon-links.d.cts +2 -2
  612. package/dist/navbar-icon-links.d.ts +2 -2
  613. package/dist/navbar-image-preview.d.cts +2 -2
  614. package/dist/navbar-image-preview.d.ts +2 -2
  615. package/dist/navbar-mega-menu.cjs +342 -573
  616. package/dist/navbar-mega-menu.d.cts +67 -37
  617. package/dist/navbar-mega-menu.d.ts +67 -37
  618. package/dist/navbar-mega-menu.js +342 -573
  619. package/dist/navbar-multi-column-groups.d.cts +2 -2
  620. package/dist/navbar-multi-column-groups.d.ts +2 -2
  621. package/dist/navbar-platform-resources.cjs +400 -215
  622. package/dist/navbar-platform-resources.d.cts +108 -33
  623. package/dist/navbar-platform-resources.d.ts +108 -33
  624. package/dist/navbar-platform-resources.js +400 -215
  625. package/dist/navbar-search-focused.d.cts +2 -2
  626. package/dist/navbar-search-focused.d.ts +2 -2
  627. package/dist/navbar-sidebar-mobile.d.cts +2 -2
  628. package/dist/navbar-sidebar-mobile.d.ts +2 -2
  629. package/dist/navbar-simple-links.d.cts +2 -2
  630. package/dist/navbar-simple-links.d.ts +2 -2
  631. package/dist/navbar-split-cta.d.cts +2 -2
  632. package/dist/navbar-split-cta.d.ts +2 -2
  633. package/dist/navbar-sticky-compact.d.cts +2 -2
  634. package/dist/navbar-sticky-compact.d.ts +2 -2
  635. package/dist/navbar-tabbed-sections.d.cts +2 -2
  636. package/dist/navbar-tabbed-sections.d.ts +2 -2
  637. package/dist/navbar-transparent-overlay.d.cts +2 -2
  638. package/dist/navbar-transparent-overlay.d.ts +2 -2
  639. package/dist/page-hero-banner.d.cts +2 -2
  640. package/dist/page-hero-banner.d.ts +2 -2
  641. package/dist/pressable.d.cts +1 -1
  642. package/dist/pressable.d.ts +1 -1
  643. package/dist/process-expandable-timeline.d.cts +2 -2
  644. package/dist/process-expandable-timeline.d.ts +2 -2
  645. package/dist/process-hover-cards.d.cts +2 -2
  646. package/dist/process-hover-cards.d.ts +2 -2
  647. package/dist/process-icon-timeline.d.cts +2 -2
  648. package/dist/process-icon-timeline.d.ts +2 -2
  649. package/dist/process-mission-principles.d.cts +2 -2
  650. package/dist/process-mission-principles.d.ts +2 -2
  651. package/dist/process-numbered-services.d.cts +2 -2
  652. package/dist/process-numbered-services.d.ts +2 -2
  653. package/dist/process-roadmap-timeline.d.cts +2 -2
  654. package/dist/process-roadmap-timeline.d.ts +2 -2
  655. package/dist/process-scroll-image.d.cts +2 -2
  656. package/dist/process-scroll-image.d.ts +2 -2
  657. package/dist/process-steps-grid.d.cts +2 -2
  658. package/dist/process-steps-grid.d.ts +2 -2
  659. package/dist/process-sticky-steps.d.cts +2 -2
  660. package/dist/process-sticky-steps.d.ts +2 -2
  661. package/dist/project-alternating-motion.d.cts +2 -2
  662. package/dist/project-alternating-motion.d.ts +2 -2
  663. package/dist/project-background-reveal.d.cts +2 -2
  664. package/dist/project-background-reveal.d.ts +2 -2
  665. package/dist/project-card-overlay.d.cts +2 -2
  666. package/dist/project-card-overlay.d.ts +2 -2
  667. package/dist/project-carousel-cinematic.d.cts +2 -2
  668. package/dist/project-carousel-cinematic.d.ts +2 -2
  669. package/dist/project-carousel-detail-cards.d.cts +2 -2
  670. package/dist/project-carousel-detail-cards.d.ts +2 -2
  671. package/dist/project-carousel-minimal.d.cts +2 -2
  672. package/dist/project-carousel-minimal.d.ts +2 -2
  673. package/dist/project-detail-architecture-carousel.d.cts +2 -2
  674. package/dist/project-detail-architecture-carousel.d.ts +2 -2
  675. package/dist/project-experience-quote.d.cts +2 -2
  676. package/dist/project-experience-quote.d.ts +2 -2
  677. package/dist/project-featured-carousel.d.cts +2 -2
  678. package/dist/project-featured-carousel.d.ts +2 -2
  679. package/dist/project-filterable-gallery.d.cts +2 -2
  680. package/dist/project-filterable-gallery.d.ts +2 -2
  681. package/dist/project-filterable-three-column.d.cts +2 -2
  682. package/dist/project-filterable-three-column.d.ts +2 -2
  683. package/dist/project-grid-gallery.d.cts +2 -2
  684. package/dist/project-grid-gallery.d.ts +2 -2
  685. package/dist/project-grid-motion.d.cts +2 -2
  686. package/dist/project-grid-motion.d.ts +2 -2
  687. package/dist/project-horizontal-cards.d.cts +2 -2
  688. package/dist/project-horizontal-cards.d.ts +2 -2
  689. package/dist/project-hover-reveal-grid.d.cts +2 -2
  690. package/dist/project-hover-reveal-grid.d.ts +2 -2
  691. package/dist/project-interactive-hover-reveal.d.cts +2 -2
  692. package/dist/project-interactive-hover-reveal.d.ts +2 -2
  693. package/dist/project-masonry-columns.d.cts +2 -2
  694. package/dist/project-masonry-columns.d.ts +2 -2
  695. package/dist/project-nature-mosaic.d.cts +2 -2
  696. package/dist/project-nature-mosaic.d.ts +2 -2
  697. package/dist/project-scroll-reveal.d.cts +2 -2
  698. package/dist/project-scroll-reveal.d.ts +2 -2
  699. package/dist/project-showcase-alternating.d.cts +2 -2
  700. package/dist/project-showcase-alternating.d.ts +2 -2
  701. package/dist/project-sticky-scroll.d.cts +2 -2
  702. package/dist/project-sticky-scroll.d.ts +2 -2
  703. package/dist/project-studio-hover-preview.d.cts +2 -2
  704. package/dist/project-studio-hover-preview.d.ts +2 -2
  705. package/dist/project-table-list.d.cts +2 -2
  706. package/dist/project-table-list.d.ts +2 -2
  707. package/dist/project-video-carousel.d.cts +2 -2
  708. package/dist/project-video-carousel.d.ts +2 -2
  709. package/dist/project-video-hover-bento.d.cts +2 -2
  710. package/dist/project-video-hover-bento.d.ts +2 -2
  711. package/dist/project-video-hover-grid.d.cts +2 -2
  712. package/dist/project-video-hover-grid.d.ts +2 -2
  713. package/dist/project-video-hover-rounded.d.cts +2 -2
  714. package/dist/project-video-hover-rounded.d.ts +2 -2
  715. package/dist/project-video-hover-stack.d.cts +2 -2
  716. package/dist/project-video-hover-stack.d.ts +2 -2
  717. package/dist/project-video-hover-two-by-two.d.cts +2 -2
  718. package/dist/project-video-hover-two-by-two.d.ts +2 -2
  719. package/dist/project-work-showcase.d.cts +2 -2
  720. package/dist/project-work-showcase.d.ts +2 -2
  721. package/dist/registry.cjs +1395 -1238
  722. package/dist/registry.js +1395 -1238
  723. package/dist/resource-detail-whitepaper-sidebar.d.cts +2 -2
  724. package/dist/resource-detail-whitepaper-sidebar.d.ts +2 -2
  725. package/dist/resource-list-course-cards.d.cts +2 -2
  726. package/dist/resource-list-course-cards.d.ts +2 -2
  727. package/dist/resource-list-featured-articles.d.cts +2 -2
  728. package/dist/resource-list-featured-articles.d.ts +2 -2
  729. package/dist/resource-list-featured-grid.d.cts +2 -2
  730. package/dist/resource-list-featured-grid.d.ts +2 -2
  731. package/dist/resource-list-hero-filter.d.cts +2 -2
  732. package/dist/resource-list-hero-filter.d.ts +2 -2
  733. package/dist/resource-list-news-updates.d.cts +2 -2
  734. package/dist/resource-list-news-updates.d.ts +2 -2
  735. package/dist/reviews-images-helpful.d.cts +2 -2
  736. package/dist/reviews-images-helpful.d.ts +2 -2
  737. package/dist/reviews-list-verified.d.cts +2 -2
  738. package/dist/reviews-list-verified.d.ts +2 -2
  739. package/dist/section.d.cts +2 -2
  740. package/dist/section.d.ts +2 -2
  741. package/dist/service-detail-centered-expertise.d.cts +2 -2
  742. package/dist/service-detail-centered-expertise.d.ts +2 -2
  743. package/dist/service-detail-compact-cards.d.cts +2 -2
  744. package/dist/service-detail-compact-cards.d.ts +2 -2
  745. package/dist/service-detail-image-hero.d.cts +2 -2
  746. package/dist/service-detail-image-hero.d.ts +2 -2
  747. package/dist/service-detail-prose-minimal.d.cts +2 -2
  748. package/dist/service-detail-prose-minimal.d.ts +2 -2
  749. package/dist/service-detail-sidebar-related.d.cts +2 -2
  750. package/dist/service-detail-sidebar-related.d.ts +2 -2
  751. package/dist/service-detail-sidebar-stats.d.cts +2 -2
  752. package/dist/service-detail-sidebar-stats.d.ts +2 -2
  753. package/dist/service-detail-stats-hero.d.cts +2 -2
  754. package/dist/service-detail-stats-hero.d.ts +2 -2
  755. package/dist/service-hover-carousel.d.cts +2 -2
  756. package/dist/service-hover-carousel.d.ts +2 -2
  757. package/dist/services-list-feature-spotlight.d.cts +2 -2
  758. package/dist/services-list-feature-spotlight.d.ts +2 -2
  759. package/dist/stats-animated-counter.d.cts +2 -2
  760. package/dist/stats-animated-counter.d.ts +2 -2
  761. package/dist/stats-bar-comparison.d.cts +2 -2
  762. package/dist/stats-bar-comparison.d.ts +2 -2
  763. package/dist/stats-card-group.d.cts +2 -2
  764. package/dist/stats-card-group.d.ts +2 -2
  765. package/dist/stats-circular-progress.d.cts +2 -2
  766. package/dist/stats-circular-progress.d.ts +2 -2
  767. package/dist/stats-growth-timeline.d.cts +2 -2
  768. package/dist/stats-growth-timeline.d.ts +2 -2
  769. package/dist/stats-icon-cards.d.cts +2 -2
  770. package/dist/stats-icon-cards.d.ts +2 -2
  771. package/dist/stats-impact-grid.d.cts +2 -2
  772. package/dist/stats-impact-grid.d.ts +2 -2
  773. package/dist/stats-milestone-sidebar.d.cts +2 -2
  774. package/dist/stats-milestone-sidebar.d.ts +2 -2
  775. package/dist/stats-number-ticker.d.cts +2 -2
  776. package/dist/stats-number-ticker.d.ts +2 -2
  777. package/dist/stats-primary-secondary.d.cts +2 -2
  778. package/dist/stats-primary-secondary.d.ts +2 -2
  779. package/dist/stats-simple-grid.d.cts +2 -2
  780. package/dist/stats-simple-grid.d.ts +2 -2
  781. package/dist/stats-timeline-tabs.d.cts +2 -2
  782. package/dist/stats-timeline-tabs.d.ts +2 -2
  783. package/dist/team-media-showcase.d.cts +2 -2
  784. package/dist/team-media-showcase.d.ts +2 -2
  785. package/dist/testimonial-carousel-cards.d.cts +2 -2
  786. package/dist/testimonial-carousel-cards.d.ts +2 -2
  787. package/dist/testimonials-animated-split.d.cts +2 -2
  788. package/dist/testimonials-animated-split.d.ts +2 -2
  789. package/dist/testimonials-bento-grid.d.cts +2 -2
  790. package/dist/testimonials-bento-grid.d.ts +2 -2
  791. package/dist/testimonials-carousel-image.d.cts +2 -2
  792. package/dist/testimonials-carousel-image.d.ts +2 -2
  793. package/dist/testimonials-centered-avatars.d.cts +2 -2
  794. package/dist/testimonials-centered-avatars.d.ts +2 -2
  795. package/dist/testimonials-company-logo.d.cts +2 -2
  796. package/dist/testimonials-company-logo.d.ts +2 -2
  797. package/dist/testimonials-grid-add-review.d.cts +2 -2
  798. package/dist/testimonials-grid-add-review.d.ts +2 -2
  799. package/dist/testimonials-large-quote.d.cts +2 -2
  800. package/dist/testimonials-large-quote.d.ts +2 -2
  801. package/dist/testimonials-logo-cards.d.cts +2 -2
  802. package/dist/testimonials-logo-cards.d.ts +2 -2
  803. package/dist/testimonials-marquee.d.cts +2 -2
  804. package/dist/testimonials-marquee.d.ts +2 -2
  805. package/dist/testimonials-masonry-grid.d.cts +2 -2
  806. package/dist/testimonials-masonry-grid.d.ts +2 -2
  807. package/dist/testimonials-mini-dividers.d.cts +2 -2
  808. package/dist/testimonials-mini-dividers.d.ts +2 -2
  809. package/dist/testimonials-minimal-numbered.d.cts +2 -2
  810. package/dist/testimonials-minimal-numbered.d.ts +2 -2
  811. package/dist/testimonials-parallax-number.d.cts +2 -2
  812. package/dist/testimonials-parallax-number.d.ts +2 -2
  813. package/dist/testimonials-quote-carousel.d.cts +2 -2
  814. package/dist/testimonials-quote-carousel.d.ts +2 -2
  815. package/dist/testimonials-scrolling-columns.d.cts +2 -2
  816. package/dist/testimonials-scrolling-columns.d.ts +2 -2
  817. package/dist/testimonials-simple-grid.d.cts +2 -2
  818. package/dist/testimonials-simple-grid.d.ts +2 -2
  819. package/dist/testimonials-slider-minimal.d.cts +2 -2
  820. package/dist/testimonials-slider-minimal.d.ts +2 -2
  821. package/dist/testimonials-split-image.d.cts +2 -2
  822. package/dist/testimonials-split-image.d.ts +2 -2
  823. package/dist/testimonials-stats-header.d.cts +2 -2
  824. package/dist/testimonials-stats-header.d.ts +2 -2
  825. package/dist/testimonials-twitter-cards.d.cts +2 -2
  826. package/dist/testimonials-twitter-cards.d.ts +2 -2
  827. package/dist/testimonials-wall-compact.d.cts +2 -2
  828. package/dist/testimonials-wall-compact.d.ts +2 -2
  829. package/dist/timeline-ai-workflow-cards.d.cts +2 -2
  830. package/dist/timeline-ai-workflow-cards.d.ts +2 -2
  831. package/dist/timeline-alternating-diagonal.d.cts +2 -2
  832. package/dist/timeline-alternating-diagonal.d.ts +2 -2
  833. package/dist/timeline-changelog-badges.d.cts +2 -2
  834. package/dist/timeline-changelog-badges.d.ts +2 -2
  835. package/dist/timeline-history-prose.d.cts +2 -2
  836. package/dist/timeline-history-prose.d.ts +2 -2
  837. package/dist/timeline-horizontal-icons.d.cts +2 -2
  838. package/dist/timeline-horizontal-icons.d.ts +2 -2
  839. package/dist/timeline-horizontal-phases.d.cts +2 -2
  840. package/dist/timeline-horizontal-phases.d.ts +2 -2
  841. package/dist/timeline-product-launch.d.cts +2 -2
  842. package/dist/timeline-product-launch.d.ts +2 -2
  843. package/dist/timeline-productivity-list.d.cts +2 -2
  844. package/dist/timeline-productivity-list.d.ts +2 -2
  845. package/dist/timeline-scroll-highlight.d.cts +2 -2
  846. package/dist/timeline-scroll-highlight.d.ts +2 -2
  847. package/dist/timeline-scroll-sticky-image.d.cts +2 -2
  848. package/dist/timeline-scroll-sticky-image.d.ts +2 -2
  849. package/dist/timeline-stepper-animated.d.cts +2 -2
  850. package/dist/timeline-stepper-animated.d.ts +2 -2
  851. package/dist/timeline-tabbed-phases.d.cts +2 -2
  852. package/dist/timeline-tabbed-phases.d.ts +2 -2
  853. package/dist/timeline-two-column-featured.d.cts +2 -2
  854. package/dist/timeline-two-column-featured.d.ts +2 -2
  855. package/dist/timeline-vertical-icon-dashed.d.cts +2 -2
  856. package/dist/timeline-vertical-icon-dashed.d.ts +2 -2
  857. package/dist/types.d.cts +2 -2
  858. package/dist/types.d.ts +2 -2
  859. package/package.json +1 -1
package/dist/registry.js CHANGED
@@ -47057,6 +47057,166 @@ var NavbarCenteredMenu = ({
47057
47057
  }
47058
47058
  );
47059
47059
  };
47060
+ var DesktopMenuItem = ({ link, index, optixFlowConfig }) => {
47061
+ const imagesRef = React11.useRef([]);
47062
+ const layout = link.layout || "simple-grid";
47063
+ const handleMouseEnter = (event) => {
47064
+ const index2 = Number(event.currentTarget.getAttribute("data-index"));
47065
+ if (link.links && imagesRef.current[index2]) {
47066
+ imagesRef.current.forEach((img, i) => {
47067
+ img.classList.toggle("opacity-100", i === index2);
47068
+ img.classList.toggle("opacity-0", i !== index2);
47069
+ });
47070
+ }
47071
+ };
47072
+ const handleMouseLeave = () => {
47073
+ imagesRef.current.forEach((img) => {
47074
+ img.classList.remove("opacity-100");
47075
+ img.classList.add("opacity-0");
47076
+ });
47077
+ if (imagesRef.current[0]) {
47078
+ imagesRef.current[0].classList.add("opacity-100");
47079
+ }
47080
+ };
47081
+ if (layout === "animated-image-preview" && link.links) {
47082
+ return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
47083
+ /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60", children: link.title }),
47084
+ /* @__PURE__ */ jsx(NavigationMenuContent, { className: "!rounded-2xl !p-0", children: /* @__PURE__ */ jsxs("div", { className: "grid min-h-[18.75rem] w-[45.25rem] grid-cols-[22.5rem_1fr] gap-4 p-3", children: [
47085
+ /* @__PURE__ */ jsx("div", { className: "relative aspect-square w-full overflow-hidden rounded-xl", children: link.links.map((item, idx) => /* @__PURE__ */ jsx(
47086
+ Img,
47087
+ {
47088
+ ref: (el) => {
47089
+ if (el) {
47090
+ imagesRef.current[idx] = el;
47091
+ }
47092
+ },
47093
+ src: item.image || "",
47094
+ alt: item.label,
47095
+ className: cn(
47096
+ "absolute top-0 left-0 h-full w-full object-cover transition-opacity duration-300",
47097
+ idx === 0 ? "opacity-100" : "opacity-0"
47098
+ ),
47099
+ optixFlowConfig
47100
+ },
47101
+ idx
47102
+ )) }),
47103
+ /* @__PURE__ */ jsxs("div", { children: [
47104
+ /* @__PURE__ */ jsx("div", { className: "p-4 leading-normal font-bold", children: link.title }),
47105
+ /* @__PURE__ */ jsx("ul", { children: link.links.map((item, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
47106
+ NavigationMenuLink,
47107
+ {
47108
+ href: item.url,
47109
+ className: "flex items-center gap-4 rounded-lg px-4 py-3 hover:bg-muted",
47110
+ "data-index": idx,
47111
+ onMouseEnter: handleMouseEnter,
47112
+ onMouseLeave: handleMouseLeave,
47113
+ children: /* @__PURE__ */ jsxs("div", { children: [
47114
+ /* @__PURE__ */ jsx("h3", { className: "leading-normal font-medium", children: item.label }),
47115
+ item.description && /* @__PURE__ */ jsx("p", { className: "leading-normal text-muted-foreground", children: item.description })
47116
+ ] })
47117
+ }
47118
+ ) }, `desktop-nav-sublink-${idx}`)) })
47119
+ ] })
47120
+ ] }) })
47121
+ ] }, `desktop-menu-item-${index}`);
47122
+ }
47123
+ if (layout === "simple-grid" && link.gridItems) {
47124
+ return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
47125
+ /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60", children: link.title }),
47126
+ /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[520px] p-6", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2", children: link.gridItems.map((item, itemIndex) => /* @__PURE__ */ jsxs(
47127
+ NavigationMenuLink,
47128
+ {
47129
+ href: item.href,
47130
+ className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
47131
+ children: [
47132
+ item.imgUrl && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
47133
+ Img,
47134
+ {
47135
+ src: item.imgUrl,
47136
+ alt: item.title,
47137
+ className: "h-full w-full object-cover object-center",
47138
+ optixFlowConfig
47139
+ }
47140
+ ) }),
47141
+ !item.imgUrl && item.icon && /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 18 }) }),
47142
+ /* @__PURE__ */ jsxs("div", { children: [
47143
+ /* @__PURE__ */ jsx("div", { className: "text-base", children: item.title }),
47144
+ item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
47145
+ ] })
47146
+ ]
47147
+ },
47148
+ `${item.title}-${itemIndex}`
47149
+ )) }) })
47150
+ ] }, `desktop-menu-item-${index}`);
47151
+ }
47152
+ if (layout === "list-with-icons" && link.listItems) {
47153
+ return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
47154
+ /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60", children: link.title }),
47155
+ /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[400px] p-4", children: /* @__PURE__ */ jsx("ul", { className: "flex flex-col gap-1", children: link.listItems.map((item, itemIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
47156
+ NavigationMenuLink,
47157
+ {
47158
+ href: item.href,
47159
+ className: "flex items-start gap-3 rounded-lg p-3 hover:bg-muted",
47160
+ children: [
47161
+ item.icon && /* @__PURE__ */ jsx("div", { className: "flex h-8 w-8 items-center justify-center rounded-md bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 16 }) }),
47162
+ /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
47163
+ /* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.title }),
47164
+ item.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
47165
+ ] })
47166
+ ]
47167
+ }
47168
+ ) }, `${item.title}-${itemIndex}`)) }) })
47169
+ ] }, `desktop-menu-item-${index}`);
47170
+ }
47171
+ return null;
47172
+ };
47173
+ var MobileSubmenu = ({ submenu, mobileMenuClassName, optixFlowConfig }) => {
47174
+ submenu.layout || "simple-grid";
47175
+ const items = submenu.links || submenu.gridItems || submenu.listItems || [];
47176
+ return /* @__PURE__ */ jsxs(
47177
+ "div",
47178
+ {
47179
+ className: cn(
47180
+ "fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
47181
+ mobileMenuClassName
47182
+ ),
47183
+ children: [
47184
+ /* @__PURE__ */ jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: submenu.title }),
47185
+ items.map((item, index) => {
47186
+ const title = item.title || item.label;
47187
+ const href = item.href || item.url;
47188
+ const description = item.description;
47189
+ const icon = item.icon || item.iconName;
47190
+ const imgUrl = item.imgUrl || item.image;
47191
+ return /* @__PURE__ */ jsxs(
47192
+ Pressable,
47193
+ {
47194
+ href,
47195
+ className: "flex items-start gap-4 border-b border-border px-8 py-5",
47196
+ children: [
47197
+ imgUrl && /* @__PURE__ */ jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
47198
+ Img,
47199
+ {
47200
+ src: imgUrl,
47201
+ alt: title,
47202
+ className: "h-full w-full object-cover object-center",
47203
+ optixFlowConfig
47204
+ }
47205
+ ) }),
47206
+ !imgUrl && icon && /* @__PURE__ */ jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: icon, size: 16 }) }),
47207
+ /* @__PURE__ */ jsxs("div", { children: [
47208
+ /* @__PURE__ */ jsx("div", { className: "text-base", children: title }),
47209
+ description && /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: description })
47210
+ ] })
47211
+ ]
47212
+ },
47213
+ `${title}-${index}`
47214
+ );
47215
+ })
47216
+ ]
47217
+ }
47218
+ );
47219
+ };
47060
47220
  var NavbarMegaMenu = ({
47061
47221
  className,
47062
47222
  containerClassName,
@@ -47071,12 +47231,8 @@ var NavbarMegaMenu = ({
47071
47231
  mobileSrc: logoPlaceholders.logoMark
47072
47232
  },
47073
47233
  logoSlot,
47074
- solutions,
47075
- useCases,
47076
- documentationLinks,
47077
- resources,
47078
- authActions,
47079
- authActionsSlot,
47234
+ menuLinks,
47235
+ actions,
47080
47236
  background = "white",
47081
47237
  spacing = "none",
47082
47238
  pattern,
@@ -47084,49 +47240,56 @@ var NavbarMegaMenu = ({
47084
47240
  optixFlowConfig
47085
47241
  }) => {
47086
47242
  const [open, setOpen] = useState(false);
47087
- const [submenu, setSubmenu] = useState(null);
47243
+ const [submenuIndex, setSubmenuIndex] = useState(null);
47244
+ const activeSubmenu = submenuIndex !== null ? menuLinks?.[submenuIndex] : null;
47088
47245
  const renderLogo = () => {
47089
47246
  if (logoSlot) return logoSlot;
47090
47247
  if (!logo) return null;
47091
- return /* @__PURE__ */ jsxs(Pressable, { href: logo.url || "/", className: cn("flex items-center gap-2", logoClassName), children: [
47092
- /* @__PURE__ */ jsx(
47093
- Img,
47094
- {
47095
- src: logo.desktopSrc || logoPlaceholders.darkHorizontalLogo,
47096
- className: cn("hidden h-7 dark:invert md:block", logo.className),
47097
- alt: logo.alt || "Logo",
47098
- optixFlowConfig
47099
- }
47100
- ),
47101
- /* @__PURE__ */ jsx(
47102
- Img,
47103
- {
47104
- src: logo.mobileSrc || logoPlaceholders.logoMark,
47105
- className: cn("h-7 dark:invert md:hidden", logo.className),
47106
- alt: logo.alt || "Logo",
47107
- optixFlowConfig
47108
- }
47109
- )
47110
- ] });
47248
+ return /* @__PURE__ */ jsxs(
47249
+ Pressable,
47250
+ {
47251
+ href: logo.url || "/",
47252
+ className: cn("flex items-center gap-2", logoClassName),
47253
+ children: [
47254
+ /* @__PURE__ */ jsx(
47255
+ Img,
47256
+ {
47257
+ src: logo.desktopSrc || logoPlaceholders.darkHorizontalLogo,
47258
+ className: cn("hidden h-7 dark:invert md:block", logo.className),
47259
+ alt: logo.alt || "Logo",
47260
+ optixFlowConfig
47261
+ }
47262
+ ),
47263
+ /* @__PURE__ */ jsx(
47264
+ Img,
47265
+ {
47266
+ src: logo.mobileSrc || logoPlaceholders.logoMark,
47267
+ className: cn("h-7 dark:invert md:hidden", logo.className),
47268
+ alt: logo.alt || "Logo",
47269
+ optixFlowConfig
47270
+ }
47271
+ )
47272
+ ]
47273
+ }
47274
+ );
47111
47275
  };
47112
- const renderAuthActions = () => {
47113
- if (authActionsSlot) return authActionsSlot;
47114
- if (!authActions || authActions.length === 0) return null;
47115
- return authActions.map((action, index) => {
47116
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
47117
- return /* @__PURE__ */ jsx(
47118
- Pressable,
47119
- {
47120
- className: actionClassName,
47121
- ...pressableProps,
47122
- children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
47123
- icon,
47124
- label,
47125
- iconAfter
47126
- ] })
47127
- },
47128
- index
47129
- );
47276
+ const hasDropdownItems = (link) => Boolean(link.links?.length || link.gridItems?.length || link.listItems?.length);
47277
+ const renderActions = () => {
47278
+ if (!actions || actions.length === 0) return null;
47279
+ return actions.map((action, index) => {
47280
+ const {
47281
+ label,
47282
+ icon,
47283
+ iconAfter,
47284
+ children,
47285
+ className: actionClassName,
47286
+ ...pressableProps
47287
+ } = action;
47288
+ return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
47289
+ icon,
47290
+ label,
47291
+ iconAfter
47292
+ ] }) }, index);
47130
47293
  });
47131
47294
  };
47132
47295
  return /* @__PURE__ */ jsx(
@@ -47137,404 +47300,160 @@ var NavbarMegaMenu = ({
47137
47300
  className: cn("inset-x-0 top-0 z-20", className),
47138
47301
  pattern,
47139
47302
  patternOpacity,
47140
- children: /* @__PURE__ */ jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxs(NavigationMenu, { className: cn("min-w-full [&>div:last-child]:left-1/2 [&>div:last-child]:-translate-x-1/2", navClassName), children: [
47141
- /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
47142
- /* @__PURE__ */ jsxs("div", { children: [
47143
- (!open || !submenu) && renderLogo(),
47144
- open && submenu && /* @__PURE__ */ jsxs(
47145
- Pressable,
47146
- {
47147
- variant: "outline",
47148
- asButton: true,
47149
- onClick: () => setSubmenu(null),
47150
- children: [
47151
- "Back",
47152
- /* @__PURE__ */ jsx(
47153
- DynamicIcon,
47154
- {
47155
- name: "lucide/chevron-left",
47156
- size: 16,
47157
- className: "ml-2"
47158
- }
47159
- )
47160
- ]
47161
- }
47162
- )
47163
- ] }),
47164
- /* @__PURE__ */ jsxs(NavigationMenuList, { className: cn("hidden lg:flex", navigationMenuListClassName), children: [
47165
- /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
47166
- /* @__PURE__ */ jsx(NavigationMenuTrigger, { children: "Platform" }),
47167
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxs("div", { className: "flex justify-between gap-8", children: [
47168
- /* @__PURE__ */ jsx(
47169
- NavigationMenuLink,
47303
+ children: /* @__PURE__ */ jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxs(
47304
+ NavigationMenu,
47305
+ {
47306
+ className: cn(
47307
+ "min-w-full [&>div:last-child]:left-1/2 [&>div:last-child]:-translate-x-1/2",
47308
+ navClassName
47309
+ ),
47310
+ children: [
47311
+ /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
47312
+ /* @__PURE__ */ jsxs("div", { children: [
47313
+ (!open || submenuIndex === null) && renderLogo(),
47314
+ open && submenuIndex !== null && /* @__PURE__ */ jsxs(
47315
+ Pressable,
47170
47316
  {
47171
- href: "#",
47172
- className: "group w-1/3 p-0 hover:bg-transparent",
47173
- children: /* @__PURE__ */ jsxs("div", { className: "overflow-clip rounded-lg border border-input bg-background", children: [
47174
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
47175
- Img,
47317
+ variant: "outline",
47318
+ asButton: true,
47319
+ onClick: () => setSubmenuIndex(null),
47320
+ children: [
47321
+ "Back",
47322
+ /* @__PURE__ */ jsx(
47323
+ DynamicIcon,
47176
47324
  {
47177
- src: imagePlaceholders[0],
47178
- alt: "Platform overview",
47179
- className: "aspect-4/3 object-cover object-center",
47180
- optixFlowConfig
47325
+ name: "lucide/chevron-left",
47326
+ size: 16,
47327
+ className: "ml-2"
47181
47328
  }
47182
- ) }),
47183
- /* @__PURE__ */ jsxs("div", { className: "p-5 xl:p-8", children: [
47184
- /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: "Platform Overview" }),
47185
- /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: "Discover how our platform transforms your workflow." })
47186
- ] })
47187
- ] })
47329
+ )
47330
+ ]
47188
47331
  }
47189
- ),
47190
- /* @__PURE__ */ jsxs("div", { className: "max-w-[760px] flex-1", children: [
47191
- /* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: "Solutions" }),
47192
- /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8", children: solutions?.map((solution, index) => /* @__PURE__ */ jsxs(
47193
- NavigationMenuLink,
47194
- {
47195
- href: solution.href,
47196
- className: "group block p-4",
47197
- children: [
47198
- /* @__PURE__ */ jsx("div", { className: "mb-5 group-hover:opacity-60", children: /* @__PURE__ */ jsx(DynamicIcon, { name: solution.icon, size: 20 }) }),
47199
- /* @__PURE__ */ jsx("div", { className: "mb-1 text-base", children: solution.title }),
47200
- /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: solution.description })
47201
- ]
47202
- },
47203
- index
47204
- )) })
47205
- ] })
47206
- ] }) })
47207
- ] }),
47208
- /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
47209
- /* @__PURE__ */ jsx(NavigationMenuTrigger, { children: "Use cases" }),
47210
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxs("div", { className: "flex justify-between gap-4", children: [
47211
- /* @__PURE__ */ jsxs("div", { className: "w-1/2 max-w-[510px]", children: [
47212
- /* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: "Use cases" }),
47213
- /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-4", children: useCases?.map((useCase, index) => /* @__PURE__ */ jsxs(
47214
- NavigationMenuLink,
47215
- {
47216
- href: useCase.href,
47217
- className: "group flex flex-row items-center gap-5",
47218
- children: [
47219
- /* @__PURE__ */ jsx("div", { className: "group-hover:opacity-60", children: /* @__PURE__ */ jsx(DynamicIcon, { name: useCase.icon, size: 16 }) }),
47220
- /* @__PURE__ */ jsx("div", { className: "text-base", children: useCase.title })
47221
- ]
47222
- },
47223
- index
47224
- )) })
47225
- ] }),
47226
- /* @__PURE__ */ jsx(
47227
- NavigationMenuLink,
47228
- {
47229
- href: "#",
47230
- className: "group flex-1 p-0 hover:bg-transparent",
47231
- children: /* @__PURE__ */ jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
47232
- /* @__PURE__ */ jsx("div", { className: "w-2/5 max-w-[310px] shrink-0 overflow-clip rounded-tl-lg rounded-bl-lg", children: /* @__PURE__ */ jsx(
47233
- Img,
47332
+ )
47333
+ ] }),
47334
+ /* @__PURE__ */ jsx(
47335
+ NavigationMenuList,
47336
+ {
47337
+ className: cn("hidden lg:flex", navigationMenuListClassName),
47338
+ children: menuLinks?.map((link, index) => {
47339
+ if (hasDropdownItems(link)) {
47340
+ return /* @__PURE__ */ jsx(
47341
+ DesktopMenuItem,
47234
47342
  {
47235
- src: imagePlaceholders[1],
47236
- alt: "Use case",
47237
- className: "h-full w-full object-cover object-center",
47343
+ link,
47344
+ index,
47238
47345
  optixFlowConfig
47239
- }
47240
- ) }),
47241
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5 xl:p-8", children: [
47242
- /* @__PURE__ */ jsx("div", { className: "mb-8 text-xs tracking-widest text-muted-foreground uppercase", children: "For user persona" }),
47243
- /* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
47244
- /* @__PURE__ */ jsx("div", { className: "mb-4 text-xl", children: "Call to action for user persona" }),
47245
- /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: "Tailored solutions designed specifically for your team's unique needs." })
47246
- ] })
47247
- ] })
47248
- ] })
47249
- }
47250
- )
47251
- ] }) })
47252
- ] }),
47253
- /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
47254
- /* @__PURE__ */ jsx(NavigationMenuTrigger, { children: "Developers" }),
47255
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxs("div", { className: "flex justify-between gap-8", children: [
47256
- /* @__PURE__ */ jsxs("div", { className: "w-1/3 max-w-[404px]", children: [
47257
- /* @__PURE__ */ jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: "Documentation" }),
47258
- /* @__PURE__ */ jsx("div", { className: "mb-6 text-sm font-normal text-muted-foreground", children: "Call to action for developers" }),
47259
- /* @__PURE__ */ jsx("div", { className: "-ml-2.5 space-y-2.5", children: documentationLinks?.map((link, index) => /* @__PURE__ */ jsxs(
47260
- NavigationMenuLink,
47261
- {
47262
- href: link.href,
47263
- className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
47264
- children: [
47265
- /* @__PURE__ */ jsx(
47266
- DynamicIcon,
47267
- {
47268
- name: "lucide/arrow-up-right",
47269
- size: 16
47270
- }
47271
- ),
47272
- /* @__PURE__ */ jsx("div", { className: "text-base", children: link.title })
47273
- ]
47274
- },
47275
- index
47276
- )) })
47277
- ] }),
47278
- /* @__PURE__ */ jsxs("div", { className: "max-w-[716px] flex-1 space-y-6", children: [
47279
- /* @__PURE__ */ jsxs(
47280
- NavigationMenuLink,
47281
- {
47282
- href: "#",
47283
- className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
47284
- children: [
47285
- /* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
47286
- /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: "Showcase link" }),
47287
- /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: "Explore real-world implementations and success stories from our community." })
47288
- ] }),
47289
- /* @__PURE__ */ jsx("div", { className: "h-[154px] max-w-[264px] shrink-0", children: /* @__PURE__ */ jsx(
47290
- Img,
47291
- {
47292
- src: imagePlaceholders[2],
47293
- alt: "Showcase",
47294
- className: "h-full w-full object-cover object-center",
47295
- optixFlowConfig
47296
- }
47297
- ) })
47298
- ]
47346
+ },
47347
+ `${link.title}-${index}`
47348
+ );
47349
+ }
47350
+ if (!link.url) {
47351
+ return null;
47299
47352
  }
47353
+ return /* @__PURE__ */ jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsx(
47354
+ NavigationMenuLink,
47355
+ {
47356
+ href: link.url,
47357
+ className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-accent-foreground",
47358
+ children: link.title
47359
+ }
47360
+ ) }, `${link.title}-${index}`);
47361
+ })
47362
+ }
47363
+ ),
47364
+ /* @__PURE__ */ jsx(
47365
+ "div",
47366
+ {
47367
+ className: cn(
47368
+ "hidden items-center gap-2 lg:flex",
47369
+ actionsClassName
47300
47370
  ),
47301
- /* @__PURE__ */ jsxs(
47302
- NavigationMenuLink,
47303
- {
47304
- href: "#",
47305
- className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
47306
- children: [
47307
- /* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
47308
- /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: "Another showcase link" }),
47309
- /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: "Learn best practices and advanced techniques from expert developers." })
47310
- ] }),
47311
- /* @__PURE__ */ jsx("div", { className: "h-[154px] max-w-[264px] shrink-0", children: /* @__PURE__ */ jsx(
47312
- Img,
47313
- {
47314
- src: imagePlaceholders[3],
47315
- alt: "Showcase",
47316
- className: "h-full w-full object-cover object-center",
47317
- optixFlowConfig
47318
- }
47319
- ) })
47320
- ]
47371
+ children: renderActions()
47372
+ }
47373
+ ),
47374
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxs(
47375
+ Pressable,
47376
+ {
47377
+ variant: "outline",
47378
+ size: "icon",
47379
+ asButton: true,
47380
+ "aria-label": "Main Menu",
47381
+ onClick: () => {
47382
+ if (open) {
47383
+ setOpen(false);
47384
+ setSubmenuIndex(null);
47385
+ } else {
47386
+ setOpen(true);
47321
47387
  }
47322
- )
47323
- ] })
47324
- ] }) })
47388
+ },
47389
+ children: [
47390
+ !open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
47391
+ open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
47392
+ ]
47393
+ }
47394
+ ) })
47325
47395
  ] }),
47326
- /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
47327
- /* @__PURE__ */ jsx(NavigationMenuTrigger, { children: "Resources" }),
47328
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[900px] p-8", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
47329
- /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col", children: [
47330
- /* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: "Resources" }),
47331
- /* @__PURE__ */ jsx("div", { className: "grid flex-1 grid-cols-1 gap-6 md:grid-cols-2", children: resources?.map((resource, index) => /* @__PURE__ */ jsx(
47332
- NavigationMenuLink,
47333
- {
47334
- href: resource.href,
47335
- className: "flex h-full flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
47336
- children: /* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
47337
- /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: resource.title }),
47338
- /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: resource.description })
47339
- ] })
47340
- },
47341
- index
47342
- )) })
47343
- ] }),
47344
- /* @__PURE__ */ jsxs("div", { children: [
47345
- /* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: "Customers" }),
47346
- /* @__PURE__ */ jsxs(
47347
- NavigationMenuLink,
47348
- {
47349
- href: "#",
47350
- className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
47351
- children: [
47352
- /* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
47353
- /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: "Customers" }),
47354
- /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: "See how leading companies leverage our platform to drive innovation." })
47355
- ] }),
47356
- /* @__PURE__ */ jsx("div", { className: "w-1/3 max-w-[130px] shrink-0", children: /* @__PURE__ */ jsx(
47357
- Img,
47358
- {
47359
- src: imagePlaceholders[4],
47360
- alt: "Customers",
47361
- className: "h-full w-full object-cover object-center",
47362
- optixFlowConfig
47363
- }
47364
- ) })
47365
- ]
47396
+ open && submenuIndex === null && /* @__PURE__ */ jsxs(
47397
+ "div",
47398
+ {
47399
+ className: cn(
47400
+ "fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
47401
+ mobileMenuClassName
47402
+ ),
47403
+ children: [
47404
+ /* @__PURE__ */ jsx("div", { children: menuLinks?.map((link, index) => {
47405
+ if (hasDropdownItems(link)) {
47406
+ return /* @__PURE__ */ jsxs(
47407
+ "button",
47408
+ {
47409
+ type: "button",
47410
+ className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
47411
+ onClick: () => setSubmenuIndex(index),
47412
+ children: [
47413
+ /* @__PURE__ */ jsx("span", { className: "flex-1", children: link.title }),
47414
+ /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
47415
+ ]
47416
+ },
47417
+ `${link.title}-${index}`
47418
+ );
47366
47419
  }
47367
- ),
47368
- /* @__PURE__ */ jsxs(
47369
- NavigationMenuLink,
47420
+ if (!link.url) {
47421
+ return null;
47422
+ }
47423
+ return /* @__PURE__ */ jsx(
47424
+ Pressable,
47425
+ {
47426
+ href: link.url,
47427
+ className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
47428
+ children: /* @__PURE__ */ jsx("span", { className: "flex-1", children: link.title })
47429
+ },
47430
+ `${link.title}-${index}`
47431
+ );
47432
+ }) }),
47433
+ /* @__PURE__ */ jsx(
47434
+ "div",
47370
47435
  {
47371
- href: "#",
47372
- className: "flex flex-row items-center gap-3 rounded-lg bg-secondary/30 p-3 hover:bg-secondary/80 focus:bg-secondary/80",
47373
- children: [
47374
- /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: "NEW" }),
47375
- /* @__PURE__ */ jsx("span", { className: "text-sm text-ellipsis text-secondary-foreground", children: "Introducing our latest feature: enhanced analytics dashboard" })
47376
- ]
47436
+ className: cn(
47437
+ "mx-8 mt-auto flex flex-col gap-4 py-12",
47438
+ actionsClassName
47439
+ ),
47440
+ children: renderActions()
47377
47441
  }
47378
47442
  )
47379
- ] })
47380
- ] }) })
47381
- ] })
47382
- ] }),
47383
- /* @__PURE__ */ jsx("div", { className: cn("hidden items-center gap-2 lg:flex", actionsClassName), children: renderAuthActions() }),
47384
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxs(
47385
- Pressable,
47386
- {
47387
- variant: "outline",
47388
- size: "icon",
47389
- asButton: true,
47390
- "aria-label": "Main Menu",
47391
- onClick: () => {
47392
- if (open) {
47393
- setOpen(false);
47394
- setSubmenu(null);
47395
- } else {
47396
- setOpen(true);
47397
- }
47398
- },
47399
- children: [
47400
- !open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
47401
- open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
47402
- ]
47403
- }
47404
- ) })
47405
- ] }),
47406
- open && !submenu && /* @__PURE__ */ jsxs("div", { className: cn("fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
47407
- /* @__PURE__ */ jsxs("div", { children: [
47408
- /* @__PURE__ */ jsxs(
47409
- "button",
47410
- {
47411
- type: "button",
47412
- className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
47413
- onClick: () => setSubmenu("platform"),
47414
- children: [
47415
- /* @__PURE__ */ jsx("span", { className: "flex-1", children: "Platform" }),
47416
- /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
47417
- ]
47418
- }
47419
- ),
47420
- /* @__PURE__ */ jsxs(
47421
- "button",
47422
- {
47423
- type: "button",
47424
- className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
47425
- onClick: () => setSubmenu("usecases"),
47426
- children: [
47427
- /* @__PURE__ */ jsx("span", { className: "flex-1", children: "Use cases" }),
47428
- /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
47429
- ]
47430
- }
47431
- ),
47432
- /* @__PURE__ */ jsxs(
47433
- "button",
47434
- {
47435
- type: "button",
47436
- className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
47437
- onClick: () => setSubmenu("developers"),
47438
- children: [
47439
- /* @__PURE__ */ jsx("span", { className: "flex-1", children: "Developers" }),
47440
- /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
47441
47443
  ]
47442
47444
  }
47443
47445
  ),
47444
- /* @__PURE__ */ jsxs(
47445
- "button",
47446
+ open && activeSubmenu && hasDropdownItems(activeSubmenu) && /* @__PURE__ */ jsx(
47447
+ MobileSubmenu,
47446
47448
  {
47447
- type: "button",
47448
- className: "flex w-full items-center border-b border-border px-8 py-7 text-left",
47449
- onClick: () => setSubmenu("resources"),
47450
- children: [
47451
- /* @__PURE__ */ jsx("span", { className: "flex-1", children: "Resources" }),
47452
- /* @__PURE__ */ jsx("span", { className: "shrink-0", children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 }) })
47453
- ]
47454
- }
47455
- )
47456
- ] }),
47457
- /* @__PURE__ */ jsx("div", { className: cn("mx-8 mt-auto flex flex-col gap-4 py-12", actionsClassName), children: renderAuthActions() })
47458
- ] }),
47459
- open && submenu === "platform" && /* @__PURE__ */ jsxs("div", { className: cn("fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
47460
- /* @__PURE__ */ jsxs(Pressable, { href: "#", className: "block space-y-6 px-8 py-8", children: [
47461
- /* @__PURE__ */ jsx("div", { className: "w-full overflow-clip rounded-lg", children: /* @__PURE__ */ jsx(
47462
- Img,
47463
- {
47464
- src: imagePlaceholders[0],
47465
- alt: "Platform overview",
47466
- className: "aspect-2/1 h-full w-full object-cover object-center",
47449
+ submenu: activeSubmenu,
47450
+ mobileMenuClassName,
47467
47451
  optixFlowConfig
47468
47452
  }
47469
- ) }),
47470
- /* @__PURE__ */ jsxs("div", { children: [
47471
- /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: "Platform Overview" }),
47472
- /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: "Discover how our platform transforms your workflow." })
47473
- ] })
47474
- ] }),
47475
- /* @__PURE__ */ jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: "Solutions" }),
47476
- solutions?.map((solution, index) => /* @__PURE__ */ jsxs(
47477
- Pressable,
47478
- {
47479
- href: solution.href,
47480
- className: "flex items-center gap-5 border-b border-border px-8 py-5",
47481
- children: [
47482
- /* @__PURE__ */ jsx(DynamicIcon, { name: solution.icon, size: 20 }),
47483
- /* @__PURE__ */ jsxs("div", { children: [
47484
- /* @__PURE__ */ jsx("div", { className: "text-base", children: solution.title }),
47485
- /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: solution.description })
47486
- ] })
47487
- ]
47488
- },
47489
- index
47490
- ))
47491
- ] }),
47492
- open && submenu === "usecases" && /* @__PURE__ */ jsxs("div", { className: cn("fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
47493
- /* @__PURE__ */ jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: "Use cases" }),
47494
- useCases?.map((useCase, index) => /* @__PURE__ */ jsxs(
47495
- Pressable,
47496
- {
47497
- href: useCase.href,
47498
- className: "flex items-center gap-5 border-b border-border px-8 py-5",
47499
- children: [
47500
- /* @__PURE__ */ jsx(DynamicIcon, { name: useCase.icon, size: 16 }),
47501
- /* @__PURE__ */ jsx("div", { className: "text-base", children: useCase.title })
47502
- ]
47503
- },
47504
- index
47505
- ))
47506
- ] }),
47507
- open && submenu === "developers" && /* @__PURE__ */ jsxs("div", { className: cn("fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
47508
- /* @__PURE__ */ jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: "Documentation" }),
47509
- documentationLinks?.map((link, index) => /* @__PURE__ */ jsxs(
47510
- Pressable,
47511
- {
47512
- href: link.href,
47513
- className: "flex items-center gap-5 border-b border-border px-8 py-5",
47514
- children: [
47515
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 16 }),
47516
- /* @__PURE__ */ jsx("div", { className: "text-base", children: link.title })
47517
- ]
47518
- },
47519
- index
47520
- ))
47521
- ] }),
47522
- open && submenu === "resources" && /* @__PURE__ */ jsxs("div", { className: cn("fixed inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
47523
- /* @__PURE__ */ jsx("div", { className: "px-8 py-3.5 text-xs tracking-widest text-muted-foreground uppercase", children: "Resources" }),
47524
- resources?.map((resource, index) => /* @__PURE__ */ jsx(
47525
- Pressable,
47526
- {
47527
- href: resource.href,
47528
- className: "flex items-center gap-5 border-b border-border px-8 py-5",
47529
- children: /* @__PURE__ */ jsxs("div", { children: [
47530
- /* @__PURE__ */ jsx("div", { className: "text-base", children: resource.title }),
47531
- /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: resource.description })
47532
- ] })
47533
- },
47534
- index
47535
- ))
47536
- ] })
47537
- ] }) })
47453
+ )
47454
+ ]
47455
+ }
47456
+ ) })
47538
47457
  }
47539
47458
  );
47540
47459
  };
@@ -47551,16 +47470,9 @@ var NavbarEnterpriseMega = ({
47551
47470
  src: logoPlaceholders.logoMark
47552
47471
  },
47553
47472
  logoSlot,
47554
- navigation,
47555
- solutions,
47556
- solutionTechnologies,
47557
- productCategories,
47558
- globalCategories,
47559
- regions,
47560
- resources,
47561
- topicGroups,
47562
- authActions,
47563
- authActionsSlot,
47473
+ menuLinks,
47474
+ actions,
47475
+ actionsSlot,
47564
47476
  background = "white",
47565
47477
  spacing = "none",
47566
47478
  pattern,
@@ -47607,10 +47519,10 @@ var NavbarEnterpriseMega = ({
47607
47519
  }
47608
47520
  );
47609
47521
  };
47610
- const renderAuthActions = () => {
47611
- if (authActionsSlot) return authActionsSlot;
47612
- if (!authActions || authActions.length === 0) return null;
47613
- return authActions.map((action, index) => {
47522
+ const renderActions = () => {
47523
+ if (actionsSlot) return actionsSlot;
47524
+ if (!actions || actions.length === 0) return null;
47525
+ return actions.map((action, index) => {
47614
47526
  const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
47615
47527
  return /* @__PURE__ */ jsx(
47616
47528
  Pressable,
@@ -47641,24 +47553,17 @@ var NavbarEnterpriseMega = ({
47641
47553
  patternOpacity,
47642
47554
  children: /* @__PURE__ */ jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxs("div", { className: cn("flex h-16 items-center justify-between gap-8", navClassName), children: [
47643
47555
  renderLogo(),
47644
- /* @__PURE__ */ jsx(NavigationMenu, { className: cn("hidden lg:flex", navigationMenuClassName), viewport: false, children: /* @__PURE__ */ jsx(NavigationMenuList, { children: navigation?.map((item, index) => /* @__PURE__ */ jsx(
47645
- DesktopMenuItem,
47556
+ /* @__PURE__ */ jsx(NavigationMenu, { className: cn("hidden lg:flex", navigationMenuClassName), viewport: false, children: /* @__PURE__ */ jsx(NavigationMenuList, { children: menuLinks?.map((item, index) => /* @__PURE__ */ jsx(
47557
+ DesktopMenuItem2,
47646
47558
  {
47647
47559
  item,
47648
47560
  index,
47649
- solutions: solutions ?? [],
47650
- solutionTechnologies: solutionTechnologies ?? [],
47651
- productCategories: productCategories ?? [],
47652
- globalCategories: globalCategories ?? [],
47653
- regions: regions ?? [],
47654
- resources: resources ?? [],
47655
- topicGroups: topicGroups ?? [],
47656
47561
  optixFlowConfig
47657
47562
  },
47658
47563
  `desktop-link-${index}`
47659
47564
  )) }) }),
47660
47565
  /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-3", actionsClassName), children: [
47661
- /* @__PURE__ */ jsx("div", { className: "hidden lg:flex lg:items-center lg:gap-3", children: renderAuthActions() }),
47566
+ /* @__PURE__ */ jsx("div", { className: "hidden lg:flex lg:items-center lg:gap-3", children: renderActions() }),
47662
47567
  /* @__PURE__ */ jsx("div", { className: "lg:hidden", children: /* @__PURE__ */ jsx(
47663
47568
  Pressable,
47664
47569
  {
@@ -47692,92 +47597,108 @@ var NavbarEnterpriseMega = ({
47692
47597
  MobileNavigationMenu,
47693
47598
  {
47694
47599
  open,
47695
- navigation: navigation ?? [],
47696
- solutions: solutions ?? [],
47697
- productCategories: productCategories ?? [],
47698
- resources: resources ?? [],
47600
+ menuLinks: menuLinks ?? [],
47699
47601
  actionsClassName,
47700
- authActions,
47701
- authActionsSlot,
47602
+ actions,
47603
+ actionsSlot,
47702
47604
  optixFlowConfig
47703
47605
  }
47704
47606
  )
47705
47607
  ] });
47706
47608
  };
47707
- var DesktopMenuItem = ({
47609
+ var DesktopMenuItem2 = ({
47708
47610
  item,
47709
47611
  index,
47710
- solutions,
47711
- solutionTechnologies,
47712
- productCategories,
47713
- globalCategories,
47714
- regions,
47715
- resources,
47716
- topicGroups,
47717
47612
  optixFlowConfig
47718
47613
  }) => {
47719
- if (item.menuType) {
47614
+ const hasDropdown = Boolean(item.layout);
47615
+ if (hasDropdown) {
47720
47616
  return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
47721
- /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-fit bg-transparent font-normal text-foreground/60", children: item.title }),
47722
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-0!", children: /* @__PURE__ */ jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
47723
- item.menuType === "solutions" && /* @__PURE__ */ jsx(
47724
- SolutionsMenu,
47725
- {
47726
- solutions,
47727
- solutionTechnologies,
47728
- optixFlowConfig
47729
- }
47730
- ),
47731
- item.menuType === "products" && /* @__PURE__ */ jsx(
47732
- ProductsMenu,
47733
- {
47734
- productCategories,
47735
- optixFlowConfig
47736
- }
47737
- ),
47738
- item.menuType === "global" && /* @__PURE__ */ jsx(
47739
- GlobalMenu,
47740
- {
47741
- globalCategories,
47742
- regions,
47743
- optixFlowConfig
47744
- }
47745
- ),
47746
- item.menuType === "partners" && /* @__PURE__ */ jsx(PartnersMenu, { optixFlowConfig }),
47747
- item.menuType === "resources" && /* @__PURE__ */ jsx(
47748
- ResourcesMenu,
47749
- {
47750
- resources,
47751
- topicGroups
47752
- }
47753
- )
47754
- ] }) }) })
47617
+ /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60", children: item.title }),
47618
+ /* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-xl! border-0! p-0!", children: /* @__PURE__ */ jsx("div", { className: "w-dvw px-8 pt-6 pb-12", children: /* @__PURE__ */ jsx("div", { className: "container", children: renderDropdownContent(item, optixFlowConfig) }) }) })
47755
47619
  ] }, `desktop-menu-item-${index}`);
47756
47620
  }
47757
47621
  return /* @__PURE__ */ jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsx(
47758
47622
  NavigationMenuLink,
47759
47623
  {
47760
47624
  href: item.url,
47761
- className: `${navigationMenuTriggerStyle()} h-fit bg-transparent font-normal text-foreground/60`,
47625
+ className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60",
47762
47626
  children: item.title
47763
47627
  }
47764
47628
  ) }, `desktop-menu-item-${index}`);
47765
47629
  };
47630
+ var renderDropdownContent = (item, optixFlowConfig) => {
47631
+ switch (item.layout) {
47632
+ case "solutions-with-platform":
47633
+ return /* @__PURE__ */ jsx(
47634
+ SolutionsMenu,
47635
+ {
47636
+ solutionCards: item.solutionCards ?? [],
47637
+ platformItems: item.platformItems ?? [],
47638
+ featuredHeroCard: item.featuredHeroCard,
47639
+ optixFlowConfig
47640
+ }
47641
+ );
47642
+ case "products-categorized":
47643
+ return /* @__PURE__ */ jsx(
47644
+ ProductsMenu,
47645
+ {
47646
+ productCategories: item.productCategories ?? [],
47647
+ featuredHeroCard: item.featuredHeroCard,
47648
+ optixFlowConfig
47649
+ }
47650
+ );
47651
+ case "features-with-locations":
47652
+ return /* @__PURE__ */ jsx(
47653
+ GlobalMenu,
47654
+ {
47655
+ featureCategories: item.featureCategories ?? [],
47656
+ regions: item.regions ?? [],
47657
+ featuredHeroCard: item.featuredHeroCard,
47658
+ optixFlowConfig
47659
+ }
47660
+ );
47661
+ case "partners-promotional":
47662
+ return /* @__PURE__ */ jsx(
47663
+ PartnersMenu,
47664
+ {
47665
+ partnerCards: item.partnerCards ?? [],
47666
+ featuredHeroCard: item.featuredHeroCard,
47667
+ optixFlowConfig
47668
+ }
47669
+ );
47670
+ case "resources-with-topics":
47671
+ return /* @__PURE__ */ jsx(
47672
+ ResourcesMenu,
47673
+ {
47674
+ resourceItems: item.resourceItems ?? [],
47675
+ topicGroups: item.topicGroups ?? [],
47676
+ featuredHeroCard: item.featuredHeroCard
47677
+ }
47678
+ );
47679
+ default:
47680
+ return null;
47681
+ }
47682
+ };
47766
47683
  var SolutionsMenu = ({
47767
- solutions,
47768
- solutionTechnologies,
47684
+ solutionCards,
47685
+ platformItems,
47686
+ featuredHeroCard,
47769
47687
  optixFlowConfig
47770
47688
  }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-8 sm:grid-cols-2", children: [
47771
- /* @__PURE__ */ jsx(
47689
+ featuredHeroCard && /* @__PURE__ */ jsx(
47772
47690
  Pressable,
47773
47691
  {
47774
- href: "#",
47775
- className: "group relative flex h-full flex-row overflow-hidden rounded-lg bg-primary px-0 pt-8 text-primary-foreground lg:rounded-xl lg:px-6",
47692
+ href: featuredHeroCard.href,
47693
+ className: cn(
47694
+ "group relative flex h-full flex-row overflow-hidden rounded-lg px-0 pt-8 text-primary-foreground lg:rounded-xl lg:px-6",
47695
+ featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
47696
+ ),
47776
47697
  children: /* @__PURE__ */ jsxs("div", { className: "relative flex w-full flex-col space-y-12 text-left md:space-y-8 lg:w-full lg:flex-row lg:justify-between lg:space-y-0 lg:space-x-6 xl:space-x-8", children: [
47777
47698
  /* @__PURE__ */ jsxs("div", { className: "relative flex flex-col px-6 lg:mb-6 lg:px-0", children: [
47778
- /* @__PURE__ */ jsx("span", { className: "mb-6 text-xs font-medium tracking-wider uppercase md:mb-8", children: "Transform Your Workflow" }),
47699
+ featuredHeroCard.subtitle && /* @__PURE__ */ jsx("span", { className: "mb-6 text-xs font-medium tracking-wider uppercase md:mb-8", children: featuredHeroCard.subtitle }),
47779
47700
  /* @__PURE__ */ jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs", children: [
47780
- "Discover Our Platform",
47701
+ featuredHeroCard.title,
47781
47702
  /* @__PURE__ */ jsx(
47782
47703
  DynamicIcon,
47783
47704
  {
@@ -47787,13 +47708,13 @@ var SolutionsMenu = ({
47787
47708
  }
47788
47709
  )
47789
47710
  ] }),
47790
- /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: "Streamline collaboration, automate workflows, and boost productivity across your organization." })
47711
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: featuredHeroCard.description })
47791
47712
  ] }),
47792
47713
  /* @__PURE__ */ jsx("div", { className: "relative aspect-2/1 overflow-clip rounded-t pl-6 lg:max-w-64 lg:pl-0 xl:max-w-96", children: /* @__PURE__ */ jsx(
47793
47714
  Img,
47794
47715
  {
47795
- src: imagePlaceholders[0],
47796
- alt: "placeholder",
47716
+ src: featuredHeroCard.image,
47717
+ alt: featuredHeroCard.title,
47797
47718
  className: "aspect-2/1 h-full w-full translate-y-px object-cover object-center",
47798
47719
  optixFlowConfig
47799
47720
  }
@@ -47801,9 +47722,9 @@ var SolutionsMenu = ({
47801
47722
  ] })
47802
47723
  }
47803
47724
  ),
47804
- /* @__PURE__ */ jsxs("div", { className: "order-last mt-3 sm:order-0 sm:mt-0 sm:py-2 md:p-6", children: [
47725
+ platformItems.length > 0 && /* @__PURE__ */ jsxs("div", { className: "order-last mt-3 sm:order-0 sm:mt-0 sm:py-2 md:p-6", children: [
47805
47726
  /* @__PURE__ */ jsx("div", { className: "mb-4 text-left leading-none md:col-span-2 lg:col-span-4 lg:mb-6", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Developer Platform" }) }),
47806
- /* @__PURE__ */ jsx("div", { className: "grid gap-4 lg:grid-cols-2", children: solutionTechnologies.map((technology) => /* @__PURE__ */ jsxs(
47727
+ /* @__PURE__ */ jsx("div", { className: "grid gap-4 lg:grid-cols-2", children: platformItems.map((technology) => /* @__PURE__ */ jsxs(
47807
47728
  NavigationMenuLink,
47808
47729
  {
47809
47730
  href: technology.href,
@@ -47824,7 +47745,7 @@ var SolutionsMenu = ({
47824
47745
  technology.id
47825
47746
  )) })
47826
47747
  ] }),
47827
- /* @__PURE__ */ jsx("div", { className: "col-span-full grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4 lg:gap-8", children: solutions.map((solution) => /* @__PURE__ */ jsxs("div", { className: "rounded-md border border-border p-5", children: [
47748
+ solutionCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "col-span-full grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4 lg:gap-8", children: solutionCards.map((solution) => /* @__PURE__ */ jsxs("div", { className: "rounded-md border border-border p-5", children: [
47828
47749
  /* @__PURE__ */ jsx("div", { className: "border-b border-border pb-4", children: /* @__PURE__ */ jsxs(
47829
47750
  Pressable,
47830
47751
  {
@@ -47870,26 +47791,30 @@ var SolutionsMenu = ({
47870
47791
  ] });
47871
47792
  var ProductsMenu = ({
47872
47793
  productCategories,
47794
+ featuredHeroCard,
47873
47795
  optixFlowConfig
47874
47796
  }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-12 lg:flex lg:space-x-8", children: [
47875
- /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsx(
47797
+ featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsx(
47876
47798
  Pressable,
47877
47799
  {
47878
- href: "#",
47879
- className: "group relative flex h-full flex-row overflow-hidden rounded-lg px-0 text-primary-foreground lg:rounded-xl",
47800
+ href: featuredHeroCard.href,
47801
+ className: cn(
47802
+ "group relative flex h-full flex-row overflow-hidden rounded-lg px-0 text-primary-foreground lg:rounded-xl",
47803
+ featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
47804
+ ),
47880
47805
  children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col text-left", children: [
47881
47806
  /* @__PURE__ */ jsx("div", { className: "relative flex aspect-2/1 max-h-44 w-full flex-1 justify-center", children: /* @__PURE__ */ jsx(
47882
47807
  Img,
47883
47808
  {
47884
- src: imagePlaceholders[5],
47885
- alt: "placeholder",
47809
+ src: featuredHeroCard.image,
47810
+ alt: featuredHeroCard.title,
47886
47811
  className: "h-full w-full object-cover object-center",
47887
47812
  optixFlowConfig
47888
47813
  }
47889
47814
  ) }),
47890
47815
  /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
47891
47816
  /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1 text-xs", children: [
47892
- "Enterprise Solutions",
47817
+ featuredHeroCard.title,
47893
47818
  /* @__PURE__ */ jsx(
47894
47819
  DynamicIcon,
47895
47820
  {
@@ -47899,12 +47824,12 @@ var ProductsMenu = ({
47899
47824
  }
47900
47825
  )
47901
47826
  ] }),
47902
- /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/70", children: "Scale your business with enterprise-grade features and support." })
47827
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/70", children: featuredHeroCard.description })
47903
47828
  ] })
47904
47829
  ] })
47905
47830
  }
47906
47831
  ) }),
47907
- /* @__PURE__ */ jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: productCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
47832
+ productCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: productCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
47908
47833
  /* @__PURE__ */ jsx("div", { className: "border-border text-left lg:border-b lg:pb-3", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
47909
47834
  /* @__PURE__ */ jsx("menu", { className: "grid md:grid-cols-3 md:gap-x-5 lg:gap-y-7", children: category.products.map((product) => /* @__PURE__ */ jsxs(
47910
47835
  NavigationMenuLink,
@@ -47940,29 +47865,33 @@ var ProductsMenu = ({
47940
47865
  ] }, category.title)) })
47941
47866
  ] });
47942
47867
  var GlobalMenu = ({
47943
- globalCategories,
47868
+ featureCategories,
47944
47869
  regions,
47870
+ featuredHeroCard,
47945
47871
  optixFlowConfig
47946
47872
  }) => /* @__PURE__ */ jsxs("div", { children: [
47947
47873
  /* @__PURE__ */ jsxs("div", { className: "space-y-6 lg:flex lg:space-y-0 lg:space-x-8", children: [
47948
- /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsx(
47874
+ featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "w-full shrink-0 lg:max-w-[18rem]", children: /* @__PURE__ */ jsx(
47949
47875
  Pressable,
47950
47876
  {
47951
- href: "#",
47952
- className: "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
47877
+ href: featuredHeroCard.href,
47878
+ className: cn(
47879
+ "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
47880
+ featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
47881
+ ),
47953
47882
  children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left lg:flex-col", children: [
47954
47883
  /* @__PURE__ */ jsx("div", { className: "relative flex aspect-4/3 max-h-72 w-full flex-1 justify-center", children: /* @__PURE__ */ jsx(
47955
47884
  Img,
47956
47885
  {
47957
- src: imagePlaceholders[6],
47958
- alt: "placeholder",
47886
+ src: featuredHeroCard.image,
47887
+ alt: featuredHeroCard.title,
47959
47888
  className: "h-full w-full object-cover object-center",
47960
47889
  optixFlowConfig
47961
47890
  }
47962
47891
  ) }),
47963
47892
  /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col rounded-b-xl bg-primary p-6", children: [
47964
47893
  /* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-1 text-xs", children: [
47965
- "Enterprise Solutions",
47894
+ featuredHeroCard.title,
47966
47895
  /* @__PURE__ */ jsx(
47967
47896
  DynamicIcon,
47968
47897
  {
@@ -47972,12 +47901,12 @@ var GlobalMenu = ({
47972
47901
  }
47973
47902
  )
47974
47903
  ] }),
47975
- /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: "Scale your business with enterprise-grade features and support." })
47904
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-primary-foreground/85", children: featuredHeroCard.description })
47976
47905
  ] })
47977
47906
  ] })
47978
47907
  }
47979
47908
  ) }),
47980
- /* @__PURE__ */ jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: globalCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
47909
+ featureCategories.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid w-full gap-y-12 lg:gap-y-6", children: featureCategories.map((category) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-2 lg:gap-y-6", children: [
47981
47910
  /* @__PURE__ */ jsx("div", { className: "border-border text-left lg:border-b lg:pb-3", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: category.title }) }),
47982
47911
  /* @__PURE__ */ jsx("menu", { className: "grid md:grid-cols-3 md:gap-x-6 lg:gap-y-6", children: category.features.map((feature) => /* @__PURE__ */ jsxs(
47983
47912
  NavigationMenuLink,
@@ -48004,7 +47933,7 @@ var GlobalMenu = ({
48004
47933
  )) })
48005
47934
  ] }, category.title)) })
48006
47935
  ] }),
48007
- /* @__PURE__ */ jsxs("div", { className: "mt-8", children: [
47936
+ regions.length > 0 && /* @__PURE__ */ jsxs("div", { className: "mt-8", children: [
48008
47937
  /* @__PURE__ */ jsx("div", { className: "mb-6 border-border pb-1 text-left lg:border-b", children: /* @__PURE__ */ jsx("strong", { className: "text-left text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Popular Locations" }) }),
48009
47938
  /* @__PURE__ */ jsx("div", { className: "grid gap-6 md:grid-cols-3 lg:grid-cols-4", children: regions.map((region) => /* @__PURE__ */ jsxs(
48010
47939
  "div",
@@ -48038,16 +47967,19 @@ var GlobalMenu = ({
48038
47967
  )) })
48039
47968
  ] })
48040
47969
  ] });
48041
- var PartnersMenu = ({ optixFlowConfig }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-6 md:grid-cols-2 md:gap-x-6 lg:grid-cols-4", children: [
48042
- /* @__PURE__ */ jsx("div", { className: "md:col-span-2", children: /* @__PURE__ */ jsx(
47970
+ var PartnersMenu = ({ partnerCards, featuredHeroCard, optixFlowConfig }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-y-6 md:grid-cols-2 md:gap-x-6 lg:grid-cols-4", children: [
47971
+ featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "md:col-span-2", children: /* @__PURE__ */ jsx(
48043
47972
  Pressable,
48044
47973
  {
48045
- href: "#",
48046
- className: "group relative flex h-full flex-row overflow-hidden rounded-lg bg-primary p-0 text-primary-foreground lg:rounded-xl",
47974
+ href: featuredHeroCard.href,
47975
+ className: cn(
47976
+ "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
47977
+ featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
47978
+ ),
48047
47979
  children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
48048
47980
  /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
48049
47981
  /* @__PURE__ */ jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs font-medium", children: [
48050
- "Partner Program",
47982
+ featuredHeroCard.title,
48051
47983
  /* @__PURE__ */ jsx(
48052
47984
  DynamicIcon,
48053
47985
  {
@@ -48057,13 +47989,16 @@ var PartnersMenu = ({ optixFlowConfig }) => /* @__PURE__ */ jsxs("div", { classN
48057
47989
  }
48058
47990
  )
48059
47991
  ] }),
48060
- /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs", children: "Join our partner network and grow your business with our leading productivity platform." })
47992
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs", children: featuredHeroCard.description })
48061
47993
  ] }),
48062
- /* @__PURE__ */ jsx("div", { className: "absolute inset-0 top-[32%] bg-accent invert md:top-0", children: /* @__PURE__ */ jsx(
47994
+ /* @__PURE__ */ jsx("div", { className: cn(
47995
+ "absolute inset-0 top-[32%] md:top-0",
47996
+ featuredHeroCard.imagePosition === "background" && "bg-accent invert"
47997
+ ), children: /* @__PURE__ */ jsx(
48063
47998
  Img,
48064
47999
  {
48065
- src: imagePlaceholders[7],
48066
- alt: "placeholder",
48000
+ src: featuredHeroCard.image,
48001
+ alt: featuredHeroCard.title,
48067
48002
  className: "object-fit h-full w-full object-top-right opacity-100 md:h-2/3 md:object-top",
48068
48003
  optixFlowConfig
48069
48004
  }
@@ -48071,15 +48006,35 @@ var PartnersMenu = ({ optixFlowConfig }) => /* @__PURE__ */ jsxs("div", { classN
48071
48006
  ] })
48072
48007
  }
48073
48008
  ) }),
48074
- /* @__PURE__ */ jsx("div", { className: "md:col-span-1", children: /* @__PURE__ */ jsx(
48009
+ partnerCards.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid gap-4 md:col-span-2 lg:col-span-2", children: partnerCards.map((card) => /* @__PURE__ */ jsx(
48010
+ NavigationMenuLink,
48011
+ {
48012
+ href: card.href,
48013
+ className: "group flex w-full flex-row items-center rounded-lg border border-border lg:rounded-xl",
48014
+ children: /* @__PURE__ */ jsxs("div", { className: "flex items-start p-6 text-left", children: [
48015
+ /* @__PURE__ */ jsx(DynamicIcon, { name: card.icon, size: 32 }),
48016
+ /* @__PURE__ */ jsxs("div", { className: "ml-4", children: [
48017
+ /* @__PURE__ */ jsx("div", { className: "mt-auto mb-1 text-sm font-bold text-foreground/85 hover:text-foreground", children: card.title }),
48018
+ /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground group-hover:text-foreground", children: card.description })
48019
+ ] })
48020
+ ] })
48021
+ },
48022
+ card.title
48023
+ )) })
48024
+ ] });
48025
+ var ResourcesMenu = ({ resourceItems, topicGroups, featuredHeroCard }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-8 lg:grid-cols-3", children: [
48026
+ featuredHeroCard && /* @__PURE__ */ jsx("div", { className: "lg:col-span-1", children: /* @__PURE__ */ jsx(
48075
48027
  Pressable,
48076
48028
  {
48077
- href: "#",
48078
- className: "group relative flex h-full flex-row overflow-hidden rounded-lg bg-accent p-0 text-accent-foreground lg:rounded-xl",
48029
+ href: featuredHeroCard.href,
48030
+ className: cn(
48031
+ "group relative flex h-full flex-row overflow-hidden rounded-lg p-0 text-primary-foreground lg:rounded-xl",
48032
+ featuredHeroCard.variant === "accent" ? "bg-accent text-accent-foreground" : "bg-primary"
48033
+ ),
48079
48034
  children: /* @__PURE__ */ jsxs("div", { className: "relative z-10 flex w-full flex-col-reverse text-left", children: [
48080
48035
  /* @__PURE__ */ jsxs("div", { className: "relative z-20 flex flex-col px-6 pt-6 pb-56 md:pt-40 md:pb-6", children: [
48081
- /* @__PURE__ */ jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs font-medium", children: [
48082
- "Solution Partners",
48036
+ /* @__PURE__ */ jsxs("div", { className: "mt-auto flex items-center space-x-1 text-xs", children: [
48037
+ featuredHeroCard.title,
48083
48038
  /* @__PURE__ */ jsx(
48084
48039
  DynamicIcon,
48085
48040
  {
@@ -48089,55 +48044,23 @@ var PartnersMenu = ({ optixFlowConfig }) => /* @__PURE__ */ jsxs("div", { classN
48089
48044
  }
48090
48045
  )
48091
48046
  ] }),
48092
- /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs text-muted-foreground", children: "Build and deliver solutions that help customers achieve more." })
48047
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-xs", children: featuredHeroCard.description })
48093
48048
  ] }),
48094
- /* @__PURE__ */ jsx("div", { className: "absolute inset-0 top-[32%] md:top-0", children: /* @__PURE__ */ jsx(
48049
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0", children: /* @__PURE__ */ jsx(
48095
48050
  Img,
48096
48051
  {
48097
- src: imagePlaceholders[8],
48098
- alt: "placeholder",
48099
- className: "object-fit h-full w-full object-top-right md:h-2/3 md:object-top",
48100
- optixFlowConfig
48052
+ src: featuredHeroCard.image,
48053
+ alt: featuredHeroCard.title,
48054
+ className: "h-full w-full object-cover object-center invert"
48101
48055
  }
48102
- ) })
48056
+ ) }),
48057
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-x-0 top-0 z-10 h-[60%] bg-[linear-gradient(hsl(var(--color-primary))_50%,transparent)] md:top-auto md:bottom-[-10%] md:h-[50%] md:bg-[linear-gradient(transparent,hsl(var(--color-primary))_50%)]" })
48103
48058
  ] })
48104
48059
  }
48105
48060
  ) }),
48106
- /* @__PURE__ */ jsxs("div", { className: "grid gap-4 md:col-span-1", children: [
48107
- /* @__PURE__ */ jsx(
48108
- NavigationMenuLink,
48109
- {
48110
- href: "#",
48111
- className: "group flex w-full flex-row items-center rounded-lg border border-border lg:rounded-xl",
48112
- children: /* @__PURE__ */ jsxs("div", { className: "flex items-start p-6 text-left", children: [
48113
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/users", size: 32 }),
48114
- /* @__PURE__ */ jsxs("div", { className: "ml-4", children: [
48115
- /* @__PURE__ */ jsx("div", { className: "mt-auto mb-1 text-sm font-bold text-foreground/85 hover:text-foreground", children: "Implementation Partners" }),
48116
- /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground group-hover:text-foreground", children: "Help customers implement and optimize their workflows." })
48117
- ] })
48118
- ] })
48119
- }
48120
- ),
48121
- /* @__PURE__ */ jsx(
48122
- NavigationMenuLink,
48123
- {
48124
- href: "#",
48125
- className: "group flex w-full flex-row items-center rounded-lg border border-border lg:rounded-xl",
48126
- children: /* @__PURE__ */ jsxs("div", { className: "flex items-start p-6 text-left", children: [
48127
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/monitor", size: 32 }),
48128
- /* @__PURE__ */ jsxs("div", { className: "ml-4", children: [
48129
- /* @__PURE__ */ jsx("div", { className: "mt-auto mb-1 text-sm font-bold text-foreground/85 hover:text-foreground", children: "Technology Partners" }),
48130
- /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground group-hover:text-foreground", children: "Integrate your products with our platform." })
48131
- ] })
48132
- ] })
48133
- }
48134
- )
48135
- ] })
48136
- ] });
48137
- var ResourcesMenu = ({ resources, topicGroups }) => /* @__PURE__ */ jsxs("div", { className: "grid gap-8 lg:grid-cols-3", children: [
48138
- /* @__PURE__ */ jsxs("div", { className: "lg:col-span-2", children: [
48061
+ resourceItems.length > 0 && /* @__PURE__ */ jsxs("div", { className: cn(featuredHeroCard ? "lg:col-span-1" : "lg:col-span-2"), children: [
48139
48062
  /* @__PURE__ */ jsx("div", { className: "mb-6 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: "Resources" }) }),
48140
- /* @__PURE__ */ jsx("div", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: resources.map((resource) => /* @__PURE__ */ jsxs(
48063
+ /* @__PURE__ */ jsx("div", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-2", children: resourceItems.map((resource) => /* @__PURE__ */ jsxs(
48141
48064
  NavigationMenuLink,
48142
48065
  {
48143
48066
  href: resource.href,
@@ -48160,7 +48083,7 @@ var ResourcesMenu = ({ resources, topicGroups }) => /* @__PURE__ */ jsxs("div",
48160
48083
  resource.id
48161
48084
  )) })
48162
48085
  ] }),
48163
- /* @__PURE__ */ jsx("div", { children: topicGroups.map((group) => /* @__PURE__ */ jsxs("div", { className: "mb-8 last:mb-0", children: [
48086
+ topicGroups.length > 0 && /* @__PURE__ */ jsx("div", { className: "lg:col-span-1", children: topicGroups.map((group) => /* @__PURE__ */ jsxs("div", { className: "mb-8 last:mb-0", children: [
48164
48087
  /* @__PURE__ */ jsx("div", { className: "mb-4 text-left", children: /* @__PURE__ */ jsx("strong", { className: "text-xs font-medium tracking-wider text-muted-foreground uppercase", children: group.title }) }),
48165
48088
  /* @__PURE__ */ jsx("div", { className: "space-y-3", children: group.topics.map((topic) => /* @__PURE__ */ jsxs(
48166
48089
  NavigationMenuLink,
@@ -48176,21 +48099,78 @@ var ResourcesMenu = ({ resources, topicGroups }) => /* @__PURE__ */ jsxs("div",
48176
48099
  )) })
48177
48100
  ] }, group.title)) })
48178
48101
  ] });
48102
+ var renderMobileDropdownContent = (item) => {
48103
+ switch (item.layout) {
48104
+ case "solutions-with-platform":
48105
+ return /* @__PURE__ */ jsx("div", { className: "space-y-4", children: item.solutionCards?.map((solution) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
48106
+ /* @__PURE__ */ jsx(
48107
+ Pressable,
48108
+ {
48109
+ href: solution.href,
48110
+ className: "text-sm font-medium",
48111
+ children: solution.title
48112
+ }
48113
+ ),
48114
+ solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
48115
+ Pressable,
48116
+ {
48117
+ href: subpage.href,
48118
+ className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground",
48119
+ children: [
48120
+ /* @__PURE__ */ jsx(DynamicIcon, { name: subpage.icon, size: 14 }),
48121
+ subpage.title
48122
+ ]
48123
+ },
48124
+ subpage.id
48125
+ ))
48126
+ ] }, solution.id)) });
48127
+ case "products-categorized":
48128
+ return /* @__PURE__ */ jsx("div", { className: "space-y-4", children: item.productCategories?.flatMap(
48129
+ (category) => category.products.map((product) => /* @__PURE__ */ jsx(
48130
+ Pressable,
48131
+ {
48132
+ href: product.href,
48133
+ className: "flex items-center gap-2 text-sm text-muted-foreground",
48134
+ children: product.title
48135
+ },
48136
+ product.id
48137
+ ))
48138
+ ) });
48139
+ case "resources-with-topics":
48140
+ return /* @__PURE__ */ jsx("div", { className: "space-y-4", children: item.resourceItems?.map((resource) => /* @__PURE__ */ jsxs(
48141
+ Pressable,
48142
+ {
48143
+ href: resource.href,
48144
+ className: "flex items-center gap-2 text-sm text-muted-foreground",
48145
+ children: [
48146
+ /* @__PURE__ */ jsx(DynamicIcon, { name: resource.icon, size: 14 }),
48147
+ resource.title
48148
+ ]
48149
+ },
48150
+ resource.id
48151
+ )) });
48152
+ case "features-with-locations":
48153
+ case "partners-promotional":
48154
+ return /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: /* @__PURE__ */ jsxs(Pressable, { href: "#", children: [
48155
+ "View all ",
48156
+ item.title.toLowerCase()
48157
+ ] }) });
48158
+ default:
48159
+ return null;
48160
+ }
48161
+ };
48179
48162
  var MobileNavigationMenu = ({
48180
48163
  open,
48181
- navigation,
48182
- solutions,
48183
- productCategories,
48184
- resources,
48164
+ menuLinks,
48185
48165
  actionsClassName,
48186
- authActions,
48187
- authActionsSlot,
48166
+ actions,
48167
+ actionsSlot,
48188
48168
  optixFlowConfig
48189
48169
  }) => {
48190
- const renderAuthActions = () => {
48191
- if (authActionsSlot) return authActionsSlot;
48192
- if (!authActions || authActions.length === 0) return null;
48193
- return authActions.map((action, index) => {
48170
+ const renderActions = () => {
48171
+ if (actionsSlot) return actionsSlot;
48172
+ if (!actions || actions.length === 0) return null;
48173
+ return actions.map((action, index) => {
48194
48174
  const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
48195
48175
  return /* @__PURE__ */ jsx(
48196
48176
  Pressable,
@@ -48216,9 +48196,10 @@ var MobileNavigationMenu = ({
48216
48196
  className: "inset-0 z-998 h-dvh w-full bg-background pt-16 [&>button]:hidden",
48217
48197
  children: /* @__PURE__ */ jsx("div", { className: "h-full overflow-y-auto pt-4 pb-20", children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
48218
48198
  /* @__PURE__ */ jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
48219
- /* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-4", actionsClassName), children: renderAuthActions() }),
48220
- /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "mt-6 w-full", children: navigation.map((item, index) => {
48221
- if (item.menuType) {
48199
+ /* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-4", actionsClassName), children: renderActions() }),
48200
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "mt-6 w-full", children: menuLinks.map((item, index) => {
48201
+ const hasDropdown = Boolean(item.layout);
48202
+ if (hasDropdown) {
48222
48203
  return /* @__PURE__ */ jsxs(
48223
48204
  AccordionItem,
48224
48205
  {
@@ -48226,63 +48207,7 @@ var MobileNavigationMenu = ({
48226
48207
  className: "border-b-0",
48227
48208
  children: [
48228
48209
  /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center text-base font-normal text-foreground hover:no-underline", children: item.title }),
48229
- /* @__PURE__ */ jsxs(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto", children: [
48230
- item.menuType === "solutions" && /* @__PURE__ */ jsx("div", { className: "space-y-4", children: solutions.map((solution) => /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
48231
- /* @__PURE__ */ jsx(
48232
- Pressable,
48233
- {
48234
- href: solution.href,
48235
- className: "text-sm font-medium",
48236
- children: solution.title
48237
- }
48238
- ),
48239
- solution.subpages.map((subpage) => /* @__PURE__ */ jsxs(
48240
- Pressable,
48241
- {
48242
- href: subpage.href,
48243
- className: "flex items-center gap-2 pl-4 text-sm text-muted-foreground",
48244
- children: [
48245
- /* @__PURE__ */ jsx(
48246
- DynamicIcon,
48247
- {
48248
- name: subpage.icon,
48249
- size: 14
48250
- }
48251
- ),
48252
- subpage.title
48253
- ]
48254
- },
48255
- subpage.id
48256
- ))
48257
- ] }, solution.id)) }),
48258
- item.menuType === "products" && /* @__PURE__ */ jsx("div", { className: "space-y-4", children: productCategories.flatMap(
48259
- (category) => category.products.map((product) => /* @__PURE__ */ jsx(
48260
- Pressable,
48261
- {
48262
- href: product.href,
48263
- className: "flex items-center gap-2 text-sm text-muted-foreground",
48264
- children: product.title
48265
- },
48266
- product.id
48267
- ))
48268
- ) }),
48269
- item.menuType === "resources" && /* @__PURE__ */ jsx("div", { className: "space-y-4", children: resources.map((resource) => /* @__PURE__ */ jsxs(
48270
- Pressable,
48271
- {
48272
- href: resource.href,
48273
- className: "flex items-center gap-2 text-sm text-muted-foreground",
48274
- children: [
48275
- /* @__PURE__ */ jsx(DynamicIcon, { name: resource.icon, size: 14 }),
48276
- resource.title
48277
- ]
48278
- },
48279
- resource.id
48280
- )) }),
48281
- (item.menuType === "global" || item.menuType === "partners") && /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: /* @__PURE__ */ jsxs(Pressable, { href: "#", children: [
48282
- "View all ",
48283
- item.title.toLowerCase()
48284
- ] }) })
48285
- ] })
48210
+ /* @__PURE__ */ jsx(AccordionContent, { className: "max-h-[60dvh] overflow-y-auto", children: renderMobileDropdownContent(item) })
48286
48211
  ]
48287
48212
  },
48288
48213
  item.title
@@ -48682,11 +48607,8 @@ var NavbarPlatformResources = ({
48682
48607
  src: logoPlaceholders.logoMark
48683
48608
  },
48684
48609
  logoSlot,
48685
- solutions,
48686
- platformCases,
48687
- resources,
48688
- authActions,
48689
- authActionsSlot,
48610
+ menuLinks,
48611
+ actions,
48690
48612
  background = "white",
48691
48613
  spacing = "none",
48692
48614
  pattern,
@@ -48697,37 +48619,274 @@ var NavbarPlatformResources = ({
48697
48619
  const renderLogo = () => {
48698
48620
  if (logoSlot) return logoSlot;
48699
48621
  if (!logo) return null;
48700
- return /* @__PURE__ */ jsxs(Pressable, { href: logo.url || "/", className: cn("flex items-center gap-2", logoClassName), children: [
48701
- logo.src && /* @__PURE__ */ jsx(
48702
- Img,
48703
- {
48704
- src: logo.src,
48705
- className: cn("max-h-8", logo.className),
48706
- alt: logo.alt || "Logo",
48707
- optixFlowConfig
48708
- }
48709
- ),
48710
- logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold tracking-tighter", children: logo.title }) : logo.title)
48711
- ] });
48622
+ return /* @__PURE__ */ jsxs(
48623
+ Pressable,
48624
+ {
48625
+ href: logo.url || "/",
48626
+ className: cn("flex items-center gap-2", logoClassName),
48627
+ children: [
48628
+ logo.src && /* @__PURE__ */ jsx(
48629
+ Img,
48630
+ {
48631
+ src: logo.src,
48632
+ className: cn("max-h-8", logo.className),
48633
+ alt: logo.alt || "Logo",
48634
+ optixFlowConfig
48635
+ }
48636
+ ),
48637
+ logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "text-lg font-semibold tracking-tighter", children: logo.title }) : logo.title)
48638
+ ]
48639
+ }
48640
+ );
48712
48641
  };
48713
- const renderAuthActions = () => {
48714
- if (authActionsSlot) return authActionsSlot;
48715
- if (!authActions || authActions.length === 0) return null;
48716
- return authActions.map((action, index) => {
48717
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
48718
- return /* @__PURE__ */ jsx(
48719
- Pressable,
48642
+ const hasDropdownItems = (link) => Boolean(
48643
+ link.dropdownItems?.length || link.featuredItem || link.showcaseItems?.length || link.ctaCard || link.sections?.length
48644
+ );
48645
+ const renderDropdownContent3 = (link) => {
48646
+ const layout = link.layout || "simple-list";
48647
+ if (layout === "simple-list") {
48648
+ return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.dropdownItems?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
48649
+ NavigationMenuLink,
48720
48650
  {
48721
- className: actionClassName,
48722
- ...pressableProps,
48723
- children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
48724
- icon,
48725
- label,
48726
- iconAfter
48651
+ href: item.href,
48652
+ className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
48653
+ children: [
48654
+ item.imgUrl && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
48655
+ Img,
48656
+ {
48657
+ src: item.imgUrl,
48658
+ alt: item.title,
48659
+ className: "h-full w-full object-cover object-center",
48660
+ optixFlowConfig
48661
+ }
48662
+ ) }),
48663
+ !item.imgUrl && item.icon && /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 18 }) }),
48664
+ /* @__PURE__ */ jsxs("div", { children: [
48665
+ /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: item.title }),
48666
+ item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
48667
+ ] })
48668
+ ]
48669
+ },
48670
+ `${item.title}-${itemIndex}`
48671
+ )) }) });
48672
+ }
48673
+ if (layout === "featured-grid" && link.featuredItem) {
48674
+ return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxs("div", { className: "flex justify-between gap-8", children: [
48675
+ /* @__PURE__ */ jsx(
48676
+ NavigationMenuLink,
48677
+ {
48678
+ href: link.featuredItem.href,
48679
+ className: "group w-1/3 p-0 hover:bg-transparent",
48680
+ children: /* @__PURE__ */ jsxs("div", { className: "overflow-clip rounded-lg border border-input bg-background", children: [
48681
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
48682
+ Img,
48683
+ {
48684
+ src: link.featuredItem.imgUrl,
48685
+ alt: link.featuredItem.title,
48686
+ className: "aspect-[4/3] object-cover object-center",
48687
+ optixFlowConfig
48688
+ }
48689
+ ) }),
48690
+ /* @__PURE__ */ jsxs("div", { className: "p-5 xl:p-8", children: [
48691
+ /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: link.featuredItem.title }),
48692
+ link.featuredItem.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: link.featuredItem.description })
48693
+ ] })
48694
+ ] })
48695
+ }
48696
+ ),
48697
+ /* @__PURE__ */ jsxs("div", { className: "max-w-[760px] flex-1", children: [
48698
+ link.featuredItem.label && /* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.featuredItem.label }),
48699
+ /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2 lg:gap-8", children: link.dropdownItems?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
48700
+ NavigationMenuLink,
48701
+ {
48702
+ href: item.href,
48703
+ className: "group block p-4",
48704
+ children: [
48705
+ item.icon && /* @__PURE__ */ jsx("div", { className: "mb-5 group-hover:opacity-60", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 20 }) }),
48706
+ /* @__PURE__ */ jsx("div", { className: "mb-1 text-base", children: item.title }),
48707
+ item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
48708
+ ]
48709
+ },
48710
+ `${item.title}-${itemIndex}`
48711
+ )) })
48712
+ ] })
48713
+ ] }) });
48714
+ }
48715
+ if (layout === "two-column-cta" && link.ctaCard) {
48716
+ return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxs("div", { className: "flex justify-between gap-4", children: [
48717
+ /* @__PURE__ */ jsx("div", { className: "w-1/2 max-w-[510px]", children: link.sections && link.sections[0] && /* @__PURE__ */ jsxs(Fragment, { children: [
48718
+ /* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: link.sections[0].label }),
48719
+ /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-4", children: link.sections[0].items.map((item, itemIndex) => /* @__PURE__ */ jsxs(
48720
+ NavigationMenuLink,
48721
+ {
48722
+ href: item.href,
48723
+ className: "group flex flex-row items-center gap-5",
48724
+ children: [
48725
+ item.icon && /* @__PURE__ */ jsx("div", { className: "group-hover:opacity-60", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 16 }) }),
48726
+ /* @__PURE__ */ jsx("div", { className: "text-base", children: item.title })
48727
+ ]
48728
+ },
48729
+ `${item.title}-${itemIndex}`
48730
+ )) })
48731
+ ] }) }),
48732
+ /* @__PURE__ */ jsx(
48733
+ NavigationMenuLink,
48734
+ {
48735
+ href: link.ctaCard.href,
48736
+ className: "group flex-1 p-0 hover:bg-transparent",
48737
+ children: /* @__PURE__ */ jsxs("div", { className: "flex h-full rounded-lg border border-input bg-background p-0 hover:bg-transparent", children: [
48738
+ link.ctaCard.imgUrl && /* @__PURE__ */ jsx("div", { className: "w-2/5 max-w-[310px] shrink-0 overflow-clip rounded-tl-lg rounded-bl-lg", children: /* @__PURE__ */ jsx(
48739
+ Img,
48740
+ {
48741
+ src: link.ctaCard.imgUrl,
48742
+ alt: link.ctaCard.title,
48743
+ className: "h-full w-full object-cover object-center",
48744
+ optixFlowConfig
48745
+ }
48746
+ ) }),
48747
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col p-5 xl:p-8", children: [
48748
+ link.ctaCard.label && /* @__PURE__ */ jsx("div", { className: "mb-8 text-xs tracking-widest text-muted-foreground uppercase", children: link.ctaCard.label }),
48749
+ /* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
48750
+ /* @__PURE__ */ jsx("div", { className: "mb-4 text-xl", children: link.ctaCard.title }),
48751
+ link.ctaCard.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: link.ctaCard.description })
48752
+ ] })
48753
+ ] })
48754
+ ] })
48755
+ }
48756
+ )
48757
+ ] }) });
48758
+ }
48759
+ if (layout === "list-showcase" && link.showcaseItems) {
48760
+ return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[900px] p-6", children: /* @__PURE__ */ jsxs("div", { className: "flex justify-between gap-8", children: [
48761
+ /* @__PURE__ */ jsx("div", { className: "w-1/3 max-w-[404px]", children: link.sections && link.sections[0] && /* @__PURE__ */ jsxs(Fragment, { children: [
48762
+ /* @__PURE__ */ jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: link.sections[0].label }),
48763
+ link.sections[0].items[0]?.description && /* @__PURE__ */ jsx("div", { className: "mb-6 text-sm font-normal text-muted-foreground", children: link.sections[0].items[0].description }),
48764
+ /* @__PURE__ */ jsx("div", { className: "-ml-2.5 space-y-2.5", children: link.dropdownItems?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
48765
+ NavigationMenuLink,
48766
+ {
48767
+ href: item.href,
48768
+ className: "group flex flex-row items-center gap-2.5 rounded-md p-2.5 focus:text-accent-foreground",
48769
+ children: [
48770
+ item.icon && /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 16 }),
48771
+ /* @__PURE__ */ jsx("div", { className: "text-base", children: item.title })
48772
+ ]
48773
+ },
48774
+ `${item.title}-${itemIndex}`
48775
+ )) })
48776
+ ] }) }),
48777
+ /* @__PURE__ */ jsx("div", { className: "max-w-[716px] flex-1 space-y-6", children: link.showcaseItems.map((showcase, showcaseIndex) => /* @__PURE__ */ jsxs(
48778
+ NavigationMenuLink,
48779
+ {
48780
+ href: showcase.href,
48781
+ className: "flex flex-row items-center overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
48782
+ children: [
48783
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
48784
+ /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: showcase.title }),
48785
+ showcase.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: showcase.description })
48786
+ ] }),
48787
+ /* @__PURE__ */ jsx("div", { className: "h-[154px] max-w-[264px] shrink-0", children: /* @__PURE__ */ jsx(
48788
+ Img,
48789
+ {
48790
+ src: showcase.imgUrl,
48791
+ alt: showcase.title,
48792
+ className: "h-full w-full object-cover object-center",
48793
+ optixFlowConfig
48794
+ }
48795
+ ) })
48796
+ ]
48797
+ },
48798
+ `showcase-${showcaseIndex}`
48799
+ )) })
48800
+ ] }) });
48801
+ }
48802
+ if (layout === "multi-section" && link.sections) {
48803
+ return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[900px] p-8", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-8", children: [
48804
+ link.sections.map((section, sectionIndex) => /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col", children: [
48805
+ /* @__PURE__ */ jsx("div", { className: "mb-6 text-xs tracking-widest text-muted-foreground uppercase", children: section.label }),
48806
+ /* @__PURE__ */ jsx("div", { className: "grid flex-1 grid-cols-1 gap-6 md:grid-cols-2", children: section.items.map((item, itemIndex) => /* @__PURE__ */ jsx(
48807
+ NavigationMenuLink,
48808
+ {
48809
+ href: item.href,
48810
+ className: "flex h-full flex-col overflow-clip rounded-lg border border-input bg-background p-5 hover:bg-accent hover:text-accent-foreground xl:p-8",
48811
+ children: /* @__PURE__ */ jsxs("div", { className: "mt-auto", children: [
48812
+ /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: item.title }),
48813
+ item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
48814
+ ] })
48815
+ },
48816
+ `${item.title}-${itemIndex}`
48817
+ )) })
48818
+ ] }, `section-${sectionIndex}`)),
48819
+ link.ctaCard && /* @__PURE__ */ jsxs("div", { className: "col-span-1", children: [
48820
+ /* @__PURE__ */ jsxs(
48821
+ NavigationMenuLink,
48822
+ {
48823
+ href: link.ctaCard.href,
48824
+ className: "mb-6 flex flex-row overflow-clip rounded-lg border border-input bg-background p-0 hover:bg-transparent",
48825
+ children: [
48826
+ /* @__PURE__ */ jsxs("div", { className: "flex-1 p-5 xl:p-8", children: [
48827
+ /* @__PURE__ */ jsx("div", { className: "mb-2 text-base", children: link.ctaCard.title }),
48828
+ link.ctaCard.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: link.ctaCard.description })
48829
+ ] }),
48830
+ link.ctaCard.imgUrl && /* @__PURE__ */ jsx("div", { className: "w-1/3 max-w-[130px] shrink-0", children: /* @__PURE__ */ jsx(
48831
+ Img,
48832
+ {
48833
+ src: link.ctaCard.imgUrl,
48834
+ alt: link.ctaCard.title,
48835
+ className: "h-full w-full object-cover object-center",
48836
+ optixFlowConfig
48837
+ }
48838
+ ) })
48839
+ ]
48840
+ }
48841
+ ),
48842
+ link.ctaCard.badge && /* @__PURE__ */ jsxs("div", { className: "flex flex-row items-center gap-3 rounded-lg bg-secondary/30 p-3 hover:bg-secondary/80 focus:bg-secondary/80", children: [
48843
+ /* @__PURE__ */ jsx("span", { className: "rounded-md bg-secondary px-2 py-1 text-xs font-semibold text-secondary-foreground", children: link.ctaCard.badge }),
48844
+ link.ctaCard.description && /* @__PURE__ */ jsx("span", { className: "text-sm text-ellipsis text-secondary-foreground", children: link.ctaCard.description })
48845
+ ] })
48846
+ ] })
48847
+ ] }) });
48848
+ }
48849
+ return /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[640px] p-4", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3", children: link.dropdownItems?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
48850
+ NavigationMenuLink,
48851
+ {
48852
+ href: item.href,
48853
+ className: "flex flex-row items-start gap-4 rounded-lg border border-input bg-background p-4 hover:bg-accent hover:text-accent-foreground",
48854
+ children: [
48855
+ item.imgUrl && /* @__PURE__ */ jsx("div", { className: "h-12 w-12 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
48856
+ Img,
48857
+ {
48858
+ src: item.imgUrl,
48859
+ alt: item.title,
48860
+ className: "h-full w-full object-cover object-center",
48861
+ optixFlowConfig
48862
+ }
48863
+ ) }),
48864
+ !item.imgUrl && item.icon && /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 18 }) }),
48865
+ /* @__PURE__ */ jsxs("div", { children: [
48866
+ /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: item.title }),
48867
+ item.description && /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: item.description })
48727
48868
  ] })
48728
- },
48729
- index
48730
- );
48869
+ ]
48870
+ },
48871
+ `${item.title}-${itemIndex}`
48872
+ )) }) });
48873
+ };
48874
+ const renderActions = () => {
48875
+ if (!actions || actions.length === 0) return null;
48876
+ return actions.map((action, index) => {
48877
+ const {
48878
+ label,
48879
+ icon,
48880
+ iconAfter,
48881
+ children,
48882
+ className: actionClassName,
48883
+ ...pressableProps
48884
+ } = action;
48885
+ return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
48886
+ icon,
48887
+ label,
48888
+ iconAfter
48889
+ ] }) }, index);
48731
48890
  });
48732
48891
  };
48733
48892
  return /* @__PURE__ */ jsx(
@@ -48738,196 +48897,147 @@ var NavbarPlatformResources = ({
48738
48897
  className: cn("inset-x-0 top-0 z-20", className),
48739
48898
  pattern,
48740
48899
  patternOpacity,
48741
- children: /* @__PURE__ */ jsx("div", { className: cn("container px-4 sm:px-6 md:px-8 lg:px-40 xl:px-52", containerClassName), children: /* @__PURE__ */ jsxs(NavigationMenu, { className: cn("min-w-full", navigationMenuClassName), children: [
48742
- /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
48743
- renderLogo(),
48744
- /* @__PURE__ */ jsxs(NavigationMenuList, { className: cn("hidden lg:flex", navigationMenuListClassName), children: [
48745
- /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
48746
- /* @__PURE__ */ jsx(NavigationMenuTrigger, { children: "Platform" }),
48747
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "min-w-[760px] p-4", children: /* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between", children: [
48748
- /* @__PURE__ */ jsxs("div", { className: "max-w-[760px] flex-1", children: [
48749
- /* @__PURE__ */ jsx("div", { className: "text-xs tracking-widest text-muted-foreground", children: "Solutions" }),
48750
- /* @__PURE__ */ jsx("div", { className: "grid grid-rows-1 gap-6", children: solutions?.map((solution, index) => /* @__PURE__ */ jsxs(
48751
- NavigationMenuLink,
48752
- {
48753
- href: solution.href,
48754
- className: "group flex flex-row items-center first:mt-4 hover:bg-transparent",
48755
- children: [
48756
- /* @__PURE__ */ jsx("div", { className: "mr-4 rounded-lg bg-muted p-4 shadow-sm", children: /* @__PURE__ */ jsx(
48757
- DynamicIcon,
48758
- {
48759
- name: solution.icon,
48760
- size: 24,
48761
- className: "text-muted-foreground transition-all group-hover:text-foreground"
48762
- }
48763
- ) }),
48764
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1 text-sm", children: [
48765
- /* @__PURE__ */ jsx("div", { className: "font-medium text-foreground", children: solution.title }),
48766
- /* @__PURE__ */ jsx("div", { className: "text-sm font-normal text-muted-foreground", children: solution.description })
48767
- ] })
48768
- ]
48769
- },
48770
- index
48771
- )) })
48772
- ] }),
48773
- /* @__PURE__ */ jsxs("div", { className: "max-w-[760px] flex-1", children: [
48774
- /* @__PURE__ */ jsx("div", { className: "text-xs tracking-widest text-muted-foreground", children: "By Use Case" }),
48775
- /* @__PURE__ */ jsx("div", { className: "mt-4 gap-6", children: platformCases?.map((item, index) => /* @__PURE__ */ jsxs(
48776
- NavigationMenuLink,
48777
- {
48778
- href: item.href,
48779
- className: "group flex flex-row items-center hover:bg-transparent",
48780
- children: [
48781
- /* @__PURE__ */ jsx("div", { className: "mr-4 rounded-lg bg-muted p-2 shadow-sm", children: /* @__PURE__ */ jsx(
48782
- DynamicIcon,
48783
- {
48784
- name: item.icon,
48785
- size: 16,
48786
- className: "text-muted-foreground transition-all group-hover:text-foreground"
48787
- }
48788
- ) }),
48789
- /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-1", children: /* @__PURE__ */ jsx("div", { className: "text-sm font-medium", children: item.title }) })
48790
- ]
48791
- },
48792
- index
48793
- )) })
48794
- ] })
48795
- ] }) })
48796
- ] }),
48797
- /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
48798
- /* @__PURE__ */ jsx(NavigationMenuTrigger, { children: "Resources" }),
48799
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "w-full min-w-[820px] p-4", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-3 gap-6", children: resources?.map((resource, index) => /* @__PURE__ */ jsxs(
48800
- NavigationMenuLink,
48900
+ children: /* @__PURE__ */ jsx(
48901
+ "div",
48902
+ {
48903
+ className: cn(
48904
+ "container px-4 sm:px-6 md:px-8 lg:px-40 xl:px-52",
48905
+ containerClassName
48906
+ ),
48907
+ children: /* @__PURE__ */ jsxs(NavigationMenu, { className: cn("min-w-full", navigationMenuClassName), children: [
48908
+ /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-between gap-12 py-4", children: [
48909
+ renderLogo(),
48910
+ /* @__PURE__ */ jsx(
48911
+ NavigationMenuList,
48801
48912
  {
48802
- href: resource.href,
48803
- className: "group flex flex-row items-center hover:bg-transparent",
48804
- children: [
48805
- /* @__PURE__ */ jsx("div", { className: "mr-4 rounded-lg bg-muted p-4 shadow-sm", children: /* @__PURE__ */ jsx(
48806
- DynamicIcon,
48913
+ className: cn("hidden lg:flex", navigationMenuListClassName),
48914
+ children: menuLinks?.map((link, index) => {
48915
+ if (hasDropdownItems(link)) {
48916
+ return /* @__PURE__ */ jsxs(NavigationMenuItem, { children: [
48917
+ /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent", children: link.title }),
48918
+ renderDropdownContent3(link)
48919
+ ] }, `${link.title}-${index}`);
48920
+ }
48921
+ if (!link.href) {
48922
+ return null;
48923
+ }
48924
+ return /* @__PURE__ */ jsx(NavigationMenuItem, { children: /* @__PURE__ */ jsx(
48925
+ NavigationMenuLink,
48807
48926
  {
48808
- name: resource.icon,
48809
- size: 24,
48810
- className: "text-muted-foreground transition-all group-hover:text-foreground"
48927
+ href: link.href,
48928
+ className: "group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-muted hover:text-accent-foreground",
48929
+ children: link.title
48811
48930
  }
48812
- ) }),
48813
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1 text-sm font-normal text-muted-foreground", children: [
48814
- /* @__PURE__ */ jsx("div", { className: "font-medium text-foreground", children: resource.title }),
48815
- /* @__PURE__ */ jsx("div", { className: "font-normal text-muted-foreground", children: resource.description })
48816
- ] })
48931
+ ) }, `${link.title}-${index}`);
48932
+ })
48933
+ }
48934
+ ),
48935
+ /* @__PURE__ */ jsx(
48936
+ "div",
48937
+ {
48938
+ className: cn(
48939
+ "hidden items-center gap-4 lg:flex",
48940
+ actionsClassName
48941
+ ),
48942
+ children: renderActions()
48943
+ }
48944
+ ),
48945
+ /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxs(
48946
+ Pressable,
48947
+ {
48948
+ variant: "outline",
48949
+ size: "icon",
48950
+ asButton: true,
48951
+ "aria-label": "Main Menu",
48952
+ onClick: () => setOpen(!open),
48953
+ children: [
48954
+ !open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
48955
+ open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
48817
48956
  ]
48818
- },
48819
- index
48820
- )) }) })
48957
+ }
48958
+ ) })
48821
48959
  ] }),
48822
- /* @__PURE__ */ jsx(Pressable, { href: "#", variant: "ghost", asButton: true, children: "Developer" })
48823
- ] }),
48824
- /* @__PURE__ */ jsx("div", { className: cn("hidden items-center gap-4 lg:flex", actionsClassName), children: renderAuthActions() }),
48825
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-4 lg:hidden", children: /* @__PURE__ */ jsxs(
48826
- Pressable,
48827
- {
48828
- variant: "outline",
48829
- size: "icon",
48830
- asButton: true,
48831
- "aria-label": "Main Menu",
48832
- onClick: () => setOpen(!open),
48833
- children: [
48834
- !open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/menu", size: 16 }),
48835
- open && /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 16 })
48836
- ]
48837
- }
48838
- ) })
48839
- ] }),
48840
- open && /* @__PURE__ */ jsxs("div", { className: cn("absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden", mobileMenuClassName), children: [
48841
- /* @__PURE__ */ jsxs(Accordion, { type: "single", collapsible: true, className: "w-full", children: [
48842
- /* @__PURE__ */ jsxs(AccordionItem, { value: "platform", className: "border-b-2 border-dashed", children: [
48843
- /* @__PURE__ */ jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: "Platform" }),
48844
- /* @__PURE__ */ jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
48845
- /* @__PURE__ */ jsxs("div", { children: [
48846
- /* @__PURE__ */ jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: "Solutions" }),
48847
- /* @__PURE__ */ jsx("div", { className: "space-y-4", children: solutions?.map((solution, index) => /* @__PURE__ */ jsxs(
48848
- Pressable,
48849
- {
48850
- href: solution.href,
48851
- className: "group flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
48852
- children: [
48853
- /* @__PURE__ */ jsx("div", { className: "rounded-lg bg-muted p-2 shadow-sm", children: /* @__PURE__ */ jsx(
48854
- DynamicIcon,
48960
+ open && /* @__PURE__ */ jsxs(
48961
+ "div",
48962
+ {
48963
+ className: cn(
48964
+ "absolute inset-0 top-[72px] flex h-[calc(100vh-72px)] w-full flex-col overflow-scroll border-t border-border bg-background lg:hidden",
48965
+ mobileMenuClassName
48966
+ ),
48967
+ children: [
48968
+ /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: "w-full", children: menuLinks?.map((link, index) => {
48969
+ if (hasDropdownItems(link)) {
48970
+ return /* @__PURE__ */ jsxs(
48971
+ AccordionItem,
48972
+ {
48973
+ value: `menu-${index}`,
48974
+ className: "border-b-2 border-dashed",
48975
+ children: [
48976
+ /* @__PURE__ */ jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: link.title }),
48977
+ /* @__PURE__ */ jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsx("div", { className: "space-y-3", children: link.dropdownItems?.map((item, itemIndex) => /* @__PURE__ */ jsxs(
48978
+ Pressable,
48979
+ {
48980
+ href: item.href,
48981
+ className: "group flex items-start gap-4 rounded-lg p-2 hover:bg-muted",
48982
+ children: [
48983
+ item.imgUrl && /* @__PURE__ */ jsx("div", { className: "h-10 w-10 overflow-hidden rounded-md border border-border", children: /* @__PURE__ */ jsx(
48984
+ Img,
48985
+ {
48986
+ src: item.imgUrl,
48987
+ alt: item.title,
48988
+ className: "h-full w-full object-cover object-center",
48989
+ optixFlowConfig
48990
+ }
48991
+ ) }),
48992
+ !item.imgUrl && item.icon && /* @__PURE__ */ jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded-md border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ jsx(DynamicIcon, { name: item.icon, size: 16 }) }),
48993
+ /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
48994
+ /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: item.title }),
48995
+ item.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: item.description })
48996
+ ] })
48997
+ ]
48998
+ },
48999
+ `${item.title}-${itemIndex}`
49000
+ )) }) })
49001
+ ]
49002
+ },
49003
+ `${link.title}-${index}`
49004
+ );
49005
+ }
49006
+ if (!link.href) {
49007
+ return null;
49008
+ }
49009
+ return /* @__PURE__ */ jsx(
49010
+ "div",
49011
+ {
49012
+ className: "border-b-2 border-dashed",
49013
+ children: /* @__PURE__ */ jsx(
49014
+ Pressable,
48855
49015
  {
48856
- name: solution.icon,
48857
- size: 16,
48858
- className: "text-muted-foreground transition-all group-hover:text-foreground"
49016
+ href: link.href,
49017
+ className: "flex w-full items-center px-2 py-4 text-left text-sm font-medium",
49018
+ children: link.title
48859
49019
  }
48860
- ) }),
48861
- /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
48862
- /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: solution.title }),
48863
- /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: solution.description })
48864
- ] })
48865
- ]
48866
- },
48867
- index
48868
- )) })
48869
- ] }),
48870
- /* @__PURE__ */ jsxs("div", { children: [
48871
- /* @__PURE__ */ jsx("div", { className: "mb-4 text-xs tracking-widest text-muted-foreground uppercase", children: "By Use Case" }),
48872
- /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-2", children: platformCases?.map((useCase, index) => /* @__PURE__ */ jsxs(
48873
- Pressable,
49020
+ )
49021
+ },
49022
+ `${link.title}-${index}`
49023
+ );
49024
+ }) }),
49025
+ /* @__PURE__ */ jsx(
49026
+ "div",
48874
49027
  {
48875
- href: useCase.href,
48876
- className: "group flex items-center gap-2 rounded-lg p-2 hover:bg-muted",
48877
- children: [
48878
- /* @__PURE__ */ jsx("div", { className: "rounded-lg bg-muted p-1.5 shadow-sm", children: /* @__PURE__ */ jsx(
48879
- DynamicIcon,
48880
- {
48881
- name: useCase.icon,
48882
- size: 12,
48883
- className: "text-muted-foreground transition-all group-hover:text-foreground"
48884
- }
48885
- ) }),
48886
- /* @__PURE__ */ jsx("div", { className: "truncate text-sm font-medium", children: useCase.title })
48887
- ]
48888
- },
48889
- index
48890
- )) })
48891
- ] })
48892
- ] }) })
48893
- ] }),
48894
- /* @__PURE__ */ jsxs(AccordionItem, { value: "resources", className: "border-b-2 border-dashed", children: [
48895
- /* @__PURE__ */ jsx(AccordionTrigger, { className: "px-2 py-4 text-left hover:no-underline", children: "Resources" }),
48896
- /* @__PURE__ */ jsx(AccordionContent, { className: "px-2 pb-4", children: /* @__PURE__ */ jsx("div", { className: "space-y-3", children: resources?.map((resource, index) => /* @__PURE__ */ jsxs(
48897
- Pressable,
48898
- {
48899
- href: resource.href,
48900
- className: "group flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
48901
- children: [
48902
- /* @__PURE__ */ jsx("div", { className: "rounded-lg bg-muted p-2 shadow-sm", children: /* @__PURE__ */ jsx(
48903
- DynamicIcon,
48904
- {
48905
- name: resource.icon,
48906
- size: 16,
48907
- className: "text-muted-foreground transition-all group-hover:text-foreground"
48908
- }
48909
- ) }),
48910
- /* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
48911
- /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-foreground", children: resource.title }),
48912
- /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground", children: resource.description })
48913
- ] })
48914
- ]
48915
- },
48916
- index
48917
- )) }) })
48918
- ] })
48919
- ] }),
48920
- /* @__PURE__ */ jsx(
48921
- Pressable,
48922
- {
48923
- href: "#",
48924
- className: "w-full border-y-2 border-dashed px-2 py-4 text-left text-sm font-medium",
48925
- children: "Developer"
48926
- }
48927
- ),
48928
- /* @__PURE__ */ jsx("div", { className: cn("mx-8 mt-auto flex flex-col gap-4 py-12", actionsClassName), children: renderAuthActions() })
48929
- ] })
48930
- ] }) })
49028
+ className: cn(
49029
+ "mx-8 mt-auto flex flex-col gap-4 py-12",
49030
+ actionsClassName
49031
+ ),
49032
+ children: renderActions()
49033
+ }
49034
+ )
49035
+ ]
49036
+ }
49037
+ )
49038
+ ] })
49039
+ }
49040
+ )
48931
49041
  }
48932
49042
  );
48933
49043
  };
@@ -49023,7 +49133,7 @@ var NavbarImagePreview = ({
49023
49133
  if (navigationSlot) return navigationSlot;
49024
49134
  if (!navigation || navigation.length === 0) return null;
49025
49135
  return /* @__PURE__ */ jsx(NavigationMenuList, { children: navigation.map((item, index) => /* @__PURE__ */ jsx(
49026
- DesktopMenuItem2,
49136
+ DesktopMenuItem3,
49027
49137
  {
49028
49138
  item,
49029
49139
  index,
@@ -49109,7 +49219,7 @@ var NavbarImagePreview = ({
49109
49219
  }
49110
49220
  );
49111
49221
  };
49112
- var DesktopMenuItem2 = ({
49222
+ var DesktopMenuItem3 = ({
49113
49223
  item,
49114
49224
  index,
49115
49225
  optixFlowConfig
@@ -49385,7 +49495,7 @@ var NavbarDarkIcons = ({
49385
49495
  if (navigationSlot) return navigationSlot;
49386
49496
  if (!navigation || navigation.length === 0) return null;
49387
49497
  return /* @__PURE__ */ jsx(NavigationMenuList, { children: navigation.map((item, index) => /* @__PURE__ */ jsx(
49388
- DesktopMenuItem3,
49498
+ DesktopMenuItem4,
49389
49499
  {
49390
49500
  item,
49391
49501
  index
@@ -49440,326 +49550,7 @@ var NavbarDarkIcons = ({
49440
49550
  ] })
49441
49551
  ] }) }),
49442
49552
  /* @__PURE__ */ jsx(
49443
- MobileNavigationMenu3,
49444
- {
49445
- open,
49446
- navigation: navigation ?? [],
49447
- authActions,
49448
- authActionsSlot
49449
- }
49450
- )
49451
- ]
49452
- }
49453
- );
49454
- };
49455
- var DesktopMenuItem3 = ({ item, index }) => {
49456
- if (item.links) {
49457
- return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
49458
- /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-fit bg-transparent font-normal text-foreground focus:bg-transparent! data-[active=true]:bg-transparent!", children: item.title }),
49459
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-xl! p-0!", children: /* @__PURE__ */ jsx("ul", { className: "w-[20rem] p-2.5", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(MenuSubLink, { link }) }, `desktop-nav-sublink-${linkIndex}`)) }) })
49460
- ] }, `desktop-menu-item-${index}`);
49461
- }
49462
- return /* @__PURE__ */ jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsx(
49463
- NavigationMenuLink,
49464
- {
49465
- href: item.url,
49466
- className: `${navigationMenuTriggerStyle()} h-fit bg-transparent font-normal text-foreground`,
49467
- children: item.title
49468
- }
49469
- ) }, `desktop-menu-item-${index}`);
49470
- };
49471
- var MenuSubLink = ({ link }) => {
49472
- return /* @__PURE__ */ jsx(
49473
- Pressable,
49474
- {
49475
- href: link.url,
49476
- className: "flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
49477
- children: /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-between", children: [
49478
- /* @__PURE__ */ jsxs("div", { className: "flex gap-2.5", children: [
49479
- link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsx(DynamicIcon, { name: link.iconName, size: 20, color: link.iconColor }) : null,
49480
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
49481
- /* @__PURE__ */ jsx("h3", { className: "text-sm leading-none text-foreground", children: link.label }),
49482
- /* @__PURE__ */ jsx("p", { className: "text-sm leading-[1.2] text-muted-foreground/80", children: link.description })
49483
- ] })
49484
- ] }),
49485
- /* @__PURE__ */ jsx(
49486
- DynamicIcon,
49487
- {
49488
- name: "lucide/chevron-right",
49489
- size: 14,
49490
- className: "stroke-muted-foreground opacity-100"
49491
- }
49492
- )
49493
- ] })
49494
- }
49495
- );
49496
- };
49497
- var MobileNavigationMenu3 = ({
49498
- open,
49499
- navigation,
49500
- authActions,
49501
- authActionsSlot
49502
- }) => {
49503
- const renderMobileAuthActions = () => {
49504
- if (authActionsSlot) return authActionsSlot;
49505
- if (!authActions || authActions.length === 0) return null;
49506
- return authActions.map((action, index) => {
49507
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
49508
- return /* @__PURE__ */ jsx(
49509
- Pressable,
49510
- {
49511
- asButton: true,
49512
- className: cn("w-full", actionClassName),
49513
- ...pressableProps,
49514
- children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
49515
- icon,
49516
- label,
49517
- iconAfter
49518
- ] })
49519
- },
49520
- index
49521
- );
49522
- });
49523
- };
49524
- return /* @__PURE__ */ jsx(Sheet, { open, children: /* @__PURE__ */ jsx(
49525
- SheetContent,
49526
- {
49527
- "aria-describedby": void 0,
49528
- side: "top",
49529
- className: "dark inset-0 z-998 h-dvh w-full bg-background pt-16 [&>button]:hidden",
49530
- children: /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxs("div", { className: "container pb-12", children: [
49531
- /* @__PURE__ */ jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
49532
- /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between gap-20", children: [
49533
- /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
49534
- (item, index) => renderMobileMenuItem3(item, index)
49535
- ) }),
49536
- /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions() })
49537
- ] })
49538
- ] }) })
49539
- }
49540
- ) });
49541
- };
49542
- var renderMobileMenuItem3 = (item, index) => {
49543
- if (item.links) {
49544
- return /* @__PURE__ */ jsxs(AccordionItem, { value: `nav-${index}`, children: [
49545
- /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center p-0 text-base leading-[3.75] font-normal text-muted-foreground hover:no-underline", children: item.title }),
49546
- /* @__PURE__ */ jsx(AccordionContent, { children: item.links.map((subItem, subIndex) => /* @__PURE__ */ jsx(MenuSubLink, { link: subItem }, `sub-link-${index}-${subIndex}`)) })
49547
- ] }, `nav-item-${index}`);
49548
- }
49549
- return /* @__PURE__ */ jsx(
49550
- Pressable,
49551
- {
49552
- href: item.url,
49553
- className: "flex h-15 items-center border-b p-0 text-left text-base leading-[3.75] font-normal text-muted-foreground ring-ring/10 outline-ring/50 transition-all focus-visible:ring-4 focus-visible:outline-1 nth-last-1:border-0",
49554
- children: item.title
49555
- },
49556
- `nav-link-${index}`
49557
- );
49558
- };
49559
- var GithubStars = ({ repoUrl }) => {
49560
- const [stargazersCount, setStargazersCount] = useState("");
49561
- const formatStargazers = (count) => {
49562
- if (count === "") return "";
49563
- if (count < 1e3) return count.toString();
49564
- return `${Math.round(count / 1e3)}k`;
49565
- };
49566
- useEffect(() => {
49567
- const getStars = async () => {
49568
- try {
49569
- const parts = repoUrl.split("github.com/");
49570
- if (parts.length < 2) return;
49571
- const [owner, repo] = parts[1].split("/");
49572
- const githubApiEndpoint = `https://api.github.com/repos/${owner}/${repo}`;
49573
- const response = await fetch(githubApiEndpoint);
49574
- const json = await response.json();
49575
- const formattedCount = formatStargazers(json.stargazers_count);
49576
- setStargazersCount(formattedCount);
49577
- } catch (error) {
49578
- if (error instanceof Error) {
49579
- console.error(error.message);
49580
- }
49581
- }
49582
- };
49583
- getStars();
49584
- }, [repoUrl]);
49585
- return /* @__PURE__ */ jsxs(
49586
- Pressable,
49587
- {
49588
- variant: "ghost",
49589
- asButton: true,
49590
- className: "flex items-center gap-1.5 bg-muted text-foreground",
49591
- href: repoUrl,
49592
- children: [
49593
- /* @__PURE__ */ jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsx(
49594
- "g",
49595
- {
49596
- transform: "translate(-140.000000, -7559.000000)",
49597
- fill: "currentColor",
49598
- children: /* @__PURE__ */ jsx("g", { transform: "translate(56.000000, 160.000000)", children: /* @__PURE__ */ jsx("path", { d: "M94,7399 C99.523,7399 104,7403.59 104,7409.253 C104,7413.782 101.138,7417.624 97.167,7418.981 C96.66,7419.082 96.48,7418.762 96.48,7418.489 C96.48,7418.151 96.492,7417.047 96.492,7415.675 C96.492,7414.719 96.172,7414.095 95.813,7413.777 C98.04,7413.523 100.38,7412.656 100.38,7408.718 C100.38,7407.598 99.992,7406.684 99.35,7405.966 C99.454,7405.707 99.797,7404.664 99.252,7403.252 C99.252,7403.252 98.414,7402.977 96.505,7404.303 C95.706,7404.076 94.85,7403.962 94,7403.958 C93.15,7403.962 92.295,7404.076 91.497,7404.303 C89.586,7402.977 88.746,7403.252 88.746,7403.252 C88.203,7404.664 88.546,7405.707 88.649,7405.966 C88.01,7406.684 87.619,7407.598 87.619,7408.718 C87.619,7412.646 89.954,7413.526 92.175,7413.785 C91.889,7414.041 91.63,7414.493 91.54,7415.156 C90.97,7415.418 89.522,7415.871 88.63,7414.304 C88.63,7414.304 88.101,7413.319 87.097,7413.247 C87.097,7413.247 86.122,7413.234 87.029,7413.87 C87.029,7413.87 87.684,7414.185 88.139,7415.37 C88.139,7415.37 88.726,7417.2 91.508,7416.58 C91.513,7417.437 91.522,7418.245 91.522,7418.489 C91.522,7418.76 91.338,7419.077 90.839,7418.982 C86.865,7417.627 84,7413.783 84,7409.253 C84,7403.59 88.478,7399 94,7399" }) })
49599
- }
49600
- ) }) }),
49601
- /* @__PURE__ */ jsx("span", { children: stargazersCount })
49602
- ]
49603
- }
49604
- );
49605
- };
49606
- var MOBILE_BREAKPOINT4 = 1280;
49607
- var NavbarAnimatedPreview = ({
49608
- className,
49609
- containerClassName,
49610
- navClassName,
49611
- navigationMenuClassName,
49612
- actionsClassName,
49613
- logo = {
49614
- url: "/",
49615
- src: logoPlaceholders.logoMark
49616
- },
49617
- logoSlot,
49618
- logoClassName,
49619
- navigation,
49620
- navigationSlot,
49621
- authActions,
49622
- authActionsSlot,
49623
- background = "white",
49624
- spacing = "none",
49625
- pattern,
49626
- patternOpacity,
49627
- optixFlowConfig
49628
- }) => {
49629
- const [open, setOpen] = useState(false);
49630
- useEffect(() => {
49631
- if (typeof window === "undefined") return;
49632
- const handleResize = () => {
49633
- if (window.innerWidth > MOBILE_BREAKPOINT4) {
49634
- setOpen(false);
49635
- }
49636
- };
49637
- handleResize();
49638
- window.addEventListener("resize", handleResize);
49639
- return () => window.removeEventListener("resize", handleResize);
49640
- }, []);
49641
- useEffect(() => {
49642
- if (typeof document === "undefined") return;
49643
- document.body.style.overflow = open ? "hidden" : "auto";
49644
- return () => {
49645
- document.body.style.overflow = "auto";
49646
- };
49647
- }, [open]);
49648
- const handleMobileMenu = () => {
49649
- setOpen(!open);
49650
- };
49651
- const renderLogo = () => {
49652
- if (logoSlot) return logoSlot;
49653
- if (!logo) return null;
49654
- return /* @__PURE__ */ jsxs(
49655
- Pressable,
49656
- {
49657
- href: logo.url || "/",
49658
- className: cn(
49659
- "flex max-h-8 items-center gap-2 text-lg font-semibold tracking-tighter",
49660
- logoClassName
49661
- ),
49662
- children: [
49663
- logo.src && /* @__PURE__ */ jsx(
49664
- Img,
49665
- {
49666
- src: logo.src,
49667
- alt: logo.alt || "Logo",
49668
- className: cn("inline-block size-6", logo.className),
49669
- optixFlowConfig
49670
- }
49671
- ),
49672
- logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "hidden md:inline-block", children: logo.title }) : logo.title)
49673
- ]
49674
- }
49675
- );
49676
- };
49677
- const renderAuthActions = () => {
49678
- if (authActionsSlot) return authActionsSlot;
49679
- if (!authActions || authActions.length === 0) return null;
49680
- return authActions.map((action, index) => {
49681
- const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
49682
- return /* @__PURE__ */ jsx(
49683
- Pressable,
49684
- {
49685
- asButton: true,
49686
- className: actionClassName,
49687
- ...pressableProps,
49688
- children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
49689
- icon,
49690
- label,
49691
- iconAfter ?? /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 })
49692
- ] })
49693
- },
49694
- index
49695
- );
49696
- });
49697
- };
49698
- const renderNavigation = () => {
49699
- if (navigationSlot) return navigationSlot;
49700
- if (!navigation || navigation.length === 0) return null;
49701
- return /* @__PURE__ */ jsx(NavigationMenuList, { children: navigation.map((item, index) => /* @__PURE__ */ jsx(
49702
- DesktopMenuItem4,
49703
- {
49704
- item,
49705
- index,
49706
- optixFlowConfig
49707
- },
49708
- `desktop-link-${index}`
49709
- )) });
49710
- };
49711
- return /* @__PURE__ */ jsxs(
49712
- Section,
49713
- {
49714
- background,
49715
- spacing,
49716
- className: cn(
49717
- "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
49718
- className
49719
- ),
49720
- pattern,
49721
- patternOpacity,
49722
- children: [
49723
- /* @__PURE__ */ jsx(NavigationMenu, { className: cn(
49724
- "h-20 max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
49725
- navigationMenuClassName
49726
- ), children: /* @__PURE__ */ jsxs("div", { className: cn(
49727
- "relative z-999 container grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3",
49728
- containerClassName
49729
- ), children: [
49730
- renderLogo(),
49731
- /* @__PURE__ */ jsx("div", { className: cn("hidden xl:flex", navClassName), children: renderNavigation() }),
49732
- /* @__PURE__ */ jsxs("div", { className: cn("justify-self-end", actionsClassName), children: [
49733
- /* @__PURE__ */ jsx("div", { className: "hidden xl:block", children: renderAuthActions() }),
49734
- /* @__PURE__ */ jsx("div", { className: "xl:hidden", children: /* @__PURE__ */ jsx(
49735
- Pressable,
49736
- {
49737
- className: "size-11",
49738
- variant: "ghost",
49739
- size: "icon",
49740
- asButton: true,
49741
- onClick: handleMobileMenu,
49742
- children: open ? /* @__PURE__ */ jsx(
49743
- DynamicIcon,
49744
- {
49745
- name: "lucide/x",
49746
- size: 22,
49747
- className: "stroke-foreground"
49748
- }
49749
- ) : /* @__PURE__ */ jsx(
49750
- DynamicIcon,
49751
- {
49752
- name: "lucide/menu",
49753
- size: 22,
49754
- className: "stroke-foreground"
49755
- }
49756
- )
49757
- }
49758
- ) })
49759
- ] })
49760
- ] }) }),
49761
- /* @__PURE__ */ jsx(
49762
- MobileNavigationMenu4,
49553
+ MobileNavigationMenu3,
49763
49554
  {
49764
49555
  open,
49765
49556
  navigation: navigation ?? [],
@@ -49771,51 +49562,382 @@ var NavbarAnimatedPreview = ({
49771
49562
  }
49772
49563
  );
49773
49564
  };
49774
- var DesktopMenuItem4 = ({
49775
- item,
49776
- index,
49777
- optixFlowConfig
49778
- }) => {
49779
- if (item.links || item.featuredLinks || item.groupLinks) {
49565
+ var DesktopMenuItem4 = ({ item, index }) => {
49566
+ if (item.links) {
49780
49567
  return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
49781
- /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-fit bg-transparent font-normal text-foreground/60", children: item.title }),
49782
- /* @__PURE__ */ jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsx("div", { className: "w-dvw animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: /* @__PURE__ */ jsxs("div", { className: "container", children: [
49783
- item.id === 1 && /* @__PURE__ */ jsx(
49784
- DropdownMenu1,
49568
+ /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-fit bg-transparent font-normal text-foreground focus:bg-transparent! data-[active=true]:bg-transparent!", children: item.title }),
49569
+ /* @__PURE__ */ jsx(NavigationMenuContent, { className: "rounded-xl! p-0!", children: /* @__PURE__ */ jsx("ul", { className: "w-[20rem] p-2.5", children: item.links.map((link, linkIndex) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(MenuSubLink, { link }) }, `desktop-nav-sublink-${linkIndex}`)) }) })
49570
+ ] }, `desktop-menu-item-${index}`);
49571
+ }
49572
+ return /* @__PURE__ */ jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsx(
49573
+ NavigationMenuLink,
49574
+ {
49575
+ href: item.url,
49576
+ className: `${navigationMenuTriggerStyle()} h-fit bg-transparent font-normal text-foreground`,
49577
+ children: item.title
49578
+ }
49579
+ ) }, `desktop-menu-item-${index}`);
49580
+ };
49581
+ var MenuSubLink = ({ link }) => {
49582
+ return /* @__PURE__ */ jsx(
49583
+ Pressable,
49584
+ {
49585
+ href: link.url,
49586
+ className: "flex items-center gap-4 rounded-lg p-2 hover:bg-muted",
49587
+ children: /* @__PURE__ */ jsxs("div", { className: "flex w-full items-center justify-between", children: [
49588
+ /* @__PURE__ */ jsxs("div", { className: "flex gap-2.5", children: [
49589
+ link.icon ? link.icon : link.iconName ? /* @__PURE__ */ jsx(DynamicIcon, { name: link.iconName, size: 20, color: link.iconColor }) : null,
49590
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
49591
+ /* @__PURE__ */ jsx("h3", { className: "text-sm leading-none text-foreground", children: link.label }),
49592
+ /* @__PURE__ */ jsx("p", { className: "text-sm leading-[1.2] text-muted-foreground/80", children: link.description })
49593
+ ] })
49594
+ ] }),
49595
+ /* @__PURE__ */ jsx(
49596
+ DynamicIcon,
49785
49597
  {
49786
- links: item.links,
49787
- optixFlowConfig
49598
+ name: "lucide/chevron-right",
49599
+ size: 14,
49600
+ className: "stroke-muted-foreground opacity-100"
49788
49601
  }
49789
- ),
49790
- item.id === 2 && /* @__PURE__ */ jsx(
49791
- DropdownMenu2,
49602
+ )
49603
+ ] })
49604
+ }
49605
+ );
49606
+ };
49607
+ var MobileNavigationMenu3 = ({
49608
+ open,
49609
+ navigation,
49610
+ authActions,
49611
+ authActionsSlot
49612
+ }) => {
49613
+ const renderMobileAuthActions = () => {
49614
+ if (authActionsSlot) return authActionsSlot;
49615
+ if (!authActions || authActions.length === 0) return null;
49616
+ return authActions.map((action, index) => {
49617
+ const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
49618
+ return /* @__PURE__ */ jsx(
49619
+ Pressable,
49620
+ {
49621
+ asButton: true,
49622
+ className: cn("w-full", actionClassName),
49623
+ ...pressableProps,
49624
+ children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
49625
+ icon,
49626
+ label,
49627
+ iconAfter
49628
+ ] })
49629
+ },
49630
+ index
49631
+ );
49632
+ });
49633
+ };
49634
+ return /* @__PURE__ */ jsx(Sheet, { open, children: /* @__PURE__ */ jsx(
49635
+ SheetContent,
49636
+ {
49637
+ "aria-describedby": void 0,
49638
+ side: "top",
49639
+ className: "dark inset-0 z-998 h-dvh w-full bg-background pt-16 [&>button]:hidden",
49640
+ children: /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxs("div", { className: "container pb-12", children: [
49641
+ /* @__PURE__ */ jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
49642
+ /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col justify-between gap-20", children: [
49643
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
49644
+ (item, index) => renderMobileMenuItem3(item, index)
49645
+ ) }),
49646
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 pb-20", children: renderMobileAuthActions() })
49647
+ ] })
49648
+ ] }) })
49649
+ }
49650
+ ) });
49651
+ };
49652
+ var renderMobileMenuItem3 = (item, index) => {
49653
+ if (item.links) {
49654
+ return /* @__PURE__ */ jsxs(AccordionItem, { value: `nav-${index}`, children: [
49655
+ /* @__PURE__ */ jsx(AccordionTrigger, { className: "h-15 items-center p-0 text-base leading-[3.75] font-normal text-muted-foreground hover:no-underline", children: item.title }),
49656
+ /* @__PURE__ */ jsx(AccordionContent, { children: item.links.map((subItem, subIndex) => /* @__PURE__ */ jsx(MenuSubLink, { link: subItem }, `sub-link-${index}-${subIndex}`)) })
49657
+ ] }, `nav-item-${index}`);
49658
+ }
49659
+ return /* @__PURE__ */ jsx(
49660
+ Pressable,
49661
+ {
49662
+ href: item.url,
49663
+ className: "flex h-15 items-center border-b p-0 text-left text-base leading-[3.75] font-normal text-muted-foreground ring-ring/10 outline-ring/50 transition-all focus-visible:ring-4 focus-visible:outline-1 nth-last-1:border-0",
49664
+ children: item.title
49665
+ },
49666
+ `nav-link-${index}`
49667
+ );
49668
+ };
49669
+ var GithubStars = ({ repoUrl }) => {
49670
+ const [stargazersCount, setStargazersCount] = useState("");
49671
+ const formatStargazers = (count) => {
49672
+ if (count === "") return "";
49673
+ if (count < 1e3) return count.toString();
49674
+ return `${Math.round(count / 1e3)}k`;
49675
+ };
49676
+ useEffect(() => {
49677
+ const getStars = async () => {
49678
+ try {
49679
+ const parts = repoUrl.split("github.com/");
49680
+ if (parts.length < 2) return;
49681
+ const [owner, repo] = parts[1].split("/");
49682
+ const githubApiEndpoint = `https://api.github.com/repos/${owner}/${repo}`;
49683
+ const response = await fetch(githubApiEndpoint);
49684
+ const json = await response.json();
49685
+ const formattedCount = formatStargazers(json.stargazers_count);
49686
+ setStargazersCount(formattedCount);
49687
+ } catch (error) {
49688
+ if (error instanceof Error) {
49689
+ console.error(error.message);
49690
+ }
49691
+ }
49692
+ };
49693
+ getStars();
49694
+ }, [repoUrl]);
49695
+ return /* @__PURE__ */ jsxs(
49696
+ Pressable,
49697
+ {
49698
+ variant: "ghost",
49699
+ asButton: true,
49700
+ className: "flex items-center gap-1.5 bg-muted text-foreground",
49701
+ href: repoUrl,
49702
+ children: [
49703
+ /* @__PURE__ */ jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx("g", { stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsx(
49704
+ "g",
49792
49705
  {
49793
- featuredLinks: item.featuredLinks,
49794
- links: item.links,
49795
- optixFlowConfig
49706
+ transform: "translate(-140.000000, -7559.000000)",
49707
+ fill: "currentColor",
49708
+ children: /* @__PURE__ */ jsx("g", { transform: "translate(56.000000, 160.000000)", children: /* @__PURE__ */ jsx("path", { d: "M94,7399 C99.523,7399 104,7403.59 104,7409.253 C104,7413.782 101.138,7417.624 97.167,7418.981 C96.66,7419.082 96.48,7418.762 96.48,7418.489 C96.48,7418.151 96.492,7417.047 96.492,7415.675 C96.492,7414.719 96.172,7414.095 95.813,7413.777 C98.04,7413.523 100.38,7412.656 100.38,7408.718 C100.38,7407.598 99.992,7406.684 99.35,7405.966 C99.454,7405.707 99.797,7404.664 99.252,7403.252 C99.252,7403.252 98.414,7402.977 96.505,7404.303 C95.706,7404.076 94.85,7403.962 94,7403.958 C93.15,7403.962 92.295,7404.076 91.497,7404.303 C89.586,7402.977 88.746,7403.252 88.746,7403.252 C88.203,7404.664 88.546,7405.707 88.649,7405.966 C88.01,7406.684 87.619,7407.598 87.619,7408.718 C87.619,7412.646 89.954,7413.526 92.175,7413.785 C91.889,7414.041 91.63,7414.493 91.54,7415.156 C90.97,7415.418 89.522,7415.871 88.63,7414.304 C88.63,7414.304 88.101,7413.319 87.097,7413.247 C87.097,7413.247 86.122,7413.234 87.029,7413.87 C87.029,7413.87 87.684,7414.185 88.139,7415.37 C88.139,7415.37 88.726,7417.2 91.508,7416.58 C91.513,7417.437 91.522,7418.245 91.522,7418.489 C91.522,7418.76 91.338,7419.077 90.839,7418.982 C86.865,7417.627 84,7413.783 84,7409.253 C84,7403.59 88.478,7399 94,7399" }) })
49796
49709
  }
49710
+ ) }) }),
49711
+ /* @__PURE__ */ jsx("span", { children: stargazersCount })
49712
+ ]
49713
+ }
49714
+ );
49715
+ };
49716
+ var MOBILE_BREAKPOINT4 = 1280;
49717
+ var NavbarAnimatedPreview = ({
49718
+ className,
49719
+ containerClassName,
49720
+ navClassName,
49721
+ navigationMenuClassName,
49722
+ actionsClassName,
49723
+ logo = {
49724
+ url: "/",
49725
+ src: logoPlaceholders.logoMark
49726
+ },
49727
+ logoSlot,
49728
+ logoClassName,
49729
+ menuLinks,
49730
+ navigationSlot,
49731
+ actions,
49732
+ actionsSlot,
49733
+ background = "white",
49734
+ spacing = "none",
49735
+ pattern,
49736
+ patternOpacity,
49737
+ optixFlowConfig
49738
+ }) => {
49739
+ const [open, setOpen] = useState(false);
49740
+ useEffect(() => {
49741
+ if (typeof window === "undefined") return;
49742
+ const handleResize = () => {
49743
+ if (window.innerWidth > MOBILE_BREAKPOINT4) {
49744
+ setOpen(false);
49745
+ }
49746
+ };
49747
+ handleResize();
49748
+ window.addEventListener("resize", handleResize);
49749
+ return () => window.removeEventListener("resize", handleResize);
49750
+ }, []);
49751
+ useEffect(() => {
49752
+ if (typeof document === "undefined") return;
49753
+ document.body.style.overflow = open ? "hidden" : "auto";
49754
+ return () => {
49755
+ document.body.style.overflow = "auto";
49756
+ };
49757
+ }, [open]);
49758
+ const handleMobileMenu = () => {
49759
+ setOpen(!open);
49760
+ };
49761
+ const renderLogo = () => {
49762
+ if (logoSlot) return logoSlot;
49763
+ if (!logo) return null;
49764
+ return /* @__PURE__ */ jsxs(
49765
+ Pressable,
49766
+ {
49767
+ href: logo.url || "/",
49768
+ className: cn(
49769
+ "flex max-h-8 items-center gap-2 text-lg font-semibold tracking-tighter",
49770
+ logoClassName
49797
49771
  ),
49798
- item.id === 3 && /* @__PURE__ */ jsx(
49799
- DropdownMenu3,
49772
+ children: [
49773
+ logo.src && /* @__PURE__ */ jsx(
49774
+ Img,
49775
+ {
49776
+ src: logo.src,
49777
+ alt: logo.alt || "Logo",
49778
+ className: cn("inline-block size-6", logo.className),
49779
+ optixFlowConfig
49780
+ }
49781
+ ),
49782
+ logo.title && (typeof logo.title === "string" ? /* @__PURE__ */ jsx("span", { className: "hidden md:inline-block", children: logo.title }) : logo.title)
49783
+ ]
49784
+ }
49785
+ );
49786
+ };
49787
+ const renderActions = () => {
49788
+ if (actionsSlot) return actionsSlot;
49789
+ if (!actions || actions.length === 0) return null;
49790
+ return actions.map((action, index) => {
49791
+ const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
49792
+ return /* @__PURE__ */ jsx(
49793
+ Pressable,
49794
+ {
49795
+ asButton: true,
49796
+ className: actionClassName,
49797
+ ...pressableProps,
49798
+ children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
49799
+ icon,
49800
+ label,
49801
+ iconAfter ?? /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 })
49802
+ ] })
49803
+ },
49804
+ index
49805
+ );
49806
+ });
49807
+ };
49808
+ const renderNavigation = () => {
49809
+ if (navigationSlot) return navigationSlot;
49810
+ if (!menuLinks || menuLinks.length === 0) return null;
49811
+ return /* @__PURE__ */ jsx(NavigationMenuList, { children: menuLinks.map((item, index) => /* @__PURE__ */ jsx(
49812
+ DesktopMenuItem5,
49813
+ {
49814
+ item,
49815
+ index,
49816
+ optixFlowConfig
49817
+ },
49818
+ `desktop-link-${index}`
49819
+ )) });
49820
+ };
49821
+ return /* @__PURE__ */ jsxs(
49822
+ Section,
49823
+ {
49824
+ background,
49825
+ spacing,
49826
+ className: cn(
49827
+ "pointer-events-auto fixed top-0 z-999 flex w-full items-center justify-center",
49828
+ className
49829
+ ),
49830
+ pattern,
49831
+ patternOpacity,
49832
+ children: [
49833
+ /* @__PURE__ */ jsx(NavigationMenu, { className: cn(
49834
+ "h-20 max-w-full after:absolute after:inset-0 after:z-998 after:block after:size-full after:bg-background after:content-[''] [&>div:last-child>div]:mt-0 [&>div:last-child>div]:animate-none [&>div:last-child>div]:rounded-none [&>div:last-child>div]:border-0 [&>div:last-child>div]:shadow-[0px_-1px_0px_0px_rgba(0,0,0,0.05),0px_0px_0px_1px_rgba(17,26,37,0.05),0px_2px_5px_0px_rgba(16,25,36,0.1),0px_5px_20px_0px_rgba(16,25,36,0.1)]!",
49835
+ navigationMenuClassName
49836
+ ), children: /* @__PURE__ */ jsxs("div", { className: cn(
49837
+ "relative z-999 container grid w-full grid-cols-2 items-center justify-between gap-8 xl:grid-cols-3",
49838
+ containerClassName
49839
+ ), children: [
49840
+ renderLogo(),
49841
+ /* @__PURE__ */ jsx("div", { className: cn("hidden xl:flex", navClassName), children: renderNavigation() }),
49842
+ /* @__PURE__ */ jsxs("div", { className: cn("justify-self-end", actionsClassName), children: [
49843
+ /* @__PURE__ */ jsx("div", { className: "hidden xl:block", children: renderActions() }),
49844
+ /* @__PURE__ */ jsx("div", { className: "xl:hidden", children: /* @__PURE__ */ jsx(
49845
+ Pressable,
49846
+ {
49847
+ className: "size-11",
49848
+ variant: "ghost",
49849
+ size: "icon",
49850
+ asButton: true,
49851
+ onClick: handleMobileMenu,
49852
+ children: open ? /* @__PURE__ */ jsx(
49853
+ DynamicIcon,
49854
+ {
49855
+ name: "lucide/x",
49856
+ size: 22,
49857
+ className: "stroke-foreground"
49858
+ }
49859
+ ) : /* @__PURE__ */ jsx(
49860
+ DynamicIcon,
49861
+ {
49862
+ name: "lucide/menu",
49863
+ size: 22,
49864
+ className: "stroke-foreground"
49865
+ }
49866
+ )
49867
+ }
49868
+ ) })
49869
+ ] })
49870
+ ] }) }),
49871
+ /* @__PURE__ */ jsx(
49872
+ MobileNavigationMenu4,
49800
49873
  {
49801
- groupLinks: item.groupLinks,
49802
- imageLink: item.imageLink,
49803
- optixFlowConfig
49874
+ open,
49875
+ menuLinks: menuLinks ?? [],
49876
+ actions,
49877
+ actionsSlot
49804
49878
  }
49805
49879
  )
49806
- ] }) }) })
49880
+ ]
49881
+ }
49882
+ );
49883
+ };
49884
+ var DesktopMenuItem5 = ({
49885
+ item,
49886
+ index,
49887
+ optixFlowConfig
49888
+ }) => {
49889
+ const hasDropdown = Boolean(
49890
+ item.links?.length || item.featuredLinks?.length || item.groupLinks?.length
49891
+ );
49892
+ if (hasDropdown) {
49893
+ return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
49894
+ /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "bg-transparent px-0 hover:bg-transparent focus:bg-transparent data-[state=open]:bg-transparent h-fit font-normal text-foreground/60", children: item.title }),
49895
+ /* @__PURE__ */ jsx(NavigationMenuContent, { className: "hidden rounded-xl! border-0! p-0! xl:block", children: /* @__PURE__ */ jsx("div", { className: "w-dvw animate-[fade-in-slide-down_0.35s_cubic-bezier(0.33,1,0.68,1)_forwards] px-8 pt-6 pb-12", children: /* @__PURE__ */ jsx("div", { className: "container", children: renderDropdownContent2(item, optixFlowConfig) }) }) })
49807
49896
  ] }, `desktop-menu-item-${index}`);
49808
49897
  }
49809
49898
  return /* @__PURE__ */ jsx(NavigationMenuItem, { value: `${index}`, children: /* @__PURE__ */ jsx(
49810
49899
  NavigationMenuLink,
49811
49900
  {
49812
49901
  href: item.url,
49813
- className: `${navigationMenuTriggerStyle()} h-fit bg-transparent font-normal text-foreground/60`,
49902
+ className: `${navigationMenuTriggerStyle()} bg-transparent px-0 hover:bg-transparent focus:bg-transparent h-fit font-normal text-foreground/60`,
49814
49903
  children: item.title
49815
49904
  }
49816
49905
  ) }, `desktop-menu-item-${index}`);
49817
49906
  };
49818
- var DropdownMenu1 = ({ links, optixFlowConfig }) => {
49907
+ var renderDropdownContent2 = (item, optixFlowConfig) => {
49908
+ const layout = item.layout || "animated-image-preview";
49909
+ switch (layout) {
49910
+ case "animated-image-preview":
49911
+ return /* @__PURE__ */ jsx(
49912
+ AnimatedImagePreviewDropdown,
49913
+ {
49914
+ links: item.links,
49915
+ optixFlowConfig
49916
+ }
49917
+ );
49918
+ case "featured-cards-grid":
49919
+ return /* @__PURE__ */ jsx(
49920
+ FeaturedCardsGridDropdown,
49921
+ {
49922
+ featuredLinks: item.featuredLinks,
49923
+ links: item.links,
49924
+ optixFlowConfig
49925
+ }
49926
+ );
49927
+ case "grouped-links-image":
49928
+ return /* @__PURE__ */ jsx(
49929
+ GroupedLinksImageDropdown,
49930
+ {
49931
+ groupLinks: item.groupLinks,
49932
+ imageLink: item.imageLink,
49933
+ optixFlowConfig
49934
+ }
49935
+ );
49936
+ default:
49937
+ return null;
49938
+ }
49939
+ };
49940
+ var AnimatedImagePreviewDropdown = ({ links, optixFlowConfig }) => {
49819
49941
  const linksRef = useRef([]);
49820
49942
  const imageRefs = useRef([]);
49821
49943
  const updateImageClasses = (activeIndex) => {
@@ -49878,7 +50000,7 @@ var DropdownMenu1 = ({ links, optixFlowConfig }) => {
49878
50000
  )) })
49879
50001
  ] });
49880
50002
  };
49881
- var DropdownMenu2 = ({
50003
+ var FeaturedCardsGridDropdown = ({
49882
50004
  links,
49883
50005
  featuredLinks,
49884
50006
  optixFlowConfig
@@ -49896,7 +50018,7 @@ var DropdownMenu2 = ({
49896
50018
  /* @__PURE__ */ jsx("div", { className: "grid grid-cols-4 pt-8", children: links?.map((link, index) => /* @__PURE__ */ jsx(NavLink, { link }, `default-nav-link-${index}`)) })
49897
50019
  ] });
49898
50020
  };
49899
- var DropdownMenu3 = ({
50021
+ var GroupedLinksImageDropdown = ({
49900
50022
  groupLinks,
49901
50023
  imageLink,
49902
50024
  optixFlowConfig
@@ -50042,14 +50164,14 @@ var NavLink = forwardRef(
50042
50164
  NavLink.displayName = "NavLink";
50043
50165
  var MobileNavigationMenu4 = ({
50044
50166
  open,
50045
- navigation,
50046
- authActions,
50047
- authActionsSlot
50167
+ menuLinks,
50168
+ actions,
50169
+ actionsSlot
50048
50170
  }) => {
50049
- const renderMobileAuthActions = () => {
50050
- if (authActionsSlot) return authActionsSlot;
50051
- if (!authActions || authActions.length === 0) return null;
50052
- return authActions.map((action, index) => {
50171
+ const renderMobileActions = () => {
50172
+ if (actionsSlot) return actionsSlot;
50173
+ if (!actions || actions.length === 0) return null;
50174
+ return actions.map((action, index) => {
50053
50175
  const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
50054
50176
  return /* @__PURE__ */ jsx(
50055
50177
  Pressable,
@@ -50076,10 +50198,10 @@ var MobileNavigationMenu4 = ({
50076
50198
  children: /* @__PURE__ */ jsx("div", { className: "flex-1 overflow-y-auto", children: /* @__PURE__ */ jsxs("div", { className: "container py-8", children: [
50077
50199
  /* @__PURE__ */ jsx("div", { className: "absolute -m-px h-px w-px overflow-hidden border-0 mask-clip-border p-0 text-nowrap whitespace-nowrap", children: /* @__PURE__ */ jsx(SheetTitle, { className: "text-primary", children: "Mobile Navigation" }) }),
50078
50200
  /* @__PURE__ */ jsxs("div", { className: "flex min-h-full flex-col gap-6", children: [
50079
- /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: navigation.map(
50201
+ /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full", children: menuLinks.map(
50080
50202
  (item, index) => renderMobileMenuItem4(item, index)
50081
50203
  ) }),
50082
- /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2", children: renderMobileAuthActions() })
50204
+ /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2", children: renderMobileActions() })
50083
50205
  ] })
50084
50206
  ] }) })
50085
50207
  }
@@ -50194,7 +50316,7 @@ var NavbarMultiColumnGroups = ({
50194
50316
  if (navigationSlot) return navigationSlot;
50195
50317
  if (!navigation || navigation.length === 0) return null;
50196
50318
  return /* @__PURE__ */ jsx(NavigationMenuList, { children: navigation.map((item, index) => /* @__PURE__ */ jsx(
50197
- DesktopMenuItem5,
50319
+ DesktopMenuItem6,
50198
50320
  {
50199
50321
  item,
50200
50322
  index
@@ -50279,7 +50401,7 @@ var NavbarMultiColumnGroups = ({
50279
50401
  }
50280
50402
  );
50281
50403
  };
50282
- var DesktopMenuItem5 = ({ item, index }) => {
50404
+ var DesktopMenuItem6 = ({ item, index }) => {
50283
50405
  if (item.groups) {
50284
50406
  return /* @__PURE__ */ jsxs(NavigationMenuItem, { value: `${index}`, children: [
50285
50407
  /* @__PURE__ */ jsx(NavigationMenuTrigger, { className: "h-fit bg-transparent px-2.5 font-normal text-muted-foreground", children: item.title }),
@@ -86875,10 +86997,27 @@ var BLOCK_REGISTRY = {
86875
86997
  props: "NavbarMegaMenuProps",
86876
86998
  exampleUsage: `<NavbarMegaMenu
86877
86999
  logo={{ src: "/logo.svg", alt: "Company" }}
86878
- platformItems={[{ label: "Analytics", href: "/analytics", icon: "lucide/bar-chart", description: "Track your metrics" }]}
86879
- useCaseItems={[{ label: "Marketing", href: "/marketing", icon: "lucide/megaphone" }]}
86880
- developerItems={[{ label: "Documentation", href: "/docs", icon: "lucide/book" }]}
86881
- resourceItems={[{ label: "Blog", href: "/blog", icon: "lucide/newspaper" }]}
87000
+ menuLinks={[
87001
+ {
87002
+ title: "Platform",
87003
+ dropdownItems: [
87004
+ { title: "Analytics", href: "/analytics", icon: "lucide/bar-chart", description: "Track your metrics" },
87005
+ { title: "Automation", href: "/automation", icon: "lucide/workflow", description: "Automate workflows" }
87006
+ ]
87007
+ },
87008
+ {
87009
+ title: "Resources",
87010
+ dropdownItems: [
87011
+ { title: "Blog", href: "/blog", icon: "lucide/newspaper", description: "Latest updates" },
87012
+ { title: "Guides", href: "/guides", icon: "lucide/book-open", description: "How-tos and playbooks" }
87013
+ ]
87014
+ },
87015
+ { title: "Pricing", href: "/pricing" }
87016
+ ]}
87017
+ actions={[
87018
+ { label: "Sign in", href: "/login", variant: "ghost" },
87019
+ { label: "Get started", href: "/signup", variant: "default" }
87020
+ ]}
86882
87021
  />`.trim()
86883
87022
  },
86884
87023
  "navbar-enterprise-mega": {
@@ -86982,9 +87121,27 @@ var BLOCK_REGISTRY = {
86982
87121
  props: "NavbarPlatformResourcesProps",
86983
87122
  exampleUsage: `<NavbarPlatformResources
86984
87123
  logo={{ src: "/logo.svg", alt: "Platform" }}
86985
- solutions={[{ label: "Analytics", href: "/analytics", icon: "lucide/bar-chart", description: "Track metrics" }]}
86986
- useCases={[{ label: "Marketing Teams", href: "/marketing" }]}
86987
- resources={[{ label: "Documentation", href: "/docs", icon: "lucide/book" }]}
87124
+ menuLinks={[
87125
+ {
87126
+ title: "Platform",
87127
+ dropdownItems: [
87128
+ { title: "Analytics", href: "/analytics", icon: "lucide/bar-chart", description: "Track metrics" },
87129
+ { title: "Automation", href: "/automation", icon: "lucide/workflow", description: "Automate workflows" }
87130
+ ]
87131
+ },
87132
+ {
87133
+ title: "Resources",
87134
+ dropdownItems: [
87135
+ { title: "Documentation", href: "/docs", icon: "lucide/book" },
87136
+ { title: "Guides", href: "/guides", icon: "lucide/book-open", description: "Best practices" }
87137
+ ]
87138
+ },
87139
+ { title: "Pricing", href: "/pricing" }
87140
+ ]}
87141
+ actions={[
87142
+ { label: "Sign in", href: "/login", variant: "ghost" },
87143
+ { label: "Get started", href: "/signup", variant: "default" }
87144
+ ]}
86988
87145
  />`.trim()
86989
87146
  },
86990
87147
  "navbar-image-preview": {