@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,24 +1,78 @@
|
|
|
1
|
-
import {jsxs,jsx}from'react/jsx-runtime';import {cn}from'../../../utils/index.js';import {HelpCenterIcons}from'./Icons.js'
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';import {cn}from'../../../utils/index.js';import {HelpCenterIcons}from'./Icons.js';// Map category IDs to gradient accent colors
|
|
2
|
+
const CATEGORY_COLORS = {
|
|
3
|
+
'platform-features': {
|
|
4
|
+
gradient: 'from-teal-500/10 to-emerald-500/5',
|
|
5
|
+
iconBg: 'bg-teal-600',
|
|
6
|
+
badge: 'text-teal-700 bg-teal-50 dark:text-teal-400 dark:bg-teal-950'
|
|
7
|
+
},
|
|
8
|
+
'ai-employees': {
|
|
9
|
+
gradient: 'from-violet-500/10 to-purple-500/5',
|
|
10
|
+
iconBg: 'bg-violet-600',
|
|
11
|
+
badge: 'text-violet-700 bg-violet-50 dark:text-violet-400 dark:bg-violet-950'
|
|
12
|
+
},
|
|
13
|
+
'solutions-engineering': {
|
|
14
|
+
gradient: 'from-blue-500/10 to-cyan-500/5',
|
|
15
|
+
iconBg: 'bg-blue-600',
|
|
16
|
+
badge: 'text-blue-700 bg-blue-50 dark:text-blue-400 dark:bg-blue-950'
|
|
17
|
+
},
|
|
18
|
+
'solutions-sales': {
|
|
19
|
+
gradient: 'from-amber-500/10 to-orange-500/5',
|
|
20
|
+
iconBg: 'bg-amber-600',
|
|
21
|
+
badge: 'text-amber-700 bg-amber-50 dark:text-amber-400 dark:bg-amber-950'
|
|
22
|
+
},
|
|
23
|
+
'solutions-marketing': {
|
|
24
|
+
gradient: 'from-pink-500/10 to-rose-500/5',
|
|
25
|
+
iconBg: 'bg-pink-600',
|
|
26
|
+
badge: 'text-pink-700 bg-pink-50 dark:text-pink-400 dark:bg-pink-950'
|
|
27
|
+
},
|
|
28
|
+
integrations: {
|
|
29
|
+
gradient: 'from-indigo-500/10 to-blue-500/5',
|
|
30
|
+
iconBg: 'bg-indigo-600',
|
|
31
|
+
badge: 'text-indigo-700 bg-indigo-50 dark:text-indigo-400 dark:bg-indigo-950'
|
|
32
|
+
},
|
|
33
|
+
'security-compliance': {
|
|
34
|
+
gradient: 'from-emerald-500/10 to-green-500/5',
|
|
35
|
+
iconBg: 'bg-emerald-600',
|
|
36
|
+
badge: 'text-emerald-700 bg-emerald-50 dark:text-emerald-400 dark:bg-emerald-950'
|
|
37
|
+
},
|
|
38
|
+
openclaw: {
|
|
39
|
+
gradient: 'from-orange-500/10 to-yellow-500/5',
|
|
40
|
+
iconBg: 'bg-orange-600',
|
|
41
|
+
badge: 'text-orange-700 bg-orange-50 dark:text-orange-400 dark:bg-orange-950'
|
|
42
|
+
},
|
|
43
|
+
'use-cases': {
|
|
44
|
+
gradient: 'from-cyan-500/10 to-sky-500/5',
|
|
45
|
+
iconBg: 'bg-cyan-600',
|
|
46
|
+
badge: 'text-cyan-700 bg-cyan-50 dark:text-cyan-400 dark:bg-cyan-950'
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const DEFAULT_COLOR = {
|
|
50
|
+
gradient: 'from-primary/5 to-primary/0',
|
|
51
|
+
iconBg: 'bg-primary',
|
|
52
|
+
badge: 'text-primary bg-primary/10'
|
|
53
|
+
};
|
|
54
|
+
const HelpCategoryCard = ({
|
|
2
55
|
category,
|
|
3
56
|
className,
|
|
4
|
-
onClick
|
|
57
|
+
onClick,
|
|
58
|
+
featured = false
|
|
5
59
|
}) => {
|
|
6
60
|
const handleClick = () => {
|
|
7
61
|
if (onClick) {
|
|
8
62
|
onClick(category.id);
|
|
9
63
|
}
|
|
10
64
|
};
|
|
65
|
+
const colors = CATEGORY_COLORS[category.id] || DEFAULT_COLOR;
|
|
66
|
+
const articleCount = category.articles?.length || 0;
|
|
11
67
|
const renderIcon = iconType => {
|
|
12
|
-
// TypeScript will complain about indexing with a string, so we need this check
|
|
13
68
|
if (iconType in HelpCenterIcons) {
|
|
14
69
|
const IconComponent = HelpCenterIcons[iconType];
|
|
15
70
|
return jsx(IconComponent, {
|
|
16
|
-
className: "w-
|
|
71
|
+
className: "w-5 h-5 text-white"
|
|
17
72
|
});
|
|
18
73
|
}
|
|
19
|
-
// Fallback icon if not found
|
|
20
74
|
return jsx("svg", {
|
|
21
|
-
className: "w-
|
|
75
|
+
className: "w-5 h-5 text-white",
|
|
22
76
|
fill: "none",
|
|
23
77
|
stroke: "currentColor",
|
|
24
78
|
viewBox: "0 0 24 24",
|
|
@@ -30,55 +84,86 @@ import {jsxs,jsx}from'react/jsx-runtime';import {cn}from'../../../utils/index.js
|
|
|
30
84
|
})
|
|
31
85
|
});
|
|
32
86
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
className: "absolute inset-0 bg-gradient-to-br from-primary/0 via-primary/0 to-primary/0 transition-all duration-300 group-hover:from-primary/5 group-hover:via-primary/3 group-hover:to-primary/5"
|
|
38
|
-
}), jsxs("div", {
|
|
39
|
-
className: "relative z-10",
|
|
87
|
+
if (featured) {
|
|
88
|
+
return jsxs("div", {
|
|
89
|
+
className: cn('group relative cursor-pointer overflow-hidden rounded-xl border border-border bg-card transition-all duration-200', 'hover:border-primary/40 hover:shadow-lg hover:shadow-primary/5 hover:-translate-y-0.5', className),
|
|
90
|
+
onClick: handleClick,
|
|
40
91
|
children: [jsx("div", {
|
|
41
|
-
className:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}), jsx("h3", {
|
|
47
|
-
className: "mb-3 text-xl font-semibold text-foreground group-hover:text-primary transition-colors",
|
|
48
|
-
children: category.title
|
|
49
|
-
}), jsx("p", {
|
|
50
|
-
className: "mb-6 text-muted-foreground leading-relaxed",
|
|
51
|
-
children: category.description
|
|
52
|
-
}), category.authors && category.authors.length > 0 && jsx("div", {
|
|
53
|
-
className: "flex items-center space-x-3 text-sm text-muted-foreground",
|
|
54
|
-
children: category.authors.map((author, index) => jsxs("div", {
|
|
55
|
-
className: "flex items-center",
|
|
92
|
+
className: cn('absolute inset-0 bg-gradient-to-br opacity-0 transition-opacity duration-200 group-hover:opacity-100', colors.gradient)
|
|
93
|
+
}), jsxs("div", {
|
|
94
|
+
className: "relative z-10 p-6",
|
|
95
|
+
children: [jsxs("div", {
|
|
96
|
+
className: "flex items-start gap-4",
|
|
56
97
|
children: [jsx("div", {
|
|
57
|
-
className:
|
|
58
|
-
children:
|
|
59
|
-
}), jsxs("
|
|
60
|
-
className: "
|
|
61
|
-
children: [
|
|
98
|
+
className: cn('flex h-10 w-10 shrink-0 items-center justify-center rounded-lg shadow-sm', colors.iconBg),
|
|
99
|
+
children: renderIcon(category.iconType)
|
|
100
|
+
}), jsxs("div", {
|
|
101
|
+
className: "min-w-0 flex-1",
|
|
102
|
+
children: [jsx("h3", {
|
|
103
|
+
className: "text-base font-semibold text-foreground group-hover:text-primary transition-colors truncate",
|
|
104
|
+
children: category.title
|
|
105
|
+
}), jsx("p", {
|
|
106
|
+
className: "mt-1 text-sm text-muted-foreground line-clamp-2 leading-relaxed",
|
|
107
|
+
children: category.description
|
|
108
|
+
})]
|
|
62
109
|
})]
|
|
63
|
-
},
|
|
110
|
+
}), jsxs("div", {
|
|
111
|
+
className: "mt-4 flex items-center justify-between",
|
|
112
|
+
children: [jsxs("span", {
|
|
113
|
+
className: cn('inline-flex items-center rounded-md px-2 py-0.5 text-xs font-medium', colors.badge),
|
|
114
|
+
children: [articleCount, " ", articleCount === 1 ? 'article' : 'articles']
|
|
115
|
+
}), jsxs("div", {
|
|
116
|
+
className: "flex items-center gap-1 text-muted-foreground opacity-0 transition-all duration-200 group-hover:opacity-100 group-hover:text-primary",
|
|
117
|
+
children: [jsx("span", {
|
|
118
|
+
className: "text-xs font-medium",
|
|
119
|
+
children: "Explore"
|
|
120
|
+
}), jsx("svg", {
|
|
121
|
+
className: "h-3.5 w-3.5 transition-transform duration-200 group-hover:translate-x-0.5",
|
|
122
|
+
fill: "none",
|
|
123
|
+
stroke: "currentColor",
|
|
124
|
+
viewBox: "0 0 24 24",
|
|
125
|
+
children: jsx("path", {
|
|
126
|
+
strokeLinecap: "round",
|
|
127
|
+
strokeLinejoin: "round",
|
|
128
|
+
strokeWidth: 2,
|
|
129
|
+
d: "M9 5l7 7-7 7"
|
|
130
|
+
})
|
|
131
|
+
})]
|
|
132
|
+
})]
|
|
133
|
+
})]
|
|
134
|
+
})]
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
// Compact card for non-featured categories
|
|
138
|
+
return jsx("div", {
|
|
139
|
+
className: cn('group relative cursor-pointer rounded-lg border border-border bg-card px-4 py-3.5 transition-all duration-200', 'hover:border-primary/30 hover:bg-accent/50 hover:shadow-sm', className),
|
|
140
|
+
onClick: handleClick,
|
|
141
|
+
children: jsxs("div", {
|
|
142
|
+
className: "flex items-center gap-3",
|
|
143
|
+
children: [jsx("div", {
|
|
144
|
+
className: cn('flex h-8 w-8 shrink-0 items-center justify-center rounded-md', colors.iconBg),
|
|
145
|
+
children: renderIcon(category.iconType)
|
|
64
146
|
}), jsxs("div", {
|
|
65
|
-
className: "
|
|
66
|
-
children: [jsx("
|
|
67
|
-
className: "text-sm font-medium",
|
|
68
|
-
children:
|
|
69
|
-
}),
|
|
70
|
-
className: "
|
|
71
|
-
|
|
72
|
-
stroke: "currentColor",
|
|
73
|
-
viewBox: "0 0 24 24",
|
|
74
|
-
children: jsx("path", {
|
|
75
|
-
strokeLinecap: "round",
|
|
76
|
-
strokeLinejoin: "round",
|
|
77
|
-
strokeWidth: 2,
|
|
78
|
-
d: "M9 5l7 7-7 7"
|
|
79
|
-
})
|
|
147
|
+
className: "min-w-0 flex-1",
|
|
148
|
+
children: [jsx("h3", {
|
|
149
|
+
className: "text-sm font-medium text-foreground group-hover:text-primary transition-colors truncate",
|
|
150
|
+
children: category.title
|
|
151
|
+
}), articleCount > 0 && jsxs("p", {
|
|
152
|
+
className: "text-xs text-muted-foreground mt-0.5",
|
|
153
|
+
children: [articleCount, " ", articleCount === 1 ? 'article' : 'articles']
|
|
80
154
|
})]
|
|
155
|
+
}), jsx("svg", {
|
|
156
|
+
className: "h-4 w-4 shrink-0 text-muted-foreground/50 transition-all duration-200 group-hover:text-primary group-hover:translate-x-0.5",
|
|
157
|
+
fill: "none",
|
|
158
|
+
stroke: "currentColor",
|
|
159
|
+
viewBox: "0 0 24 24",
|
|
160
|
+
children: jsx("path", {
|
|
161
|
+
strokeLinecap: "round",
|
|
162
|
+
strokeLinejoin: "round",
|
|
163
|
+
strokeWidth: 2,
|
|
164
|
+
d: "M9 5l7 7-7 7"
|
|
165
|
+
})
|
|
81
166
|
})]
|
|
82
|
-
})
|
|
167
|
+
})
|
|
83
168
|
});
|
|
84
169
|
};export{HelpCategoryCard};//# sourceMappingURL=HelpCategoryCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpCategoryCard.js","sources":["../../../../src/pages/HelpCenter/components/HelpCategoryCard.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"HelpCategoryCard.js","sources":["../../../../src/pages/HelpCenter/components/HelpCategoryCard.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"2HA0BA;AACA,MAAM,eAAe,GAAwE;AACzF,EAAA,mBAAA,EAAmB;AACf,IAAA,QAAA,EAAA,mCAA6C;AAC7C,IAAA,MAAA,EAAA,aAAqB;AACrB,IAAA,KAAA,EAAA;AACH,GAAA;AACD,EAAA,cAAA,EAAc;AACV,IAAA,QAAA,EAAA,oCAA8C;AAC9C,IAAA,MAAA,EAAA,eAAuB;AACvB,IAAA,KAAA,EAAA;AACH,GAAA;AACD,EAAA,uBAAA,EAAuB;AACnB,IAAA,QAAA,EAAA,gCAA0C;AAC1C,IAAA,MAAA,EAAA,aAAqB;AACrB,IAAA,KAAA,EAAA;AACH,GAAA;AACD,EAAA,iBAAA,EAAiB;AACb,IAAA,QAAA,EAAA,mCAA6C;AAC7C,IAAA,MAAA,EAAA,cAAsB;AACtB,IAAA,KAAA,EAAA;AACH,GAAA;AACD,EAAA,qBAAA,EAAqB;AACjB,IAAA,QAAA,EAAA,gCAA0C;AAC1C,IAAA,MAAA,EAAA,aAAqB;AACrB,IAAA,KAAA,EAAA;AACH,GAAA;AACD,EAAA,YAAA,EAAY;AACR,IAAA,QAAA,EAAA,kCAA4C;AAC5C,IAAA,MAAA,EAAA,eAAuB;AACvB,IAAA,KAAA,EAAA;AACH,GAAA;AACD,EAAA,qBAAA,EAAqB;AACjB,IAAA,QAAA,EAAA,oCAA8C;AAC9C,IAAA,MAAA,EAAA,gBAAwB;AACxB,IAAA,KAAA,EAAA;AACH,GAAA;AACD,EAAA,QAAA,EAAQ;AACJ,IAAA,QAAA,EAAA,oCAA8C;AAC9C,IAAA,MAAA,EAAA,eAAuB;AACvB,IAAA,KAAA,EAAA;AACH,GAAA;AACD,EAAA,WAAA,EAAW;AACP,IAAA,QAAA,EAAA,+BAAyC;AACzC,IAAA,MAAA,EAAA,aAAqB;AACrB,IAAA,KAAA,EAAA;AACH;CACJ;AAED,MAAM,aAAa,GAAG;AAClB,EAAA,QAAA,EAAQ,6BAA+B;AACvC,EAAA,MAAA,EAAM,YAAc;AACpB,EAAA,KAAA,EAAK;CACR;AAEY,MAAA,gBAAgB,GAAoC,CAAC;UAMxD;WACE;AACA,EAAA,OAAA;UACH,GAAA;AACL,CAAA,KAAE;QAEI,WAAS,GAAA,MAAA;IACf,IAAM,OAAA,EAAA;AAEN,MAAA,OAAgB,CAAA,QAAA,CAAG,EAAC,CAAA;AAChB;AACI,GAAA;AACA,EAAA,MAAA,MAAA,GAAA,eAAqB,CAAA,QAAC,qBAAU;QACpC,YAAC,GAAA,QAAA,CAAA,QAAA,EAAA,MAAA,IAAA,CAAA;AACD,EAAA,MAAA,UACS,GAAA,QAAA,IAAA;AASb,IAAA,IAAE,QAAA,IAAA,eAAA,EAAA;MAEE,MAAA,aAAW,GAAA,eAAA,CAAA,QAAA,CAAA;AACX,MAAA,OAAAA,GAEQ,CAAA,aAAA,EAAA;QA2DX,SAAA,EAAA;OAE0C,CAAA;;AAmC/C,IAAE,OAAAA,GAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -18,5 +18,15 @@ export declare const HelpCenterIcons: {
|
|
|
18
18
|
DataPrivacy: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
GettingStarted: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
StudentHub: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
PlatformFeatures: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
AiEmployees: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
SolutionsEngineering: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
SolutionsSales: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
SolutionsMarketing: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
Integrations: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
SecurityCompliance: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
OpenClaw: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
UseCases: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
Documentation: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
21
31
|
};
|
|
22
32
|
//# sourceMappingURL=Icons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,eAAe;wBACJ,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;iBAkBpC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;sBAkBxB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;0BAgBzB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;yBAiB9B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;wBAiB9B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;qBAiBhC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;uBAiB3B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;qBAiB/B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;oBAiB9B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;qBAgB5B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;6BAgBrB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;iBAgBzC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;yBAkBrB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;gCAmBtB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;yBAoBpC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;4BAiB1B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;wBAiBjC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;8BAkBvB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;yBAmBlC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;kCAoBpB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;4BAkBnC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;gCAgBzB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;0BAgBnC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;gCAkBvB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;sBAiBvC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;sBAiB7B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;2BAiBxB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;CAgBvD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {jsxs
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';const HelpCenterIcons = {
|
|
2
2
|
Perplexity: props => jsxs("svg", {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
viewBox: "0 0 24 24",
|
|
@@ -338,5 +338,215 @@ import {jsxs,jsx}from'react/jsx-runtime';const HelpCenterIcons = {
|
|
|
338
338
|
}), jsx("path", {
|
|
339
339
|
d: "M6 12v5c3 3 9 3 12 0v-5"
|
|
340
340
|
})]
|
|
341
|
+
}),
|
|
342
|
+
// --- New category icons ---
|
|
343
|
+
PlatformFeatures: props => jsxs("svg", {
|
|
344
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
345
|
+
viewBox: "0 0 24 24",
|
|
346
|
+
fill: "none",
|
|
347
|
+
stroke: "currentColor",
|
|
348
|
+
strokeWidth: "2",
|
|
349
|
+
strokeLinecap: "round",
|
|
350
|
+
strokeLinejoin: "round",
|
|
351
|
+
width: "24",
|
|
352
|
+
height: "24",
|
|
353
|
+
...props,
|
|
354
|
+
children: [jsx("rect", {
|
|
355
|
+
x: "3",
|
|
356
|
+
y: "3",
|
|
357
|
+
width: "7",
|
|
358
|
+
height: "7",
|
|
359
|
+
rx: "1"
|
|
360
|
+
}), jsx("rect", {
|
|
361
|
+
x: "14",
|
|
362
|
+
y: "3",
|
|
363
|
+
width: "7",
|
|
364
|
+
height: "7",
|
|
365
|
+
rx: "1"
|
|
366
|
+
}), jsx("rect", {
|
|
367
|
+
x: "3",
|
|
368
|
+
y: "14",
|
|
369
|
+
width: "7",
|
|
370
|
+
height: "7",
|
|
371
|
+
rx: "1"
|
|
372
|
+
}), jsx("rect", {
|
|
373
|
+
x: "14",
|
|
374
|
+
y: "14",
|
|
375
|
+
width: "7",
|
|
376
|
+
height: "7",
|
|
377
|
+
rx: "1"
|
|
378
|
+
})]
|
|
379
|
+
}),
|
|
380
|
+
AiEmployees: props => jsxs("svg", {
|
|
381
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
382
|
+
viewBox: "0 0 24 24",
|
|
383
|
+
fill: "none",
|
|
384
|
+
stroke: "currentColor",
|
|
385
|
+
strokeWidth: "2",
|
|
386
|
+
strokeLinecap: "round",
|
|
387
|
+
strokeLinejoin: "round",
|
|
388
|
+
width: "24",
|
|
389
|
+
height: "24",
|
|
390
|
+
...props,
|
|
391
|
+
children: [jsx("path", {
|
|
392
|
+
d: "M12 8V4H8"
|
|
393
|
+
}), jsx("rect", {
|
|
394
|
+
x: "2",
|
|
395
|
+
y: "2",
|
|
396
|
+
width: "20",
|
|
397
|
+
height: "20",
|
|
398
|
+
rx: "5"
|
|
399
|
+
}), jsx("path", {
|
|
400
|
+
d: "M8 14s1.5 2 4 2 4-2 4-2"
|
|
401
|
+
}), jsx("line", {
|
|
402
|
+
x1: "9",
|
|
403
|
+
y1: "9",
|
|
404
|
+
x2: "9.01",
|
|
405
|
+
y2: "9"
|
|
406
|
+
}), jsx("line", {
|
|
407
|
+
x1: "15",
|
|
408
|
+
y1: "9",
|
|
409
|
+
x2: "15.01",
|
|
410
|
+
y2: "9"
|
|
411
|
+
})]
|
|
412
|
+
}),
|
|
413
|
+
SolutionsEngineering: props => jsxs("svg", {
|
|
414
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
415
|
+
viewBox: "0 0 24 24",
|
|
416
|
+
fill: "none",
|
|
417
|
+
stroke: "currentColor",
|
|
418
|
+
strokeWidth: "2",
|
|
419
|
+
strokeLinecap: "round",
|
|
420
|
+
strokeLinejoin: "round",
|
|
421
|
+
width: "24",
|
|
422
|
+
height: "24",
|
|
423
|
+
...props,
|
|
424
|
+
children: [jsx("polyline", {
|
|
425
|
+
points: "16 18 22 12 16 6"
|
|
426
|
+
}), jsx("polyline", {
|
|
427
|
+
points: "8 6 2 12 8 18"
|
|
428
|
+
}), jsx("line", {
|
|
429
|
+
x1: "12",
|
|
430
|
+
y1: "2",
|
|
431
|
+
x2: "12",
|
|
432
|
+
y2: "22"
|
|
433
|
+
})]
|
|
434
|
+
}),
|
|
435
|
+
SolutionsSales: props => jsx("svg", {
|
|
436
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
437
|
+
viewBox: "0 0 24 24",
|
|
438
|
+
fill: "none",
|
|
439
|
+
stroke: "currentColor",
|
|
440
|
+
strokeWidth: "2",
|
|
441
|
+
strokeLinecap: "round",
|
|
442
|
+
strokeLinejoin: "round",
|
|
443
|
+
width: "24",
|
|
444
|
+
height: "24",
|
|
445
|
+
...props,
|
|
446
|
+
children: jsx("path", {
|
|
447
|
+
d: "M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"
|
|
448
|
+
})
|
|
449
|
+
}),
|
|
450
|
+
SolutionsMarketing: props => jsx("svg", {
|
|
451
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
452
|
+
viewBox: "0 0 24 24",
|
|
453
|
+
fill: "none",
|
|
454
|
+
stroke: "currentColor",
|
|
455
|
+
strokeWidth: "2",
|
|
456
|
+
strokeLinecap: "round",
|
|
457
|
+
strokeLinejoin: "round",
|
|
458
|
+
width: "24",
|
|
459
|
+
height: "24",
|
|
460
|
+
...props,
|
|
461
|
+
children: jsx("path", {
|
|
462
|
+
d: "M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"
|
|
463
|
+
})
|
|
464
|
+
}),
|
|
465
|
+
Integrations: props => jsxs("svg", {
|
|
466
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
467
|
+
viewBox: "0 0 24 24",
|
|
468
|
+
fill: "none",
|
|
469
|
+
stroke: "currentColor",
|
|
470
|
+
strokeWidth: "2",
|
|
471
|
+
strokeLinecap: "round",
|
|
472
|
+
strokeLinejoin: "round",
|
|
473
|
+
width: "24",
|
|
474
|
+
height: "24",
|
|
475
|
+
...props,
|
|
476
|
+
children: [jsx("path", {
|
|
477
|
+
d: "M4 11a9 9 0 0 1 9 9"
|
|
478
|
+
}), jsx("path", {
|
|
479
|
+
d: "M4 4a16 16 0 0 1 16 16"
|
|
480
|
+
}), jsx("circle", {
|
|
481
|
+
cx: "5",
|
|
482
|
+
cy: "19",
|
|
483
|
+
r: "1"
|
|
484
|
+
})]
|
|
485
|
+
}),
|
|
486
|
+
SecurityCompliance: props => jsxs("svg", {
|
|
487
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
488
|
+
viewBox: "0 0 24 24",
|
|
489
|
+
fill: "none",
|
|
490
|
+
stroke: "currentColor",
|
|
491
|
+
strokeWidth: "2",
|
|
492
|
+
strokeLinecap: "round",
|
|
493
|
+
strokeLinejoin: "round",
|
|
494
|
+
width: "24",
|
|
495
|
+
height: "24",
|
|
496
|
+
...props,
|
|
497
|
+
children: [jsx("path", {
|
|
498
|
+
d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"
|
|
499
|
+
}), jsx("path", {
|
|
500
|
+
d: "m9 12 2 2 4-4"
|
|
501
|
+
})]
|
|
502
|
+
}),
|
|
503
|
+
OpenClaw: props => jsxs("svg", {
|
|
504
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
505
|
+
viewBox: "0 0 24 24",
|
|
506
|
+
fill: "none",
|
|
507
|
+
stroke: "currentColor",
|
|
508
|
+
strokeWidth: "2",
|
|
509
|
+
strokeLinecap: "round",
|
|
510
|
+
strokeLinejoin: "round",
|
|
511
|
+
width: "24",
|
|
512
|
+
height: "24",
|
|
513
|
+
...props,
|
|
514
|
+
children: [jsx("path", {
|
|
515
|
+
d: "M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"
|
|
516
|
+
}), jsx("path", {
|
|
517
|
+
d: "M9 18c-4.51 2-5-2-7-2"
|
|
518
|
+
})]
|
|
519
|
+
}),
|
|
520
|
+
UseCases: props => jsxs("svg", {
|
|
521
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
522
|
+
viewBox: "0 0 24 24",
|
|
523
|
+
fill: "none",
|
|
524
|
+
stroke: "currentColor",
|
|
525
|
+
strokeWidth: "2",
|
|
526
|
+
strokeLinecap: "round",
|
|
527
|
+
strokeLinejoin: "round",
|
|
528
|
+
width: "24",
|
|
529
|
+
height: "24",
|
|
530
|
+
...props,
|
|
531
|
+
children: [jsx("path", {
|
|
532
|
+
d: "M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"
|
|
533
|
+
}), jsx("path", {
|
|
534
|
+
d: "M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"
|
|
535
|
+
})]
|
|
536
|
+
}),
|
|
537
|
+
Documentation: props => jsx("svg", {
|
|
538
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
539
|
+
viewBox: "0 0 24 24",
|
|
540
|
+
fill: "none",
|
|
541
|
+
stroke: "currentColor",
|
|
542
|
+
strokeWidth: "2",
|
|
543
|
+
strokeLinecap: "round",
|
|
544
|
+
strokeLinejoin: "round",
|
|
545
|
+
width: "24",
|
|
546
|
+
height: "24",
|
|
547
|
+
...props,
|
|
548
|
+
children: jsx("path", {
|
|
549
|
+
d: "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
|
|
550
|
+
})
|
|
341
551
|
})
|
|
342
552
|
};export{HelpCenterIcons};//# sourceMappingURL=Icons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.js","sources":["../../../../src/pages/HelpCenter/components/Icons.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"yCAEa,MAAA,eAAe,GAAG;
|
|
1
|
+
{"version":3,"file":"Icons.js","sources":["../../../../src/pages/HelpCenter/components/Icons.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"yCAEa,MAAA,eAAe,GAAG;AAC3B,EAAA,UAAA,EAAU,KAAuC,IAAAA,IAC7C,CACI,KAAA,EAAA;AAgBR,IAAA,KAAK,EAAqC,4BAE7B;IAgBb,OAAQ,EAAA,WAA2C;AAgBnD,IAAA,IAAA,EAAA,MAAY;IAiBZ,MAAW,EAAA,cAAyC;IAiBpD,WAAU,EAAG,GAAA;AAiBb,IAAA,aAA8C,EAAA,OAC1C;AAgBJ,IAAA,cAAgD,EAAA,OAC5C;AAgBJ,IAAA,KAAA,EAAO,IAAG;IAiBV,MAAM,EAAE,IAAC;IAgBT,GAAO,KAAA;IAgBP,QAAe,EAAA,CAAAC,GAAA,CAAA,QAAyC,EAAA;AAgBxD,MAAA,EAAK,EAAC,IAAoC;AAkB1C,MAAA,EAAA,EAAA,IAAA;MAmBkB,CAAA,EAAA;KAoBP,CAAA,EAAAA,GAAA,CAAA,MAAG,EAAA;AAiBd,MAAA,CAAA,EAAA;KAiBU,CAAA,EAAAA,GAAA,CAAA,MAAG,EAAA;MAiBgB,CAAA,EAAA;AAC7B,KAAA,CAAA;IAmBA;AAoBA,EAAA,GAAA,EAAA,KAAA,IAAAD,IAAA,CAAA,KAAuB,EAAA;IAkBvB,KAAc,EAAA,4BACV;IAeJ,OAAkB,EAAA,WAAE;AAgBpB,IAAA,IAAA,EAAA,MAAY;IAkBZ,MAAkB,EAAA,cAAG;IAiBrB,WAAW,EAAA,GAAoC;IAiB/C,aAAW,EAAA,OACP;IAgBJ,cAAa,EAAG,OAAsC;IAgBxD,KAAA,EAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopularArticle.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/PopularArticle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,mBAAmB;
|
|
1
|
+
{"version":3,"file":"PopularArticle.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/PopularArticle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAkCxD,CAAC"}
|
|
@@ -4,16 +4,16 @@ import {jsx,jsxs}from'react/jsx-runtime';import {cn}from'../../../utils/index.js
|
|
|
4
4
|
className
|
|
5
5
|
}) => {
|
|
6
6
|
return jsx("div", {
|
|
7
|
-
className: cn(
|
|
7
|
+
className: cn('group', className),
|
|
8
8
|
children: jsxs("a", {
|
|
9
9
|
href: link,
|
|
10
|
-
className: "flex items-center justify-between rounded-
|
|
10
|
+
className: "flex items-center justify-between rounded-lg border border-border bg-card px-5 py-3.5 transition-all duration-150 hover:border-primary/30 hover:bg-accent/50 hover:shadow-sm",
|
|
11
11
|
children: [jsxs("div", {
|
|
12
|
-
className: "flex items-center
|
|
12
|
+
className: "flex items-center gap-3",
|
|
13
13
|
children: [jsx("div", {
|
|
14
|
-
className: "flex h-
|
|
14
|
+
className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary",
|
|
15
15
|
children: jsx("svg", {
|
|
16
|
-
className: "h-
|
|
16
|
+
className: "h-3.5 w-3.5",
|
|
17
17
|
fill: "none",
|
|
18
18
|
stroke: "currentColor",
|
|
19
19
|
viewBox: "0 0 24 24",
|
|
@@ -25,26 +25,20 @@ import {jsx,jsxs}from'react/jsx-runtime';import {cn}from'../../../utils/index.js
|
|
|
25
25
|
})
|
|
26
26
|
})
|
|
27
27
|
}), jsx("span", {
|
|
28
|
-
className: "font-medium text-foreground group-hover:text-primary transition-colors",
|
|
28
|
+
className: "text-sm font-medium text-foreground group-hover:text-primary transition-colors",
|
|
29
29
|
children: title
|
|
30
30
|
})]
|
|
31
|
-
}),
|
|
32
|
-
className: "
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
strokeLinecap: "round",
|
|
43
|
-
strokeLinejoin: "round",
|
|
44
|
-
strokeWidth: 2,
|
|
45
|
-
d: "M9 5l7 7-7 7"
|
|
46
|
-
})
|
|
47
|
-
})]
|
|
31
|
+
}), jsx("svg", {
|
|
32
|
+
className: "h-4 w-4 shrink-0 text-muted-foreground/50 transition-all duration-150 group-hover:text-primary group-hover:translate-x-0.5",
|
|
33
|
+
fill: "none",
|
|
34
|
+
stroke: "currentColor",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
children: jsx("path", {
|
|
37
|
+
strokeLinecap: "round",
|
|
38
|
+
strokeLinejoin: "round",
|
|
39
|
+
strokeWidth: 2,
|
|
40
|
+
d: "M9 5l7 7-7 7"
|
|
41
|
+
})
|
|
48
42
|
})]
|
|
49
43
|
})
|
|
50
44
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopularArticle.js","sources":["../../../../src/pages/HelpCenter/components/PopularArticle.tsx"],"sourcesContent":[null],"names":[],"mappings":"kFASO,MAAM,cAAc,GAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"PopularArticle.js","sources":["../../../../src/pages/HelpCenter/components/PopularArticle.tsx"],"sourcesContent":[null],"names":[],"mappings":"kFASO,MAAM,cAAc,GAAkC,CAAC;OACnD;AAiCX,EAAE,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/HelpCenter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/HelpCenter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAkJ3B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|