@adminide-stack/yantra-help-browser 12.0.19-alpha.6 → 12.0.191-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/HelpCenterFooter.d.ts.map +1 -1
- package/lib/components/HelpCenterFooter.js +126 -111
- package/lib/components/HelpCenterFooter.js.map +1 -1
- package/lib/components/HelpCenterHeader.d.ts +1 -2
- package/lib/components/HelpCenterHeader.d.ts.map +1 -1
- package/lib/components/HelpCenterHeader.js +19 -14
- package/lib/components/HelpCenterHeader.js.map +1 -1
- package/lib/components/HeroHeaderScrollStyles.d.ts +7 -0
- package/lib/components/HeroHeaderScrollStyles.d.ts.map +1 -0
- package/lib/components/HeroHeaderScrollStyles.js +23 -0
- package/lib/components/HeroHeaderScrollStyles.js.map +1 -0
- package/lib/components/Icons.d.ts +9 -9
- package/lib/components/Logo.d.ts +4 -1
- package/lib/components/Logo.d.ts.map +1 -1
- package/lib/components/Logo.js +95 -86
- package/lib/components/Logo.js.map +1 -1
- package/lib/components/PageHero.d.ts +9 -3
- package/lib/components/PageHero.d.ts.map +1 -1
- package/lib/components/PageHero.js +31 -18
- package/lib/components/PageHero.js.map +1 -1
- package/lib/components/enterprise/EnterprisePageStyles.d.ts +4 -0
- package/lib/components/enterprise/EnterprisePageStyles.d.ts.map +1 -0
- package/lib/components/enterprise/EnterprisePageStyles.js +100 -0
- package/lib/components/enterprise/EnterprisePageStyles.js.map +1 -0
- package/lib/components/enterprise/EnterpriseSection.d.ts +14 -0
- package/lib/components/enterprise/EnterpriseSection.d.ts.map +1 -0
- package/lib/components/enterprise/EnterpriseSection.js +35 -0
- package/lib/components/enterprise/EnterpriseSection.js.map +1 -0
- package/lib/components/enterprise/ScrollReveal.d.ts +15 -0
- package/lib/components/enterprise/ScrollReveal.d.ts.map +1 -0
- package/lib/components/enterprise/ScrollReveal.js +34 -0
- package/lib/components/enterprise/ScrollReveal.js.map +1 -0
- package/lib/components/enterprise/index.d.ts +4 -0
- package/lib/components/enterprise/index.d.ts.map +1 -0
- package/lib/components/navbar/index.d.ts +3 -0
- package/lib/components/navbar/index.d.ts.map +1 -1
- package/lib/components/navbar/index.js +25 -44
- package/lib/components/navbar/index.js.map +1 -1
- package/lib/compute.d.ts +1 -0
- package/lib/compute.d.ts.map +1 -1
- package/lib/compute.js +9 -0
- package/lib/compute.js.map +1 -1
- package/lib/hooks/useHeaderScrolled.d.ts +3 -0
- package/lib/hooks/useHeaderScrolled.d.ts.map +1 -0
- package/lib/hooks/useHeaderScrolled.js +23 -0
- package/lib/hooks/useHeaderScrolled.js.map +1 -0
- package/lib/hooks/useHeroHeaderAtTop.d.ts +7 -0
- package/lib/hooks/useHeroHeaderAtTop.d.ts.map +1 -0
- package/lib/hooks/useHeroHeaderAtTop.js +32 -0
- package/lib/hooks/useHeroHeaderAtTop.js.map +1 -0
- package/lib/hooks/usePrefersReducedMotion.d.ts +6 -0
- package/lib/hooks/usePrefersReducedMotion.d.ts.map +1 -0
- package/lib/hooks/usePrefersReducedMotion.js +20 -0
- package/lib/hooks/usePrefersReducedMotion.js.map +1 -0
- package/lib/pages/About/index.d.ts +2 -1
- package/lib/pages/About/index.d.ts.map +1 -1
- package/lib/pages/About/index.js +29 -43
- package/lib/pages/About/index.js.map +1 -1
- package/lib/pages/Blog/index.d.ts +2 -1
- package/lib/pages/Blog/index.d.ts.map +1 -1
- package/lib/pages/Blog/index.js +12 -5
- package/lib/pages/Blog/index.js.map +1 -1
- package/lib/pages/BlogPost/index.d.ts +2 -1
- package/lib/pages/BlogPost/index.d.ts.map +1 -1
- package/lib/pages/Careers/index.d.ts +2 -1
- package/lib/pages/Careers/index.d.ts.map +1 -1
- package/lib/pages/CategoryCollection/index.d.ts.map +1 -1
- package/lib/pages/CategoryCollection/index.js +8 -4
- package/lib/pages/CategoryCollection/index.js.map +1 -1
- package/lib/pages/Community/index.d.ts +2 -1
- package/lib/pages/Community/index.d.ts.map +1 -1
- package/lib/pages/Contact/index.d.ts +2 -1
- package/lib/pages/Contact/index.d.ts.map +1 -1
- package/lib/pages/Feedback/index.d.ts +2 -1
- package/lib/pages/Feedback/index.d.ts.map +1 -1
- package/lib/pages/GetStarted/components/GetStartedHero.d.ts.map +1 -1
- package/lib/pages/GetStarted/index.d.ts +2 -1
- package/lib/pages/GetStarted/index.d.ts.map +1 -1
- package/lib/pages/GetStarted/index.js +100 -124
- package/lib/pages/GetStarted/index.js.map +1 -1
- package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts +1 -0
- package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts.map +1 -1
- package/lib/pages/HelpCenter/components/HelpCategoryCard.js +10 -3
- package/lib/pages/HelpCenter/components/HelpCategoryCard.js.map +1 -1
- package/lib/pages/HelpCenter/components/Icons.d.ts +28 -28
- package/lib/pages/HelpCenter/components/PopularArticle.d.ts.map +1 -1
- package/lib/pages/HelpCenter/components/PopularArticle.js +4 -1
- 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 +51 -89
- package/lib/pages/HelpCenter/index.js.map +1 -1
- package/lib/pages/LandingPage/LandingPageStyles.d.ts +7 -0
- package/lib/pages/LandingPage/LandingPageStyles.d.ts.map +1 -0
- package/lib/pages/LandingPage/LandingPageStyles.js +5 -0
- package/lib/pages/LandingPage/LandingPageStyles.js.map +1 -0
- package/lib/pages/LandingPage/components/ArticleCard.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/ArticleCard.js +4 -1
- package/lib/pages/LandingPage/components/ArticleCard.js.map +1 -1
- package/lib/pages/LandingPage/components/CategoriesSection.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/CategoriesSection.js +15 -30
- package/lib/pages/LandingPage/components/CategoriesSection.js.map +1 -1
- package/lib/pages/LandingPage/components/CategoryCard.d.ts +1 -0
- package/lib/pages/LandingPage/components/CategoryCard.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/CategoryCard.js +5 -1
- package/lib/pages/LandingPage/components/CategoryCard.js.map +1 -1
- package/lib/pages/LandingPage/components/FeaturedSection.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/FeaturedSection.js +14 -27
- package/lib/pages/LandingPage/components/FeaturedSection.js.map +1 -1
- package/lib/pages/LandingPage/components/HeroAnimatedBackground.d.ts +4 -0
- package/lib/pages/LandingPage/components/HeroAnimatedBackground.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/HeroAnimatedBackground.js +16 -0
- package/lib/pages/LandingPage/components/HeroAnimatedBackground.js.map +1 -0
- package/lib/pages/LandingPage/components/HeroFluidCanvas.d.ts +8 -0
- package/lib/pages/LandingPage/components/HeroFluidCanvas.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/HeroFluidCanvas.js +433 -0
- package/lib/pages/LandingPage/components/HeroFluidCanvas.js.map +1 -0
- package/lib/pages/LandingPage/components/HeroSection.d.ts +3 -2
- package/lib/pages/LandingPage/components/HeroSection.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/HeroSection.js +27 -20
- package/lib/pages/LandingPage/components/HeroSection.js.map +1 -1
- package/lib/pages/LandingPage/components/ResourceCard.d.ts +1 -0
- package/lib/pages/LandingPage/components/ResourceCard.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/ResourceCard.js +5 -1
- package/lib/pages/LandingPage/components/ResourceCard.js.map +1 -1
- package/lib/pages/LandingPage/components/ResourcesSection.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/ResourcesSection.js +15 -27
- package/lib/pages/LandingPage/components/ResourcesSection.js.map +1 -1
- package/lib/pages/LandingPage/index.d.ts +2 -1
- package/lib/pages/LandingPage/index.d.ts.map +1 -1
- package/lib/pages/LandingPage/index.js +4 -3
- package/lib/pages/LandingPage/index.js.map +1 -1
- package/lib/pages/Markdown/MarkdownAuroraCanvas.d.ts +12 -0
- package/lib/pages/Markdown/MarkdownAuroraCanvas.d.ts.map +1 -0
- package/lib/pages/Markdown/MarkdownAuroraCanvas.js +508 -0
- package/lib/pages/Markdown/MarkdownAuroraCanvas.js.map +1 -0
- package/lib/pages/Markdown/MarkdownPageLayout.d.ts.map +1 -1
- package/lib/pages/Markdown/MarkdownPageLayout.js +319 -102
- package/lib/pages/Markdown/MarkdownPageLayout.js.map +1 -1
- package/lib/pages/Markdown/MarkdownPageStyles.d.ts +14 -0
- package/lib/pages/Markdown/MarkdownPageStyles.d.ts.map +1 -0
- package/lib/pages/Markdown/MarkdownPageStyles.js +369 -0
- package/lib/pages/Markdown/MarkdownPageStyles.js.map +1 -0
- package/lib/pages/Markdown/MarkdownPageWithParams.d.ts.map +1 -1
- package/lib/pages/Markdown/MarkdownPageWithParams.js +2 -1
- package/lib/pages/Markdown/MarkdownPageWithParams.js.map +1 -1
- package/lib/pages/Markdown/index.d.ts +1 -1
- package/lib/pages/Markdown/index.d.ts.map +1 -1
- package/lib/pages/Privacy/index.d.ts +2 -1
- package/lib/pages/Privacy/index.d.ts.map +1 -1
- package/lib/pages/Privacy/index.js +40 -9
- package/lib/pages/Privacy/index.js.map +1 -1
- package/lib/pages/ReleaseNotes/index.d.ts +2 -1
- package/lib/pages/ReleaseNotes/index.d.ts.map +1 -1
- package/lib/pages/SmsTerms/index.d.ts +11 -0
- package/lib/pages/SmsTerms/index.d.ts.map +1 -0
- package/lib/pages/SmsTerms/index.js +376 -0
- package/lib/pages/SmsTerms/index.js.map +1 -0
- package/lib/pages/StatusPage/index.d.ts +2 -1
- package/lib/pages/StatusPage/index.d.ts.map +1 -1
- package/lib/pages/Terms/index.d.ts +8 -1
- package/lib/pages/Terms/index.d.ts.map +1 -1
- package/lib/pages/Terms/index.js +394 -43
- package/lib/pages/Terms/index.js.map +1 -1
- package/lib/routes.json +11 -0
- package/lib/slot-fill/FooterFill.d.ts +2 -1
- package/lib/slot-fill/FooterFill.d.ts.map +1 -1
- package/lib/slot-fill/HeaderSearchButtonFill.d.ts +2 -1
- package/lib/slot-fill/HeaderSearchButtonFill.d.ts.map +1 -1
- package/lib/slot-fill/LogoFill.d.ts +1 -1
- package/lib/slot-fill/LogoFill.d.ts.map +1 -1
- package/lib/slot-fill/RightContentFill.d.ts +2 -1
- package/lib/slot-fill/RightContentFill.d.ts.map +1 -1
- package/lib/slot-fill/SearchBarFill.d.ts +3 -2
- package/lib/slot-fill/SearchBarFill.d.ts.map +1 -1
- package/lib/utils/markdownLoader.d.ts.map +1 -1
- package/lib/utils/markdownLoader.js +32 -42
- package/lib/utils/markdownLoader.js.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpCenterFooter.d.ts","sourceRoot":"","sources":["../../src/components/HelpCenterFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HelpCenterFooter.d.ts","sourceRoot":"","sources":["../../src/components/HelpCenterFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA+BxC,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAuLpC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {jsxs,jsx}from'react/jsx-runtime';import {useState}from'react';import {Link}from'@remix-run/react';import {useTheme}from'@admin-layout/tailwind-ui';import {Logo}from'./Logo.js';import {browserYantraRoutes}from'../compute.js';import {Icons}from'./Icons.js'
|
|
2
|
-
function FooterThemeToggle() {
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';import {useState}from'react';import {Link}from'@remix-run/react';import {useTheme}from'@admin-layout/tailwind-ui';import {Logo}from'./Logo.js';import {browserYantraRoutes}from'../compute.js';import {Icons}from'./Icons.js';import {HeroFluidCanvas}from'../pages/LandingPage/components/HeroFluidCanvas.js';import {usePrefersReducedMotion}from'../hooks/usePrefersReducedMotion.js';function FooterThemeToggle() {
|
|
3
2
|
const {
|
|
4
3
|
mode,
|
|
5
4
|
setMode
|
|
@@ -13,7 +12,7 @@ function FooterThemeToggle() {
|
|
|
13
12
|
onClick: handleToggle,
|
|
14
13
|
"aria-label": isDark ? 'Switch to light mode' : 'Switch to dark mode',
|
|
15
14
|
title: isDark ? 'Switch to light mode' : 'Switch to dark mode',
|
|
16
|
-
className: "inline-flex h-9 items-center gap-2 rounded-themed border border-
|
|
15
|
+
className: "inline-flex h-9 items-center gap-2 rounded-themed border border-white/20 bg-white/10 px-3 text-sm text-white/90 shadow-themed-sm backdrop-blur-sm transition-all hover:bg-white/15 focus-themed",
|
|
17
16
|
children: [isDark ? jsx(Icons.MdBrightness5Icon, {
|
|
18
17
|
className: "h-4 w-4"
|
|
19
18
|
}) : jsx(Icons.MdBrightness2Icon, {
|
|
@@ -23,11 +22,11 @@ function FooterThemeToggle() {
|
|
|
23
22
|
})]
|
|
24
23
|
});
|
|
25
24
|
}
|
|
26
|
-
// main component
|
|
27
25
|
const HelpCenterFooter = () => {
|
|
28
26
|
const currentYear = new Date().getFullYear();
|
|
29
27
|
const [email, setEmail] = useState('');
|
|
30
28
|
const [subscribed, setSubscribed] = useState(false);
|
|
29
|
+
const reducedMotion = usePrefersReducedMotion();
|
|
31
30
|
const handleSubscribe = e => {
|
|
32
31
|
e.preventDefault();
|
|
33
32
|
if (email.trim()) {
|
|
@@ -97,6 +96,9 @@ const HelpCenterFooter = () => {
|
|
|
97
96
|
}, {
|
|
98
97
|
label: 'Terms',
|
|
99
98
|
href: browserYantraRoutes.TERMS
|
|
99
|
+
}, {
|
|
100
|
+
label: 'SMS Terms',
|
|
101
|
+
href: browserYantraRoutes.SMS_TERMS
|
|
100
102
|
}, {
|
|
101
103
|
label: 'Security',
|
|
102
104
|
href: '/help-center/security-compliance'
|
|
@@ -106,119 +108,132 @@ const HelpCenterFooter = () => {
|
|
|
106
108
|
}]
|
|
107
109
|
}];
|
|
108
110
|
return jsxs("footer", {
|
|
109
|
-
className: "border-t border-
|
|
110
|
-
children: [jsx(
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
className: "
|
|
126
|
-
children: [
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
})
|
|
140
|
-
|
|
141
|
-
className: "
|
|
142
|
-
children: "
|
|
111
|
+
className: "relative overflow-hidden border-t border-white/10",
|
|
112
|
+
children: [jsx(HeroFluidCanvas, {
|
|
113
|
+
reducedMotion: reducedMotion
|
|
114
|
+
}), jsx("div", {
|
|
115
|
+
className: "pointer-events-none absolute inset-x-0 top-0 z-[2] h-24",
|
|
116
|
+
style: {
|
|
117
|
+
background: 'linear-gradient(to bottom, hsl(var(--background)), transparent)'
|
|
118
|
+
},
|
|
119
|
+
"aria-hidden": true
|
|
120
|
+
}), jsxs("div", {
|
|
121
|
+
className: "relative z-10",
|
|
122
|
+
children: [jsx("div", {
|
|
123
|
+
className: "border-b border-white/10",
|
|
124
|
+
children: jsx("div", {
|
|
125
|
+
className: "container mx-auto max-w-7xl px-6 py-10 lg:px-16",
|
|
126
|
+
children: jsxs("div", {
|
|
127
|
+
className: "flex flex-col items-center justify-between gap-6 md:flex-row",
|
|
128
|
+
children: [jsxs("div", {
|
|
129
|
+
children: [jsx("h3", {
|
|
130
|
+
className: "text-lg font-bold text-white",
|
|
131
|
+
children: "Stay in the loop"
|
|
132
|
+
}), jsx("p", {
|
|
133
|
+
className: "mt-1 text-sm text-white/70",
|
|
134
|
+
children: "Get product updates, new features, and tips delivered to your inbox."
|
|
135
|
+
})]
|
|
136
|
+
}), subscribed ? jsxs("div", {
|
|
137
|
+
className: "inline-flex items-center gap-2 rounded-themed border border-emerald-400/30 bg-emerald-400/10 px-5 py-3 text-sm font-medium text-emerald-200",
|
|
138
|
+
children: [jsx(Icons.MdCheckIcon, {
|
|
139
|
+
className: "h-4 w-4"
|
|
140
|
+
}), "You\u2019re subscribed."]
|
|
141
|
+
}) : jsxs("form", {
|
|
142
|
+
onSubmit: handleSubscribe,
|
|
143
|
+
className: "flex w-full max-w-md",
|
|
144
|
+
children: [jsx("input", {
|
|
145
|
+
type: "email",
|
|
146
|
+
placeholder: "Enter your email",
|
|
147
|
+
value: email,
|
|
148
|
+
onChange: e => setEmail(e.target.value),
|
|
149
|
+
className: "h-11 flex-1 rounded-l-themed border border-white/20 bg-white/10 px-4 text-sm text-white placeholder:text-white/50 backdrop-blur-sm focus-themed focus:outline-none focus:ring-2 focus:ring-white/25",
|
|
150
|
+
required: true
|
|
151
|
+
}), jsx("button", {
|
|
152
|
+
type: "submit",
|
|
153
|
+
className: "rounded-r-themed border border-l-0 border-white/20 bg-white/90 px-5 text-sm font-semibold text-gray-900 transition-colors hover:bg-white focus-themed",
|
|
154
|
+
children: "Subscribe"
|
|
155
|
+
})]
|
|
143
156
|
})]
|
|
144
|
-
})
|
|
157
|
+
})
|
|
145
158
|
})
|
|
146
|
-
})
|
|
147
|
-
|
|
148
|
-
className: "container mx-auto max-w-7xl px-6 py-14 lg:px-16",
|
|
149
|
-
children: [jsxs("div", {
|
|
150
|
-
className: "grid gap-10 sm:grid-cols-2 lg:grid-cols-6",
|
|
159
|
+
}), jsxs("div", {
|
|
160
|
+
className: "container mx-auto max-w-7xl px-6 py-14 lg:px-16",
|
|
151
161
|
children: [jsxs("div", {
|
|
152
|
-
className: "lg:
|
|
153
|
-
children: [
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}), jsx("div", {
|
|
163
|
-
className: "mt-6 flex items-center gap-2.5",
|
|
164
|
-
children: [{
|
|
165
|
-
name: 'Twitter',
|
|
166
|
-
href: '#'
|
|
167
|
-
}, {
|
|
168
|
-
name: 'GitHub',
|
|
169
|
-
href: '#'
|
|
170
|
-
}, {
|
|
171
|
-
name: 'LinkedIn',
|
|
172
|
-
href: 'https://www.linkedin.com/company/yantra-app'
|
|
173
|
-
}, {
|
|
174
|
-
name: 'YouTube',
|
|
175
|
-
href: '#'
|
|
176
|
-
}].map(social => {
|
|
177
|
-
const SocialIcon = social.name === 'Twitter' ? Icons.FaTwitterIcon : social.name === 'GitHub' ? Icons.FaGithubIcon : social.name === 'LinkedIn' ? Icons.FaLinkedinIcon : Icons.FaYoutubeIcon;
|
|
178
|
-
return jsxs("a", {
|
|
179
|
-
href: social.href,
|
|
180
|
-
target: social.href !== '#' ? '_blank' : undefined,
|
|
181
|
-
rel: social.href !== '#' ? 'noopener noreferrer' : undefined,
|
|
182
|
-
className: "flex h-9 w-9 items-center justify-center rounded-xl border border-border/50 text-muted-foreground transition-all duration-200 hover:border-border hover:text-foreground hover:bg-muted/50 hover:-translate-y-0.5",
|
|
183
|
-
children: [jsx("span", {
|
|
184
|
-
className: "sr-only",
|
|
185
|
-
children: social.name
|
|
186
|
-
}), jsx(SocialIcon, {
|
|
187
|
-
className: "h-4 w-4",
|
|
188
|
-
"aria-hidden": "true"
|
|
189
|
-
})]
|
|
190
|
-
}, social.name);
|
|
191
|
-
})
|
|
192
|
-
})]
|
|
193
|
-
}), footerLinks.map(section => jsxs("div", {
|
|
194
|
-
children: [jsx("h4", {
|
|
195
|
-
className: "text-[11px] font-bold uppercase tracking-[0.15em] text-muted-foreground/60",
|
|
196
|
-
children: section.title
|
|
197
|
-
}), jsx("ul", {
|
|
198
|
-
className: "mt-4 space-y-2.5",
|
|
199
|
-
children: section.links.map(link => jsx("li", {
|
|
200
|
-
children: jsx(Link, {
|
|
201
|
-
to: link.href,
|
|
202
|
-
className: "text-sm text-muted-foreground transition-colors duration-200 hover:text-foreground",
|
|
203
|
-
children: link.label
|
|
162
|
+
className: "grid gap-10 sm:grid-cols-2 lg:grid-cols-6",
|
|
163
|
+
children: [jsxs("div", {
|
|
164
|
+
className: "lg:col-span-2",
|
|
165
|
+
children: [jsx("div", {
|
|
166
|
+
style: {
|
|
167
|
+
justifySelf: 'left',
|
|
168
|
+
display: 'flex'
|
|
169
|
+
},
|
|
170
|
+
children: jsx(Logo, {
|
|
171
|
+
light: true
|
|
204
172
|
})
|
|
205
|
-
},
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
173
|
+
}), jsx("p", {
|
|
174
|
+
className: "mt-2 max-w-xs text-sm leading-relaxed text-white/70",
|
|
175
|
+
children: "AI employees that work alongside your team \u2014 handling tasks, monitoring systems, and escalating intelligently."
|
|
176
|
+
}), jsx("div", {
|
|
177
|
+
className: "mt-6 flex items-center gap-2.5",
|
|
178
|
+
children: [{
|
|
179
|
+
name: 'Twitter',
|
|
180
|
+
href: '#'
|
|
181
|
+
}, {
|
|
182
|
+
name: 'GitHub',
|
|
183
|
+
href: '#'
|
|
184
|
+
}, {
|
|
185
|
+
name: 'LinkedIn',
|
|
186
|
+
href: 'https://www.linkedin.com/company/yantra-app'
|
|
187
|
+
}, {
|
|
188
|
+
name: 'YouTube',
|
|
189
|
+
href: '#'
|
|
190
|
+
}].map(social => {
|
|
191
|
+
const SocialIcon = social.name === 'Twitter' ? Icons.FaTwitterIcon : social.name === 'GitHub' ? Icons.FaGithubIcon : social.name === 'LinkedIn' ? Icons.FaLinkedinIcon : Icons.FaYoutubeIcon;
|
|
192
|
+
return jsxs("a", {
|
|
193
|
+
href: social.href,
|
|
194
|
+
target: social.href !== '#' ? '_blank' : undefined,
|
|
195
|
+
rel: social.href !== '#' ? 'noopener noreferrer' : undefined,
|
|
196
|
+
className: "flex h-9 w-9 items-center justify-center rounded-xl border border-white/15 text-white/60 transition-all duration-200 hover:-translate-y-0.5 hover:border-white/30 hover:bg-white/10 hover:text-white",
|
|
197
|
+
children: [jsx("span", {
|
|
198
|
+
className: "sr-only",
|
|
199
|
+
children: social.name
|
|
200
|
+
}), jsx(SocialIcon, {
|
|
201
|
+
className: "h-4 w-4",
|
|
202
|
+
"aria-hidden": "true"
|
|
203
|
+
})]
|
|
204
|
+
}, social.name);
|
|
205
|
+
})
|
|
206
|
+
})]
|
|
207
|
+
}), footerLinks.map(section => jsxs("div", {
|
|
208
|
+
children: [jsx("h4", {
|
|
209
|
+
className: "text-[11px] font-bold uppercase tracking-[0.15em] text-white/50",
|
|
210
|
+
children: section.title
|
|
211
|
+
}), jsx("ul", {
|
|
212
|
+
className: "mt-4 space-y-2.5",
|
|
213
|
+
children: section.links.map(link => jsx("li", {
|
|
214
|
+
children: jsx(Link, {
|
|
215
|
+
to: link.href,
|
|
216
|
+
className: "text-sm text-white/70 transition-colors duration-200 hover:text-white",
|
|
217
|
+
children: link.label
|
|
218
|
+
})
|
|
219
|
+
}, link.label))
|
|
220
|
+
})]
|
|
221
|
+
}, section.title))]
|
|
213
222
|
}), jsxs("div", {
|
|
214
|
-
className: "flex items-center gap-4",
|
|
223
|
+
className: "mt-14 flex flex-col items-center justify-between gap-4 border-t border-white/10 pt-8 sm:flex-row",
|
|
215
224
|
children: [jsxs("p", {
|
|
216
|
-
className: "text-[12px] text-
|
|
217
|
-
children: ["
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
225
|
+
className: "text-[12px] text-white/50",
|
|
226
|
+
children: ["\u00A9 ", currentYear, " Yantra Inc. All rights reserved."]
|
|
227
|
+
}), jsxs("div", {
|
|
228
|
+
className: "flex items-center gap-4",
|
|
229
|
+
children: [jsxs("p", {
|
|
230
|
+
className: "text-[12px] text-white/50",
|
|
231
|
+
children: ["Built with ", jsx("span", {
|
|
232
|
+
className: "text-red-400",
|
|
233
|
+
children: "\u2665"
|
|
234
|
+
}), " for teams that ship fast"]
|
|
235
|
+
}), jsx(FooterThemeToggle, {})]
|
|
236
|
+
})]
|
|
222
237
|
})]
|
|
223
238
|
})]
|
|
224
239
|
})]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpCenterFooter.js","sources":["../../src/components/HelpCenterFooter.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"HelpCenterFooter.js","sources":["../../src/components/HelpCenterFooter.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"kaASA,SAAS,iBAAiB,GAAA;QAChB;AACN,IAAA,IAAA;IAEA;cACW,EAAC;AACZ,EAAA,MAAE,MAAA,GAAA,IAAA,KAAA,MAAA;AAEF,EAAA,MAAA,YACI,GAAA,MAAA;AAWR,IAAC,OAAA,CAAA,MAAA,GAAA,OAAA,GAAA,MAAA,CAAA;AAED,GAAA;SACUA,IAAA,CAAA,UAAkB;IACxB,IAAM,EAAA,QAAQ;IACd,OAAO,EAAU,YAAe;AAChC,IAAA,YAAmB,EAAA,MAAA,GAA0B,sBAAA,GAAG,qBAAA;AAEhD,IAAA,KAAA,EAAqB,MAAA,GAAA,sBAA0B,GAAA,qBAAA;aAC3B,EAAA,iMAAG;AACnB,IAAA,QAAI,EAAK,CAAA,MAAK,GAAEC,GAAG,CAAA,KAAA,CAAA,iBAAA,EAAA;eACF,EAAA;YACL,CAAA,KAAA,CAAA,iBAAK,EAAA;eAChB,EAAA;AACL,KAAC,CAAC,EAAAA,GAAA,CAAA,MAAA,EAAA;AAEF,MAAA,gBAAoB,GAAA,OAAA,GAAA;AAChB,KAAA,CAAA;AACI,GAAA,CAAA;AACA;AACI,MAAA,gBAAS,GAAA,MAAA;AACT,EAAA,MAAA,kBAAS,IAAA,EAAA,CAAA,WAAmB,EAAE;AAC9B,EAAA,MAAA,CAAA,KAAA,EAAA,QAAS,CAAA,GAAA,QAAA,CAAA,EAAc;AACvB,EAAA,MAAA,CAAA,yBAAS,CAAU,GAAM;AACzB,EAAA,MAAA,gBAAS;AACZ,EAAA,MAAA,eAAA,GAAA,CAAA,IAAA;AACJ,IAAA,CAAA,CAAA,cAAA,EAAA;AACD,IAAA,IAAA,KAAA,CAAA,IAAA,EAAA,EAAA;AACI,MAAA,aAAO,CAAW,IAAA,CAAA;AAClB,MAAA,QAAA,CAAA,EAAK,CAAE;;AAEH,GAAA;mBACE,GAAA,CAAK;oBACL;;2BAEiB;AACtB,MAAA,IAAA,EAAA;AACJ,KAAA,EAAA;AACD,MAAA,KAAA,EAAA,mBAAA;AACI,MAAA,IAAA,EAAA;AACA,KAAA,EAAA;2BACoB;;;uBAGT;AACV,MAAA,IAAA,EAAA;AACJ,KAAA,EAAA;AACD,MAAA,KAAA,EAAA,SAAA;AACI,MAAA,IAAA,EAAA;AACA,KAAA;;sBAEM;;AAEF,MAAA,KAAA,EAAA,aAAS;AACT,MAAA,IAAA,EAAA,mBAAe;AAClB,KAAA,EAAA;AACJ,MAAA,KAAA,EAAA,eAAA;MACH,IAAA,EAAA;KAEK,EAAA;AA6DyB,MAAA,KAAA,EAAA,aAAA;AACA,MAAA,IAAA,EAAA,mBAAA,CAAA;AACA,KAAA,EAAA;AACA,MAAA,KAAA,EAAA,eAAA;AACH,MAAA,IAAA,EAAA,mBAAA,CAAA;AACG,KAAA,EAAA;;AAGQ,MAAA,IAAA,EAAA,mBAAA,CAAA;;AAEE,MAAA,KAAA,EAAA,UAAA;;AAEE,KAAA;AACZ,GAAA,EAAA;;AAoDpC,IAAE,KAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* Editorial-typographic, light-default, no orbs / shimmer / gradient text.
|
|
3
|
+
* Help Center hero with GPU fluid backdrop (Clockbook pattern).
|
|
5
4
|
*/
|
|
6
5
|
export declare const HelpCenterHeader: React.FC;
|
|
7
6
|
//# sourceMappingURL=HelpCenterHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpCenterHeader.d.ts","sourceRoot":"","sources":["../../src/components/HelpCenterHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HelpCenterHeader.d.ts","sourceRoot":"","sources":["../../src/components/HelpCenterHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EA+CpC,CAAC"}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import {jsx
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';import React__default from'react';import {SearchBar}from'./SearchBar.js';import {HeroAnimatedBackground}from'../pages/LandingPage/components/HeroAnimatedBackground.js';const POPULAR = ['AI Employees', 'Integrations', 'Security', 'Getting started'];
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* Editorial-typographic, light-default, no orbs / shimmer / gradient text.
|
|
3
|
+
* Help Center hero with GPU fluid backdrop (Clockbook pattern).
|
|
5
4
|
*/
|
|
6
5
|
const HelpCenterHeader = () => {
|
|
7
|
-
return
|
|
8
|
-
className: "relative w-full overflow-hidden border-b border-
|
|
9
|
-
children: jsxs("div", {
|
|
10
|
-
className: "relative mx-auto flex max-w-4xl flex-col items-center px-6 pt-24 pb-20 text-center lg:px-16 lg:pt-32",
|
|
6
|
+
return jsxs("header", {
|
|
7
|
+
className: "yh-hero-surface relative -mt-16 w-full overflow-hidden border-b border-white/10",
|
|
8
|
+
children: [jsx(HeroAnimatedBackground, {}), jsxs("div", {
|
|
9
|
+
className: "relative z-10 mx-auto flex max-w-4xl flex-col items-center px-6 pt-24 pb-20 text-center lg:px-16 lg:pt-32",
|
|
11
10
|
children: [jsx("p", {
|
|
12
|
-
className: "mb-5 text-xs font-bold uppercase tracking-[0.2em] text-
|
|
11
|
+
className: "mb-5 text-xs font-bold uppercase tracking-[0.2em] text-white/60",
|
|
13
12
|
children: "Help Center"
|
|
14
13
|
}), jsx("h1", {
|
|
15
|
-
className: "text-balance text-4xl font-bold leading-[1.05] tracking-tight text-
|
|
14
|
+
className: "text-balance text-4xl font-bold leading-[1.05] tracking-tight text-white sm:text-5xl lg:text-6xl",
|
|
16
15
|
children: "Answers, built like the platform."
|
|
17
16
|
}), jsx("p", {
|
|
18
|
-
className: "mt-6 max-w-prose text-base leading-relaxed text-
|
|
17
|
+
className: "mt-6 max-w-prose text-base leading-relaxed text-white/75 sm:text-lg",
|
|
19
18
|
children: "Reference, guides, and operational notes for the Yantra automation platform. No fluff. Search, or pick a topic."
|
|
20
19
|
}), jsx("div", {
|
|
21
20
|
className: "mt-10 w-full max-w-xl",
|
|
@@ -23,15 +22,15 @@ const HelpCenterHeader = () => {
|
|
|
23
22
|
}), jsxs("div", {
|
|
24
23
|
className: "mt-6 flex flex-wrap items-center justify-center gap-x-2 gap-y-1.5 text-sm",
|
|
25
24
|
children: [jsx("span", {
|
|
26
|
-
className: "text-
|
|
25
|
+
className: "text-white/50",
|
|
27
26
|
children: "Popular:"
|
|
28
27
|
}), POPULAR.map((term, i) => jsxs(React__default.Fragment, {
|
|
29
28
|
children: [i > 0 && jsx("span", {
|
|
30
|
-
className: "text-
|
|
29
|
+
className: "text-white/30",
|
|
31
30
|
children: "\u00B7"
|
|
32
31
|
}), jsx("button", {
|
|
33
32
|
type: "button",
|
|
34
|
-
className: "font-medium text-
|
|
33
|
+
className: "font-medium text-white/80 underline-offset-4 transition-colors hover:text-white hover:underline focus-themed rounded-themed",
|
|
35
34
|
onClick: () => {
|
|
36
35
|
window.dispatchEvent(new CustomEvent('helpcenter:search', {
|
|
37
36
|
detail: term
|
|
@@ -41,6 +40,12 @@ const HelpCenterHeader = () => {
|
|
|
41
40
|
})]
|
|
42
41
|
}, term))]
|
|
43
42
|
})]
|
|
44
|
-
})
|
|
43
|
+
}), jsx("div", {
|
|
44
|
+
className: "pointer-events-none absolute inset-x-0 bottom-0 z-[3] h-16",
|
|
45
|
+
style: {
|
|
46
|
+
background: 'linear-gradient(to top, hsl(var(--background)), transparent)'
|
|
47
|
+
},
|
|
48
|
+
"aria-hidden": true
|
|
49
|
+
})]
|
|
45
50
|
});
|
|
46
51
|
};export{HelpCenterHeader};//# sourceMappingURL=HelpCenterHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpCenterHeader.js","sources":["../../src/components/HelpCenterHeader.tsx"],"sourcesContent":[null],"names":["
|
|
1
|
+
{"version":3,"file":"HelpCenterHeader.js","sources":["../../src/components/HelpCenterHeader.tsx"],"sourcesContent":[null],"names":["_jsxs"],"mappings":"iNAIA,MAAM,OAAO,GAAG,CAAC,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,iBAAiB,CAAC;AAE/E;;AAEG;AACI,MAAM,gBAAgB,GAAa,MAAK;SACpCA;AA6ByB,IAAA,SAAA,EAAA,iFAAqC;yCACxC,EAAA,EAAA,CAAA,EAAAA,IAEI,CAAA,KACA,EAVQ;AAuB7C,MAAE,SAAA,EAAA,2GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Hero / docs header overrides. MainHeader adds `border-b` when showMenu is set;
|
|
4
|
+
* strip it on fluid hero pages so the bar sits flush on the canvas (Clockbook).
|
|
5
|
+
*/
|
|
6
|
+
export declare const HeroHeaderScrollStyles: React.FC;
|
|
7
|
+
//# sourceMappingURL=HeroHeaderScrollStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeroHeaderScrollStyles.d.ts","sourceRoot":"","sources":["../../src/components/HeroHeaderScrollStyles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAoB1C,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {jsx}from'react/jsx-runtime';/**
|
|
2
|
+
* Hero / docs header overrides. MainHeader adds `border-b` when showMenu is set;
|
|
3
|
+
* strip it on fluid hero pages so the bar sits flush on the canvas (Clockbook).
|
|
4
|
+
*/
|
|
5
|
+
const HeroHeaderScrollStyles = () => jsx("style", {
|
|
6
|
+
// eslint-disable-next-line react/no-danger
|
|
7
|
+
dangerouslySetInnerHTML: {
|
|
8
|
+
__html: `
|
|
9
|
+
body.yh-has-hero-header div.top-0.z-\\[100\\] {
|
|
10
|
+
border-bottom: none !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
body.yh-has-hero-header:not(.yh-header-at-top) div.top-0.z-\\[100\\] {
|
|
14
|
+
position: fixed !important;
|
|
15
|
+
background: hsl(var(--card)) !important;
|
|
16
|
+
color: hsl(var(--card-foreground)) !important;
|
|
17
|
+
backdrop-filter: none !important;
|
|
18
|
+
-webkit-backdrop-filter: none !important;
|
|
19
|
+
box-shadow: 0 8px 40px -20px rgba(0, 0, 0, 0.25);
|
|
20
|
+
}
|
|
21
|
+
`
|
|
22
|
+
}
|
|
23
|
+
});export{HeroHeaderScrollStyles};//# sourceMappingURL=HeroHeaderScrollStyles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeroHeaderScrollStyles.js","sources":["../../src/components/HeroHeaderScrollStyles.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"oCAEA;;;AAGG;AACU,MAAA,sBAAsB,GAAa,MAAMA,GAClD,CAAA,OAAA,EAAA;;AAEI,EAAA,uBAAA,EAAuB;AACnB,IAAA,MAAA,EAAA;;;;;;;;;;;;;AAaX;AACQ;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const Icons: {
|
|
3
|
-
GettingStarted: (props: React.SVGProps<SVGSVGElement>) =>
|
|
4
|
-
AccountManagement: (props: React.SVGProps<SVGSVGElement>) =>
|
|
5
|
-
Billing: (props: React.SVGProps<SVGSVGElement>) =>
|
|
6
|
-
ProductFeatures: (props: React.SVGProps<SVGSVGElement>) =>
|
|
7
|
-
Troubleshooting: (props: React.SVGProps<SVGSVGElement>) =>
|
|
8
|
-
Api: (props: React.SVGProps<SVGSVGElement>) =>
|
|
9
|
-
Security: (props: React.SVGProps<SVGSVGElement>) =>
|
|
10
|
-
Feedback: (props: React.SVGProps<SVGSVGElement>) =>
|
|
11
|
-
Contact: (props: React.SVGProps<SVGSVGElement>) =>
|
|
3
|
+
GettingStarted: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
4
|
+
AccountManagement: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
5
|
+
Billing: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
6
|
+
ProductFeatures: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
7
|
+
Troubleshooting: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
8
|
+
Api: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
9
|
+
Security: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
10
|
+
Feedback: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
11
|
+
Contact: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
12
12
|
StripeIcon: import("@react-icons/all-files/lib").IconType;
|
|
13
13
|
ShopifyIcon: import("@react-icons/all-files/lib").IconType;
|
|
14
14
|
NotionIcon: import("@react-icons/all-files/lib").IconType;
|
package/lib/components/Logo.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAiJxE,CAAC"}
|