@adminide-stack/yantra-help-browser 12.0.16-alpha.2 → 12.0.16-alpha.21

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 (202) hide show
  1. package/lib/components/HelpCenterFooter.d.ts.map +1 -1
  2. package/lib/components/HelpCenterFooter.js +93 -85
  3. package/lib/components/HelpCenterFooter.js.map +1 -1
  4. package/lib/components/HelpCenterHeader.d.ts +1 -5
  5. package/lib/components/HelpCenterHeader.d.ts.map +1 -1
  6. package/lib/components/HelpCenterHeader.js +67 -69
  7. package/lib/components/HelpCenterHeader.js.map +1 -1
  8. package/lib/components/Logo.d.ts.map +1 -1
  9. package/lib/components/Logo.js +3 -2
  10. package/lib/components/Logo.js.map +1 -1
  11. package/lib/components/SearchBar.d.ts +8 -0
  12. package/lib/components/SearchBar.d.ts.map +1 -0
  13. package/lib/components/SearchBar.js +234 -0
  14. package/lib/components/SearchBar.js.map +1 -0
  15. package/lib/components/SidebarSearch.d.ts +8 -0
  16. package/lib/components/SidebarSearch.d.ts.map +1 -0
  17. package/lib/components/SidebarSearch.js +114 -0
  18. package/lib/components/SidebarSearch.js.map +1 -0
  19. package/lib/components/navbar/index.d.ts.map +1 -1
  20. package/lib/components/navbar/index.js +5 -4
  21. package/lib/components/navbar/index.js.map +1 -1
  22. package/lib/compute.d.ts.map +1 -1
  23. package/lib/compute.js +19 -1
  24. package/lib/compute.js.map +1 -1
  25. package/lib/pages/CategoryCollection/index.d.ts.map +1 -1
  26. package/lib/pages/CategoryCollection/index.js +5 -11
  27. package/lib/pages/CategoryCollection/index.js.map +1 -1
  28. package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts +2 -0
  29. package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts.map +1 -1
  30. package/lib/pages/HelpCenter/components/HelpCategoryCard.js +135 -50
  31. package/lib/pages/HelpCenter/components/HelpCategoryCard.js.map +1 -1
  32. package/lib/pages/HelpCenter/components/Icons.d.ts +10 -0
  33. package/lib/pages/HelpCenter/components/Icons.d.ts.map +1 -1
  34. package/lib/pages/HelpCenter/components/Icons.js +211 -1
  35. package/lib/pages/HelpCenter/components/Icons.js.map +1 -1
  36. package/lib/pages/HelpCenter/components/PopularArticle.d.ts.map +1 -1
  37. package/lib/pages/HelpCenter/components/PopularArticle.js +17 -23
  38. package/lib/pages/HelpCenter/components/PopularArticle.js.map +1 -1
  39. package/lib/pages/HelpCenter/index.d.ts.map +1 -1
  40. package/lib/pages/HelpCenter/index.js +106 -37
  41. package/lib/pages/HelpCenter/index.js.map +1 -1
  42. package/lib/pages/HelpCenter/mockData.d.ts.map +1 -1
  43. package/lib/pages/HelpCenter/mockData.js +14 -6
  44. package/lib/pages/HelpCenter/mockData.js.map +1 -1
  45. package/lib/pages/LandingPage/components/HeroSection.d.ts +0 -1
  46. package/lib/pages/LandingPage/components/HeroSection.d.ts.map +1 -1
  47. package/lib/pages/LandingPage/components/HeroSection.js +3 -6
  48. package/lib/pages/LandingPage/components/HeroSection.js.map +1 -1
  49. package/lib/pages/LandingPage/index.d.ts.map +1 -1
  50. package/lib/pages/LandingPage/index.js +1 -6
  51. package/lib/pages/LandingPage/index.js.map +1 -1
  52. package/lib/pages/Markdown/MarkdownPageLayout.d.ts +3 -0
  53. package/lib/pages/Markdown/MarkdownPageLayout.d.ts.map +1 -0
  54. package/lib/pages/Markdown/MarkdownPageLayout.js +314 -0
  55. package/lib/pages/Markdown/MarkdownPageLayout.js.map +1 -0
  56. package/lib/pages/Markdown/MarkdownPageWithParams.d.ts +9 -0
  57. package/lib/pages/Markdown/MarkdownPageWithParams.d.ts.map +1 -0
  58. package/lib/pages/Markdown/MarkdownPageWithParams.js +65 -0
  59. package/lib/pages/Markdown/MarkdownPageWithParams.js.map +1 -0
  60. package/lib/pages/Markdown/index.d.ts +3 -0
  61. package/lib/pages/Markdown/index.d.ts.map +1 -0
  62. package/lib/pages/Markdown/index.js +5 -0
  63. package/lib/pages/Markdown/index.js.map +1 -0
  64. package/lib/routes.json +28 -1
  65. package/lib/{content → templates/content}/account-management/account-setup.md +10 -0
  66. package/lib/{content → templates/content}/account-management/delete-account.md +10 -0
  67. package/lib/{content → templates/content}/account-management/preferences.md +10 -0
  68. package/lib/{content → templates/content}/account-management/privacy-settings.md +10 -0
  69. package/lib/{content → templates/content}/account-management/profile-settings.md +8 -0
  70. package/lib/templates/content/ai-employees/ai-employees-overview.md +97 -0
  71. package/lib/templates/content/ai-employees/getting-started-ai-employees.md +119 -0
  72. package/lib/templates/content/ai-employees/how-ai-employees-work.md +123 -0
  73. package/lib/templates/content/ai-employees/supervised-mode.md +141 -0
  74. package/lib/templates/content/content-manifest.json +5670 -0
  75. package/lib/{content → templates/content}/data-privacy/data-collection.md +9 -0
  76. package/lib/{content → templates/content}/data-privacy/privacy-policy.md +10 -0
  77. package/lib/{content → templates/content}/data-subject-privacy/data-access.md +12 -0
  78. package/lib/{content → templates/content}/data-subject-privacy/data-portability.md +15 -0
  79. package/lib/{content → templates/content}/data-subject-privacy/privacy-requests.md +11 -0
  80. package/lib/{content → templates/content}/file-uploads/file-upload-overview.md +9 -0
  81. package/lib/{content → templates/content}/getting-started/getting-started-guide.md +9 -0
  82. package/lib/templates/content/integrations/crm-integrations.md +130 -0
  83. package/lib/templates/content/integrations/github-integration.md +95 -0
  84. package/lib/templates/content/integrations/integrations-overview.md +142 -0
  85. package/lib/templates/content/integrations/monitoring-integrations.md +109 -0
  86. package/lib/templates/content/integrations/productivity-integrations.md +129 -0
  87. package/lib/templates/content/integrations/slack-integration.md +79 -0
  88. package/lib/templates/content/openclaw/openclaw-architecture.md +202 -0
  89. package/lib/templates/content/openclaw/openclaw-contribution.md +107 -0
  90. package/lib/templates/content/openclaw/openclaw-overview.md +152 -0
  91. package/lib/templates/content/platform-features/always-watching.md +63 -0
  92. package/lib/templates/content/platform-features/instant-context.md +67 -0
  93. package/lib/templates/content/platform-features/instant-onboarding.md +80 -0
  94. package/lib/templates/content/platform-features/platform-overview.md +58 -0
  95. package/lib/templates/content/platform-features/proactive-alerts.md +88 -0
  96. package/lib/templates/content/platform-features/smart-escalation.md +93 -0
  97. package/lib/{content → templates/content}/product-features/ai-models.md +1 -1
  98. package/lib/{content → templates/content}/product-features/collaboration-tools.md +8 -0
  99. package/lib/{content → templates/content}/product-features/conversation-features.md +6 -0
  100. package/lib/{content → templates/content}/product-features/export-features.md +8 -0
  101. package/lib/{content → templates/content}/product-features/follow-up-questions.md +8 -0
  102. package/lib/{content → templates/content}/product-features/real-time-search.md +8 -0
  103. package/lib/{content → templates/content}/product-features/saved-searches.md +8 -0
  104. package/lib/{content → templates/content}/product-features/search-features.md +1 -1
  105. package/lib/{content → templates/content}/product-features/search-history.md +8 -0
  106. package/lib/{content → templates/content}/product-features/source-citations.md +8 -0
  107. package/lib/{content → templates/content}/scope-api/api-overview.md +8 -0
  108. package/lib/{content → templates/content}/search-modes/deep-research.md +8 -0
  109. package/lib/{content → templates/content}/search-modes/labs-features.md +10 -0
  110. package/lib/{content → templates/content}/search-modes/pro-search.md +8 -0
  111. package/lib/{content → templates/content}/search-modes/regular-search.md +8 -0
  112. package/lib/templates/content/security-compliance/audit-trail.md +112 -0
  113. package/lib/templates/content/security-compliance/compliance.md +120 -0
  114. package/lib/templates/content/security-compliance/data-encryption.md +94 -0
  115. package/lib/templates/content/security-compliance/security-overview.md +186 -0
  116. package/lib/templates/content/security-compliance/vm-isolation.md +126 -0
  117. package/lib/templates/content/solutions-engineering/bug-tracking-context.md +126 -0
  118. package/lib/templates/content/solutions-engineering/engineering-overview.md +107 -0
  119. package/lib/templates/content/solutions-engineering/error-monitoring.md +120 -0
  120. package/lib/templates/content/solutions-engineering/institutional-memory.md +120 -0
  121. package/lib/templates/content/solutions-marketing/brand-monitoring.md +135 -0
  122. package/lib/templates/content/solutions-marketing/content-automation.md +111 -0
  123. package/lib/templates/content/solutions-marketing/marketing-overview.md +108 -0
  124. package/lib/templates/content/solutions-marketing/social-media-management.md +108 -0
  125. package/lib/templates/content/solutions-sales/call-preparation.md +106 -0
  126. package/lib/templates/content/solutions-sales/crm-automation.md +119 -0
  127. package/lib/templates/content/solutions-sales/lead-management.md +108 -0
  128. package/lib/templates/content/solutions-sales/sales-overview.md +120 -0
  129. package/lib/{content → templates/content}/spaces-library/spaces-overview.md +8 -0
  130. package/lib/{content → templates/content}/student-hub/academic-research.md +8 -0
  131. package/lib/{content → templates/content}/student-hub/student-discounts.md +10 -0
  132. package/lib/{content → templates/content}/student-hub/student-overview.md +8 -0
  133. package/lib/{content → templates/content}/student-hub/study-tools.md +8 -0
  134. package/lib/{content → templates/content}/subscription-billing/billing-cycle.md +8 -0
  135. package/lib/{content → templates/content}/subscription-billing/billing-overview.md +6 -0
  136. package/lib/{content → templates/content}/subscription-billing/billing-support.md +8 -0
  137. package/lib/{content → templates/content}/subscription-billing/currency-support.md +10 -0
  138. package/lib/{content → templates/content}/subscription-billing/enterprise-pricing.md +8 -0
  139. package/lib/{content → templates/content}/subscription-billing/invoice-management.md +8 -0
  140. package/lib/{content → templates/content}/subscription-billing/payment-methods.md +9 -0
  141. package/lib/{content → templates/content}/subscription-billing/promotional-offers.md +8 -0
  142. package/lib/{content → templates/content}/subscription-billing/refund-policy.md +10 -0
  143. package/lib/{content → templates/content}/subscription-billing/student-discounts.md +10 -0
  144. package/lib/{content → templates/content}/subscription-billing/tax-information.md +8 -0
  145. package/lib/{content → templates/content}/technical-questions/ai-models-technical.md +10 -0
  146. package/lib/{content → templates/content}/technical-questions/api-technical.md +10 -0
  147. package/lib/{content → templates/content}/technical-questions/data-processing.md +10 -0
  148. package/lib/{content → templates/content}/technical-questions/database-architecture.md +10 -0
  149. package/lib/{content → templates/content}/technical-questions/infrastructure.md +10 -0
  150. package/lib/{content → templates/content}/technical-questions/performance-optimization.md +10 -0
  151. package/lib/{content → templates/content}/technical-questions/search-algorithms.md +10 -0
  152. package/lib/{content → templates/content}/technical-questions/technical-overview.md +10 -0
  153. package/lib/{content → templates/content}/threads/conversation-management.md +8 -0
  154. package/lib/{content → templates/content}/threads/threads-overview.md +8 -0
  155. package/lib/{content → templates/content}/troubleshooting/common-issues.md +8 -0
  156. package/lib/templates/content/use-cases/engineering-use-cases.md +123 -0
  157. package/lib/templates/content/use-cases/marketing-use-cases.md +128 -0
  158. package/lib/templates/content/use-cases/sales-use-cases.md +123 -0
  159. package/lib/templates/content/use-cases/support-use-cases.md +120 -0
  160. package/lib/templates/content/use-cases/use-cases-overview.md +115 -0
  161. package/lib/{content → templates/content}/what-is-yantra/getting-started-yantra.md +1 -1
  162. package/lib/{content → templates/content}/what-is-yantra/how-yantra-works.md +1 -1
  163. package/lib/{content → templates/content}/what-is-yantra/practical-tips-yantra.md +2 -1
  164. package/lib/{content → templates/content}/what-is-yantra/what-is-yantra-intro.md +1 -1
  165. package/lib/{content → templates/content}/what-is-yantra/yantra-discord-community.md +4 -1
  166. package/lib/{content → templates/content}/yantra-assistant/android-app.md +10 -0
  167. package/lib/{content → templates/content}/yantra-assistant/ios-app.md +10 -0
  168. package/lib/{content → templates/content}/yantra-assistant/mobile-app-overview.md +8 -0
  169. package/lib/{content → templates/content}/yantra-assistant/voice-assistant.md +10 -0
  170. package/lib/{content → templates/content}/yantra-enterprise/admin-dashboard.md +10 -0
  171. package/lib/{content → templates/content}/yantra-enterprise/custom-branding.md +10 -0
  172. package/lib/{content → templates/content}/yantra-enterprise/dedicated-support.md +10 -0
  173. package/lib/{content → templates/content}/yantra-enterprise/enterprise-overview.md +8 -0
  174. package/lib/{content → templates/content}/yantra-enterprise/sso-integration.md +10 -0
  175. package/lib/{content → templates/content}/yantra-enterprise/user-management.md +10 -0
  176. package/lib/{content → templates/content}/yantra-pro-max/billing-management.md +13 -0
  177. package/lib/{content → templates/content}/yantra-pro-max/cancellation-refund.md +13 -0
  178. package/lib/{content → templates/content}/yantra-pro-max/pro-pricing.md +13 -9
  179. package/lib/{content → templates/content}/yantra-pro-max/subscription-benefits.md +8 -0
  180. package/lib/{content → templates/content}/yantra-pro-max/upgrade-process.md +13 -0
  181. package/lib/{content → templates/content}/yantra-pro-max/yantra-max-features.md +8 -8
  182. package/lib/{content → templates/content}/yantra-pro-max/yantra-pro-overview.md +8 -8
  183. package/lib/utils/docsNavigation.d.ts +10 -0
  184. package/lib/utils/docsNavigation.d.ts.map +1 -0
  185. package/lib/utils/docsNavigation.js +151 -0
  186. package/lib/utils/docsNavigation.js.map +1 -0
  187. package/lib/utils/helpCenterUtils.d.ts.map +1 -1
  188. package/lib/utils/markdownLoader.d.ts +12 -4
  189. package/lib/utils/markdownLoader.d.ts.map +1 -1
  190. package/lib/utils/markdownLoader.js +362 -1163
  191. package/lib/utils/markdownLoader.js.map +1 -1
  192. package/package.json +23 -6
  193. package/lib/pages/ArticlePage/index.d.ts +0 -4
  194. package/lib/pages/ArticlePage/index.d.ts.map +0 -1
  195. package/lib/pages/ArticlePage/index.js +0 -190
  196. package/lib/pages/ArticlePage/index.js.map +0 -1
  197. package/lib/pages/HelpCenter/components/BookStack.js +0 -36
  198. package/lib/pages/HelpCenter/components/BookStack.js.map +0 -1
  199. package/lib/pages/LandingPage/components/SearchBar.d.ts +0 -8
  200. package/lib/pages/LandingPage/components/SearchBar.d.ts.map +0 -1
  201. package/lib/pages/LandingPage/components/SearchBar.js +0 -58
  202. package/lib/pages/LandingPage/components/SearchBar.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"HelpCenterFooter.d.ts","sourceRoot":"","sources":["../../src/components/HelpCenterFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EA+CpC,CAAC"}
