@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.
- package/lib/components/HelpCenterFooter.d.ts.map +1 -1
- package/lib/components/HelpCenterFooter.js +93 -85
- package/lib/components/HelpCenterFooter.js.map +1 -1
- package/lib/components/HelpCenterHeader.d.ts +1 -5
- package/lib/components/HelpCenterHeader.d.ts.map +1 -1
- package/lib/components/HelpCenterHeader.js +67 -69
- package/lib/components/HelpCenterHeader.js.map +1 -1
- package/lib/components/Logo.d.ts.map +1 -1
- package/lib/components/Logo.js +3 -2
- package/lib/components/Logo.js.map +1 -1
- package/lib/components/SearchBar.d.ts +8 -0
- package/lib/components/SearchBar.d.ts.map +1 -0
- package/lib/components/SearchBar.js +234 -0
- package/lib/components/SearchBar.js.map +1 -0
- package/lib/components/SidebarSearch.d.ts +8 -0
- package/lib/components/SidebarSearch.d.ts.map +1 -0
- package/lib/components/SidebarSearch.js +114 -0
- package/lib/components/SidebarSearch.js.map +1 -0
- package/lib/components/navbar/index.d.ts.map +1 -1
- package/lib/components/navbar/index.js +5 -4
- package/lib/components/navbar/index.js.map +1 -1
- package/lib/compute.d.ts.map +1 -1
- package/lib/compute.js +19 -1
- package/lib/compute.js.map +1 -1
- package/lib/pages/CategoryCollection/index.d.ts.map +1 -1
- package/lib/pages/CategoryCollection/index.js +5 -11
- package/lib/pages/CategoryCollection/index.js.map +1 -1
- package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts +2 -0
- package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts.map +1 -1
- package/lib/pages/HelpCenter/components/HelpCategoryCard.js +135 -50
- package/lib/pages/HelpCenter/components/HelpCategoryCard.js.map +1 -1
- package/lib/pages/HelpCenter/components/Icons.d.ts +10 -0
- package/lib/pages/HelpCenter/components/Icons.d.ts.map +1 -1
- package/lib/pages/HelpCenter/components/Icons.js +211 -1
- package/lib/pages/HelpCenter/components/Icons.js.map +1 -1
- package/lib/pages/HelpCenter/components/PopularArticle.d.ts.map +1 -1
- package/lib/pages/HelpCenter/components/PopularArticle.js +17 -23
- package/lib/pages/HelpCenter/components/PopularArticle.js.map +1 -1
- package/lib/pages/HelpCenter/index.d.ts.map +1 -1
- package/lib/pages/HelpCenter/index.js +106 -37
- package/lib/pages/HelpCenter/index.js.map +1 -1
- package/lib/pages/HelpCenter/mockData.d.ts.map +1 -1
- package/lib/pages/HelpCenter/mockData.js +14 -6
- package/lib/pages/HelpCenter/mockData.js.map +1 -1
- package/lib/pages/LandingPage/components/HeroSection.d.ts +0 -1
- package/lib/pages/LandingPage/components/HeroSection.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/HeroSection.js +3 -6
- package/lib/pages/LandingPage/components/HeroSection.js.map +1 -1
- package/lib/pages/LandingPage/index.d.ts.map +1 -1
- package/lib/pages/LandingPage/index.js +1 -6
- package/lib/pages/LandingPage/index.js.map +1 -1
- package/lib/pages/Markdown/MarkdownPageLayout.d.ts +3 -0
- package/lib/pages/Markdown/MarkdownPageLayout.d.ts.map +1 -0
- package/lib/pages/Markdown/MarkdownPageLayout.js +314 -0
- package/lib/pages/Markdown/MarkdownPageLayout.js.map +1 -0
- package/lib/pages/Markdown/MarkdownPageWithParams.d.ts +9 -0
- package/lib/pages/Markdown/MarkdownPageWithParams.d.ts.map +1 -0
- package/lib/pages/Markdown/MarkdownPageWithParams.js +65 -0
- package/lib/pages/Markdown/MarkdownPageWithParams.js.map +1 -0
- package/lib/pages/Markdown/index.d.ts +3 -0
- package/lib/pages/Markdown/index.d.ts.map +1 -0
- package/lib/pages/Markdown/index.js +5 -0
- package/lib/pages/Markdown/index.js.map +1 -0
- package/lib/routes.json +28 -1
- package/lib/{content → templates/content}/account-management/account-setup.md +10 -0
- package/lib/{content → templates/content}/account-management/delete-account.md +10 -0
- package/lib/{content → templates/content}/account-management/preferences.md +10 -0
- package/lib/{content → templates/content}/account-management/privacy-settings.md +10 -0
- package/lib/{content → templates/content}/account-management/profile-settings.md +8 -0
- package/lib/templates/content/ai-employees/ai-employees-overview.md +97 -0
- package/lib/templates/content/ai-employees/getting-started-ai-employees.md +119 -0
- package/lib/templates/content/ai-employees/how-ai-employees-work.md +123 -0
- package/lib/templates/content/ai-employees/supervised-mode.md +141 -0
- package/lib/templates/content/content-manifest.json +5670 -0
- package/lib/{content → templates/content}/data-privacy/data-collection.md +9 -0
- package/lib/{content → templates/content}/data-privacy/privacy-policy.md +10 -0
- package/lib/{content → templates/content}/data-subject-privacy/data-access.md +12 -0
- package/lib/{content → templates/content}/data-subject-privacy/data-portability.md +15 -0
- package/lib/{content → templates/content}/data-subject-privacy/privacy-requests.md +11 -0
- package/lib/{content → templates/content}/file-uploads/file-upload-overview.md +9 -0
- package/lib/{content → templates/content}/getting-started/getting-started-guide.md +9 -0
- package/lib/templates/content/integrations/crm-integrations.md +130 -0
- package/lib/templates/content/integrations/github-integration.md +95 -0
- package/lib/templates/content/integrations/integrations-overview.md +142 -0
- package/lib/templates/content/integrations/monitoring-integrations.md +109 -0
- package/lib/templates/content/integrations/productivity-integrations.md +129 -0
- package/lib/templates/content/integrations/slack-integration.md +79 -0
- package/lib/templates/content/openclaw/openclaw-architecture.md +202 -0
- package/lib/templates/content/openclaw/openclaw-contribution.md +107 -0
- package/lib/templates/content/openclaw/openclaw-overview.md +152 -0
- package/lib/templates/content/platform-features/always-watching.md +63 -0
- package/lib/templates/content/platform-features/instant-context.md +67 -0
- package/lib/templates/content/platform-features/instant-onboarding.md +80 -0
- package/lib/templates/content/platform-features/platform-overview.md +58 -0
- package/lib/templates/content/platform-features/proactive-alerts.md +88 -0
- package/lib/templates/content/platform-features/smart-escalation.md +93 -0
- package/lib/{content → templates/content}/product-features/ai-models.md +1 -1
- package/lib/{content → templates/content}/product-features/collaboration-tools.md +8 -0
- package/lib/{content → templates/content}/product-features/conversation-features.md +6 -0
- package/lib/{content → templates/content}/product-features/export-features.md +8 -0
- package/lib/{content → templates/content}/product-features/follow-up-questions.md +8 -0
- package/lib/{content → templates/content}/product-features/real-time-search.md +8 -0
- package/lib/{content → templates/content}/product-features/saved-searches.md +8 -0
- package/lib/{content → templates/content}/product-features/search-features.md +1 -1
- package/lib/{content → templates/content}/product-features/search-history.md +8 -0
- package/lib/{content → templates/content}/product-features/source-citations.md +8 -0
- package/lib/{content → templates/content}/scope-api/api-overview.md +8 -0
- package/lib/{content → templates/content}/search-modes/deep-research.md +8 -0
- package/lib/{content → templates/content}/search-modes/labs-features.md +10 -0
- package/lib/{content → templates/content}/search-modes/pro-search.md +8 -0
- package/lib/{content → templates/content}/search-modes/regular-search.md +8 -0
- package/lib/templates/content/security-compliance/audit-trail.md +112 -0
- package/lib/templates/content/security-compliance/compliance.md +120 -0
- package/lib/templates/content/security-compliance/data-encryption.md +94 -0
- package/lib/templates/content/security-compliance/security-overview.md +186 -0
- package/lib/templates/content/security-compliance/vm-isolation.md +126 -0
- package/lib/templates/content/solutions-engineering/bug-tracking-context.md +126 -0
- package/lib/templates/content/solutions-engineering/engineering-overview.md +107 -0
- package/lib/templates/content/solutions-engineering/error-monitoring.md +120 -0
- package/lib/templates/content/solutions-engineering/institutional-memory.md +120 -0
- package/lib/templates/content/solutions-marketing/brand-monitoring.md +135 -0
- package/lib/templates/content/solutions-marketing/content-automation.md +111 -0
- package/lib/templates/content/solutions-marketing/marketing-overview.md +108 -0
- package/lib/templates/content/solutions-marketing/social-media-management.md +108 -0
- package/lib/templates/content/solutions-sales/call-preparation.md +106 -0
- package/lib/templates/content/solutions-sales/crm-automation.md +119 -0
- package/lib/templates/content/solutions-sales/lead-management.md +108 -0
- package/lib/templates/content/solutions-sales/sales-overview.md +120 -0
- package/lib/{content → templates/content}/spaces-library/spaces-overview.md +8 -0
- package/lib/{content → templates/content}/student-hub/academic-research.md +8 -0
- package/lib/{content → templates/content}/student-hub/student-discounts.md +10 -0
- package/lib/{content → templates/content}/student-hub/student-overview.md +8 -0
- package/lib/{content → templates/content}/student-hub/study-tools.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/billing-cycle.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/billing-overview.md +6 -0
- package/lib/{content → templates/content}/subscription-billing/billing-support.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/currency-support.md +10 -0
- package/lib/{content → templates/content}/subscription-billing/enterprise-pricing.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/invoice-management.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/payment-methods.md +9 -0
- package/lib/{content → templates/content}/subscription-billing/promotional-offers.md +8 -0
- package/lib/{content → templates/content}/subscription-billing/refund-policy.md +10 -0
- package/lib/{content → templates/content}/subscription-billing/student-discounts.md +10 -0
- package/lib/{content → templates/content}/subscription-billing/tax-information.md +8 -0
- package/lib/{content → templates/content}/technical-questions/ai-models-technical.md +10 -0
- package/lib/{content → templates/content}/technical-questions/api-technical.md +10 -0
- package/lib/{content → templates/content}/technical-questions/data-processing.md +10 -0
- package/lib/{content → templates/content}/technical-questions/database-architecture.md +10 -0
- package/lib/{content → templates/content}/technical-questions/infrastructure.md +10 -0
- package/lib/{content → templates/content}/technical-questions/performance-optimization.md +10 -0
- package/lib/{content → templates/content}/technical-questions/search-algorithms.md +10 -0
- package/lib/{content → templates/content}/technical-questions/technical-overview.md +10 -0
- package/lib/{content → templates/content}/threads/conversation-management.md +8 -0
- package/lib/{content → templates/content}/threads/threads-overview.md +8 -0
- package/lib/{content → templates/content}/troubleshooting/common-issues.md +8 -0
- package/lib/templates/content/use-cases/engineering-use-cases.md +123 -0
- package/lib/templates/content/use-cases/marketing-use-cases.md +128 -0
- package/lib/templates/content/use-cases/sales-use-cases.md +123 -0
- package/lib/templates/content/use-cases/support-use-cases.md +120 -0
- package/lib/templates/content/use-cases/use-cases-overview.md +115 -0
- package/lib/{content → templates/content}/what-is-yantra/getting-started-yantra.md +1 -1
- package/lib/{content → templates/content}/what-is-yantra/how-yantra-works.md +1 -1
- package/lib/{content → templates/content}/what-is-yantra/practical-tips-yantra.md +2 -1
- package/lib/{content → templates/content}/what-is-yantra/what-is-yantra-intro.md +1 -1
- package/lib/{content → templates/content}/what-is-yantra/yantra-discord-community.md +4 -1
- package/lib/{content → templates/content}/yantra-assistant/android-app.md +10 -0
- package/lib/{content → templates/content}/yantra-assistant/ios-app.md +10 -0
- package/lib/{content → templates/content}/yantra-assistant/mobile-app-overview.md +8 -0
- package/lib/{content → templates/content}/yantra-assistant/voice-assistant.md +10 -0
- package/lib/{content → templates/content}/yantra-enterprise/admin-dashboard.md +10 -0
- package/lib/{content → templates/content}/yantra-enterprise/custom-branding.md +10 -0
- package/lib/{content → templates/content}/yantra-enterprise/dedicated-support.md +10 -0
- package/lib/{content → templates/content}/yantra-enterprise/enterprise-overview.md +8 -0
- package/lib/{content → templates/content}/yantra-enterprise/sso-integration.md +10 -0
- package/lib/{content → templates/content}/yantra-enterprise/user-management.md +10 -0
- package/lib/{content → templates/content}/yantra-pro-max/billing-management.md +13 -0
- package/lib/{content → templates/content}/yantra-pro-max/cancellation-refund.md +13 -0
- package/lib/{content → templates/content}/yantra-pro-max/pro-pricing.md +13 -9
- package/lib/{content → templates/content}/yantra-pro-max/subscription-benefits.md +8 -0
- package/lib/{content → templates/content}/yantra-pro-max/upgrade-process.md +13 -0
- package/lib/{content → templates/content}/yantra-pro-max/yantra-max-features.md +8 -8
- package/lib/{content → templates/content}/yantra-pro-max/yantra-pro-overview.md +8 -8
- package/lib/utils/docsNavigation.d.ts +10 -0
- package/lib/utils/docsNavigation.d.ts.map +1 -0
- package/lib/utils/docsNavigation.js +151 -0
- package/lib/utils/docsNavigation.js.map +1 -0
- package/lib/utils/helpCenterUtils.d.ts.map +1 -1
- package/lib/utils/markdownLoader.d.ts +12 -4
- package/lib/utils/markdownLoader.d.ts.map +1 -1
- package/lib/utils/markdownLoader.js +362 -1163
- package/lib/utils/markdownLoader.js.map +1 -1
- package/package.json +23 -6
- package/lib/pages/ArticlePage/index.d.ts +0 -4
- package/lib/pages/ArticlePage/index.d.ts.map +0 -1
- package/lib/pages/ArticlePage/index.js +0 -190
- package/lib/pages/ArticlePage/index.js.map +0 -1
- package/lib/pages/HelpCenter/components/BookStack.js +0 -36
- package/lib/pages/HelpCenter/components/BookStack.js.map +0 -1
- package/lib/pages/LandingPage/components/SearchBar.d.ts +0 -8
- package/lib/pages/LandingPage/components/SearchBar.d.ts.map +0 -1
- package/lib/pages/LandingPage/components/SearchBar.js +0 -58
- 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,
|
|
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
|
|
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: "
|
|
8
|
-
children: [
|
|
9
|
-
className: "text-center text-
|
|
10
|
-
children: "
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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("
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
className: "
|
|
64
|
-
children: "
|
|
65
|
-
}), jsx("
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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("
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
className: "
|
|
79
|
-
children: "
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
|
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;
|
|
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
|
-
|
|
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,
|
|
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 {
|
|
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-
|
|
13
|
-
children: [
|
|
14
|
-
className: "absolute inset-0 bg-[#057d78]",
|
|
15
|
-
children: jsx("div", {
|
|
16
|
-
className: "absolute inset-0 opacity-
|
|
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.
|
|
19
|
-
backgroundSize: '
|
|
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-[
|
|
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
|
-
|
|
27
|
-
|
|
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-
|
|
31
|
-
children: "
|
|
32
|
-
}), jsx(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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":"
|
|
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;
|
|
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"}
|
package/lib/components/Logo.js
CHANGED
|
@@ -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":"
|
|
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 @@
|
|
|
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"}
|