1
+ {"version":3,"file":"HelpCenterFooter.d.ts","sourceRoot":"","sources":["../../src/components/HelpCenterFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EA2EpC,CAAC"}
@@ -1,97 +1,105 @@
1
1
  import {jsx,jsxs}from'react/jsx-runtime';const HelpCenterFooter = () => {
2
2
  return jsx("footer", {
3
- className: "bg-muted py-16",
3
+ className: "border-t border-border bg-muted/50",
4
4
  children: jsxs("div", {
5
- className: "container mx-auto px-16",
5
+ className: "container mx-auto max-w-7xl px-6 py-12 lg:px-16",
6
6
  children: [jsxs("div", {
7
- className: "mb-10",
8
- children: [jsx("h2", {
9
- className: "text-center text-2xl font-bold text-foreground",
10
- children: "Yantra Help Center"
11
- }), jsx("p", {
12
- className: "text-center text-sm text-muted-foreground",
13
- children: "Where Knowledge Begins"
14
- })]
15
- }), jsxs("div", {
16
- className: "mb-8 flex flex-wrap justify-center gap-8 text-sm text-muted-foreground",
17
- children: [jsx("a", {
18
- href: "#",
19
- className: "hover:text-primary",
20
- children: "Visit our Blog"
21
- }), jsx("a", {
22
- href: "#",
23
- className: "hover:text-primary",
24
- children: "Careers"
25
- }), jsx("a", {
26
- href: "#",
27
- className: "hover:text-primary",
28
- children: "Privacy Policy"
29
- }), jsx("a", {
30
- href: "#",
31
- className: "hover:text-primary",
32
- children: "Terms of Service"
33
- }), jsx("a", {
34
- href: "#",
35
- className: "hover:text-primary",
36
- children: "Security"
37
- }), jsx("a", {
38
- href: "#",
39
- className: "hover:text-primary",
40
- children: "Give us Feedback"
41
- })]
42
- }), jsxs("div", {
43
- className: "mb-8 flex justify-center space-x-6",
44
- children: [jsxs("a", {
45
- href: "#",
46
- className: "text-muted-foreground hover:text-primary",
47
- children: [jsx("span", {
48
- className: "sr-only",
49
- children: "Twitter"
50
- }), jsx("svg", {
51
- className: "h-6 w-6",
52
- fill: "currentColor",
53
- viewBox: "0 0 24 24",
54
- "aria-hidden": "true",
55
- children: jsx("path", {
56
- d: "M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"
57
- })
7
+ className: "flex flex-col items-center gap-8 sm:flex-row sm:justify-between sm:items-start",
8
+ children: [jsxs("div", {
9
+ className: "text-center sm:text-left",
10
+ children: [jsxs("div", {
11
+ className: "flex items-center justify-center gap-2 sm:justify-start",
12
+ children: [jsx("div", {
13
+ className: "flex h-7 w-7 items-center justify-center rounded-lg bg-primary",
14
+ children: jsx("svg", {
15
+ className: "h-4 w-4 text-white",
16
+ fill: "none",
17
+ stroke: "currentColor",
18
+ viewBox: "0 0 24 24",
19
+ children: jsx("path", {
20
+ strokeLinecap: "round",
21
+ strokeLinejoin: "round",
22
+ strokeWidth: 2,
23
+ d: "M13 10V3L4 14h7v7l9-11h-7z"
24
+ })
25
+ })
26
+ }), jsx("span", {
27
+ className: "text-base font-semibold text-foreground",
28
+ children: "Yantra Help Center"
29
+ })]
30
+ }), jsx("p", {
31
+ className: "mt-1.5 text-xs text-muted-foreground",
32
+ children: "Where Knowledge Begins"
58
33
  })]
59
- }), jsxs("a", {
60
- href: "#",
61
- className: "text-muted-foreground hover:text-primary",
62
- children: [jsx("span", {
63
- className: "sr-only",
64
- children: "LinkedIn"
65
- }), jsx("svg", {
66
- className: "h-6 w-6",
67
- fill: "currentColor",
68
- viewBox: "0 0 24 24",
69
- "aria-hidden": "true",
70
- children: jsx("path", {
71
- d: "M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"
72
- })
34
+ }), jsxs("div", {
35
+ className: "flex flex-wrap justify-center gap-x-8 gap-y-2 text-sm text-muted-foreground",
36
+ children: [jsx("a", {
37
+ href: "/help-center",
38
+ className: "transition-colors hover:text-foreground",
39
+ children: "Help Center"
40
+ }), jsx("a", {
41
+ href: "#",
42
+ className: "transition-colors hover:text-foreground",
43
+ children: "Privacy Policy"
44
+ }), jsx("a", {
45
+ href: "#",
46
+ className: "transition-colors hover:text-foreground",
47
+ children: "Contact Us"
73
48
  })]
74
- }), jsxs("a", {
75
- href: "#",
76
- className: "text-muted-foreground hover:text-primary",
77
- children: [jsx("span", {
78
- className: "sr-only",
79
- children: "GitHub"
80
- }), jsx("svg", {
81
- className: "h-6 w-6",
82
- fill: "currentColor",
83
- viewBox: "0 0 24 24",
84
- "aria-hidden": "true",
85
- children: jsx("path", {
86
- fillRule: "evenodd",
87
- d: "M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z",
88
- clipRule: "evenodd"
89
- })
49
+ }), jsxs("div", {
50
+ className: "flex items-center gap-4",
51
+ children: [jsxs("a", {
52
+ href: "#",
53
+ className: "text-muted-foreground transition-colors hover:text-foreground",
54
+ children: [jsx("span", {
55
+ className: "sr-only",
56
+ children: "Twitter"
57
+ }), jsx("svg", {
58
+ className: "h-5 w-5",
59
+ fill: "currentColor",
60
+ viewBox: "0 0 24 24",
61
+ "aria-hidden": "true",
62
+ children: jsx("path", {
63
+ d: "M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"
64
+ })
65
+ })]
66
+ }), jsxs("a", {
67
+ href: "#",
68
+ className: "text-muted-foreground transition-colors hover:text-foreground",
69
+ children: [jsx("span", {
70
+ className: "sr-only",
71
+ children: "LinkedIn"
72
+ }), jsx("svg", {
73
+ className: "h-5 w-5",
74
+ fill: "currentColor",
75
+ viewBox: "0 0 24 24",
76
+ "aria-hidden": "true",
77
+ children: jsx("path", {
78
+ d: "M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"
79
+ })
80
+ })]
81
+ }), jsxs("a", {
82
+ href: "#",
83
+ className: "text-muted-foreground transition-colors hover:text-foreground",
84
+ children: [jsx("span", {
85
+ className: "sr-only",
86
+ children: "GitHub"
87
+ }), jsx("svg", {
88
+ className: "h-5 w-5",
89
+ fill: "currentColor",
90
+ viewBox: "0 0 24 24",
91
+ "aria-hidden": "true",
92
+ children: jsx("path", {
93
+ fillRule: "evenodd",
94
+ d: "M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z",
95
+ clipRule: "evenodd"
96
+ })
97
+ })]
90
98
  })]
91
99
  })]
92
100
  }), jsxs("div", {
93
- className: "text-center text-xs text-muted-foreground",
94
- children: ["\u00A9 Copyright ", new Date().getFullYear(), " Yantra \u2022 All rights reserved"]
101
+ className: "mt-8 border-t border-border pt-6 text-center text-xs text-muted-foreground",
102
+ children: ["\u00A9 ", new Date().getFullYear(), " Yantra. All rights reserved."]
95
103
  })]
96
104
  })
97
105
  });
@@ -1 +1 @@
1
- {"version":3,"file":"HelpCenterFooter.js","sources":["../../src/components/HelpCenterFooter.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"yCAEO,MAAM,gBAAgB,GAAa,MAAK;SACtCA,GACG,CAAA,QAAA,EAAA;AA6CZ,IAAE,SAAA,EAAA,gBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"HelpCenterFooter.js","sources":["../../src/components/HelpCenterFooter.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"yCAEO,MAAM,gBAAgB,GAAa,MAAK;AAC3C,EAAA,OAAAA,GACI,CAAA,QAAA,EAAA;AAyER,IAAE,SAAA,EAAA,oCAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,3 @@
1
1
  import React from 'react';
2
- interface HelpCenterHeaderProps {
3
- onSearch?: (query: string) => void;
4
- }
5
- export declare const HelpCenterHeader: React.FC<HelpCenterHeaderProps>;
6
- export {};
2
+ export declare const HelpCenterHeader: React.FC<any>;
7
3
  //# sourceMappingURL=HelpCenterHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelpCenterHeader.d.ts","sourceRoot":"","sources":["../../src/components/HelpCenterHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA2E5D,CAAC"}
1
+ {"version":3,"file":"HelpCenterHeader.d.ts","sourceRoot":"","sources":["../../src/components/HelpCenterHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,CA8E1C,CAAC"}
@@ -1,79 +1,77 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';import {useState}from'react';const HelpCenterHeader = ({
2
- onSearch
3
- }) => {
4
- const [searchQuery, setSearchQuery] = useState('');
5
- const handleSearch = e => {
6
- e.preventDefault();
7
- if (onSearch && searchQuery.trim()) {
8
- onSearch(searchQuery);
9
- }
10
- };
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {SearchBar}from'./SearchBar.js';const HelpCenterHeader = props => {
11
2
  return jsxs("div", {
12
- className: "relative overflow-hidden w-full ",
13
- children: [jsx("div", {
14
- className: "absolute inset-0 bg-[#057d78]",
15
- children: jsx("div", {
16
- className: "absolute inset-0 opacity-20",
3
+ className: "relative overflow-visible w-full",
4
+ children: [jsxs("div", {
5
+ className: "absolute inset-0 bg-gradient-to-br from-[#046b67] via-[#057d78] to-[#0a9e98]",
6
+ children: [jsx("div", {
7
+ className: "absolute inset-0 opacity-[0.07]",
17
8
  style: {
18
- backgroundImage: `radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0)`,
19
- backgroundSize: '20px 20px'
9
+ backgroundImage: `radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.4) 1px, transparent 0)`,
10
+ backgroundSize: '24px 24px'
20
11
  }
21
- })
12
+ }), jsx("div", {
13
+ className: "absolute inset-0 opacity-30",
14
+ style: {
15
+ background: 'radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,255,255,0.15), transparent)'
16
+ }
17
+ }), jsx("div", {
18
+ className: "absolute -top-24 -right-24 h-96 w-96 rounded-full opacity-10",
19
+ style: {
20
+ background: 'radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%)'
21
+ }
22
+ }), jsx("div", {
23
+ className: "absolute -bottom-16 -left-16 h-72 w-72 rounded-full opacity-10",
24
+ style: {
25
+ background: 'radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%)'
26
+ }
27
+ })]
22
28
  }), jsx("div", {
23
- className: "relative z-10 mx-auto flex min-h-[500px] max-w-7xl flex-col items-center justify-center px-6 pt-20 text-center lg:px-16",
29
+ className: "relative z-10 mx-auto flex min-h-[420px] max-w-7xl flex-col items-center justify-center px-6 pt-16 pb-8 text-center lg:px-16",
30
+ style: {
31
+ overflow: 'visible'
32
+ },
24
33
  children: jsxs("div", {
25
- className: "max-w-4xl",
26
- children: [jsx("h1", {
27
- className: "mb-6 text-5xl font-light leading-[1.1] tracking-tight text-white lg:text-7xl",
34
+ className: "max-w-4xl w-full",
35
+ style: {
36
+ overflow: 'visible'
37
+ },
38
+ children: [jsxs("div", {
39
+ className: "mb-6 inline-flex items-center gap-2 rounded-full border border-white/20 bg-white/10 px-4 py-1.5 text-sm font-medium text-white/90 backdrop-blur-sm",
40
+ children: [jsx("svg", {
41
+ className: "h-4 w-4",
42
+ fill: "none",
43
+ stroke: "currentColor",
44
+ viewBox: "0 0 24 24",
45
+ children: jsx("path", {
46
+ strokeLinecap: "round",
47
+ strokeLinejoin: "round",
48
+ strokeWidth: 2,
49
+ d: "M13 10V3L4 14h7v7l9-11h-7z"
50
+ })
51
+ }), "Yantra Help Center"]
52
+ }), jsx("h1", {
53
+ className: "mb-5 text-4xl font-semibold leading-[1.15] tracking-tight text-white sm:text-5xl lg:text-6xl",
28
54
  children: "How can we help?"
29
55
  }), jsx("p", {
30
- className: "mb-12 text-xl font-normal text-white/80 lg:text-2xl",
31
- children: "Get answers to all things Yantra."
32
- }), jsx("form", {
33
- onSubmit: handleSearch,
34
- className: "relative w-full max-w-2xl mx-auto",
35
- children: jsxs("div", {
36
- className: "flex w-full rounded-2xl bg-white shadow-2xl overflow-hidden",
37
- children: [jsxs("div", {
38
- className: "relative flex-1",
39
- children: [jsx("div", {
40
- className: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-6",
41
- children: jsx("svg", {
42
- className: "h-6 w-6 text-gray-400",
43
- fill: "none",
44
- viewBox: "0 0 24 24",
45
- stroke: "currentColor",
46
- children: jsx("path", {
47
- strokeLinecap: "round",
48
- strokeLinejoin: "round",
49
- strokeWidth: 2,
50
- d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
51
- })
52
- })
53
- }), jsx("input", {
54
- type: "text",
55
- className: "h-16 w-full bg-transparent py-6 pl-16 pr-6 text-lg text-gray-900 placeholder-gray-500 outline-none",
56
- placeholder: "Search help center...",
57
- value: searchQuery,
58
- onChange: e => setSearchQuery(e.target.value)
59
- })]
60
- }), jsx("button", {
61
- type: "submit",
62
- className: "flex items-center justify-center rounded-r-2xl bg-gray-900 px-8 text-lg font-medium text-white transition-colors hover:bg-gray-800",
63
- children: "Search"
64
- })]
65
- })
66
- }), jsxs("div", {
67
- className: "mt-8 flex flex-wrap justify-center gap-3",
68
- children: [jsx("span", {
69
- className: "text-sm text-white/60",
70
- children: "Popular:"
71
- }), ['Getting started', 'Account setup', 'API documentation', 'Troubleshooting'].map(term => jsx("button", {
72
- onClick: () => setSearchQuery(term),
73
- className: "rounded-full bg-white/10 px-4 py-2 text-sm text-white/80 transition-colors hover:bg-white/20 hover:text-white",
74
- children: term
75
- }, term))]
76
- })]
56
+ className: "mb-10 text-lg font-normal text-white/70 lg:text-xl",
57
+ children: "Search our knowledge base or browse categories below"
58
+ }), jsx(SearchBar, {})]
59
+ })
60
+ }), jsx("div", {
61
+ className: "relative z-10",
62
+ children: jsx("svg", {
63
+ className: "block w-full",
64
+ viewBox: "0 0 1440 48",
65
+ fill: "none",
66
+ xmlns: "http://www.w3.org/2000/svg",
67
+ preserveAspectRatio: "none",
68
+ style: {
69
+ height: '48px'
70
+ },
71
+ children: jsx("path", {
72
+ d: "M0 48h1440V20C1320 4 1200 0 1080 8 960 16 840 32 720 36 600 40 480 28 360 20 240 12 120 8 0 16V48z",
73
+ className: "fill-background"
74
+ })
77
75
  })
78
76
  })]
79
77
  });
@@ -1 +1 @@
1
- {"version":3,"file":"HelpCenterHeader.js","sources":["../../src/components/HelpCenterHeader.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"4EAMa,gBAAgB,GAAoC,CAAC;;AAKhE,CAAA,KAAA;QACE,CAAC,WAAe,EAAA,cAAG,CAAA,GAAA,QAAA,CAAA,EAAA,CAAA;AACnB,EAAA,MAAA,YAAY,GAAI,CAAA,IAAA;oBACN,EAAY;QACtB,QAAC,IAAA,WAAA,CAAA,IAAA,EAAA,EAAA;AACH,MAAE,QAAA,CAAA,WAAA,CAAA;AAEF;AAKQ,GAAA;AACA,EAAA,OAAAA,IAAA,CAAA,KAAA,EAAA;AACD,IAAA,SAAA,EAAA;AAwDT,IAAE,QAAA,EAAA,CAAAC,GAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"HelpCenterHeader.js","sources":["../../src/components/HelpCenterHeader.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"gFAGa,MAAA,gBAAgB,GAAkB,KAAC,IAAS;AACrD,EAAA,OAAAA,IACS,CAAA,KAAA,EAAA;AAOW,IAAA,SAAA,EAAA,kCAAkG;AAClG,IAAA,QAAA,EAAA,CAAAA,IAAA,CAAA,KAAA,EAAA;AACH,MAAA,SAAA,EAAA,8EAKM;AACH,MAAA,QAAA,EAAA,CAAAC,GAAA,CAAA,KAAA,EAAA;AACH,QAAA,SAAA,EAAA,iCAID;AAwDpB,QAAE,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAC;AAEzF,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAoIrC,CAAC"}
1
+ {"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAC;AAGzF,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAqIrC,CAAC"}
@@ -1,11 +1,12 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';const Logo = props => {
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {useParams}from'@remix-run/react';const Logo = props => {
2
+ const params = useParams();
2
3
  const {
3
4
  settings,
4
5
  logo,
5
6
  scrolled,
6
7
  location
7
8
  } = props;
8
- const fill = !scrolled ? '#fff' : settings?.navTheme === 'dark' ? '#fff' : 'black';
9
+ const fill = !scrolled && !params.articleSlug ? '#fff' : settings?.navTheme === 'dark' ? '#fff' : 'black';
9
10
  return jsxs("svg", {
10
11
  version: "1.1",
11
12
  xmlns: "http://www.w3.org/2000/svg",
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.js","sources":["../../src/components/Logo.tsx"],"sourcesContent":[null],"names":[],"mappings":"yCAGa,MAAA,IAAI,GAAyB,KAAC,IAAS;QAC1C;IACN,QAAM;AAEN,IAAA,IAAA;;;;;;;;;;;;;;UA0BgB,EAAA;AAsGpB,MAAE,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Logo.js","sources":["../../src/components/Logo.tsx"],"sourcesContent":[null],"names":[],"mappings":"kFAIa,MAAA,IAAI,GAAyB,KAAC,IAAS;AAChD,EAAA,MAAA,MAAY,GAAA,SAAY,EAAA;QAClB;AACN,IAAA,QAAU;AAEV,IAAA,IAAA;;;;;;;;;;;;;;UA0BgB,EAAA;AAsGpB,MAAE,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface SearchbarProps {
3
+ onSearch?: (query: string) => void;
4
+ initialSearchQuery?: string;
5
+ }
6
+ export declare const SearchBar: React.FC<SearchbarProps>;
7
+ export {};
8
+ //# sourceMappingURL=SearchBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["../../src/components/SearchBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,UAAU,cAAc;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;AACD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAwQ9C,CAAC"}