@adminide-stack/yantra-help-browser 12.0.16-alpha.21 → 12.0.16-alpha.24
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 +226 -93
- package/lib/components/HelpCenterFooter.js.map +1 -1
- package/lib/components/HelpCenterHeader.d.ts.map +1 -1
- package/lib/components/HelpCenterHeader.js +111 -50
- package/lib/components/HelpCenterHeader.js.map +1 -1
- package/lib/components/SearchBar.d.ts.map +1 -1
- package/lib/components/SearchBar.js +136 -72
- package/lib/components/SearchBar.js.map +1 -1
- package/lib/components/navbar/index.d.ts.map +1 -1
- package/lib/components/navbar/index.js +27 -27
- package/lib/components/navbar/index.js.map +1 -1
- package/lib/pages/CategoryCollection/index.d.ts.map +1 -1
- package/lib/pages/CategoryCollection/index.js +146 -71
- package/lib/pages/CategoryCollection/index.js.map +1 -1
- package/lib/pages/GetStarted/components/ExampleCard.d.ts.map +1 -1
- package/lib/pages/GetStarted/components/GetStartedHero.d.ts.map +1 -1
- package/lib/pages/GetStarted/components/InfoSection.d.ts.map +1 -1
- package/lib/pages/GetStarted/components/TipCard.d.ts.map +1 -1
- package/lib/pages/GetStarted/components/UseCase.d.ts.map +1 -1
- package/lib/pages/GetStarted/index.d.ts.map +1 -1
- package/lib/pages/GetStarted/index.js +358 -702
- package/lib/pages/GetStarted/index.js.map +1 -1
- package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts.map +1 -1
- package/lib/pages/HelpCenter/components/HelpCategoryCard.js +111 -83
- package/lib/pages/HelpCenter/components/HelpCategoryCard.js.map +1 -1
- package/lib/pages/HelpCenter/components/Icons.d.ts.map +1 -1
- package/lib/pages/HelpCenter/components/Icons.js +182 -132
- package/lib/pages/HelpCenter/components/Icons.js.map +1 -1
- package/lib/pages/HelpCenter/components/PopularArticle.d.ts +3 -0
- package/lib/pages/HelpCenter/components/PopularArticle.d.ts.map +1 -1
- package/lib/pages/HelpCenter/components/PopularArticle.js +21 -21
- 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 +286 -79
- package/lib/pages/HelpCenter/index.js.map +1 -1
- package/lib/pages/HelpCenter/mockData.d.ts +16 -0
- package/lib/pages/HelpCenter/mockData.d.ts.map +1 -1
- package/lib/pages/HelpCenter/mockData.js +71 -8
- package/lib/pages/HelpCenter/mockData.js.map +1 -1
- package/lib/pages/LandingPage/components/ArticleCard.d.ts +2 -2
- package/lib/pages/LandingPage/components/ArticleCard.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/ArticleCard.js +40 -20
- package/lib/pages/LandingPage/components/ArticleCard.js.map +1 -1
- package/lib/pages/LandingPage/components/Assets.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/CategoriesSection.d.ts +2 -1
- package/lib/pages/LandingPage/components/CategoriesSection.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/CategoriesSection.js +33 -23
- package/lib/pages/LandingPage/components/CategoriesSection.js.map +1 -1
- package/lib/pages/LandingPage/components/CategoryCard.d.ts +1 -1
- package/lib/pages/LandingPage/components/CategoryCard.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/CategoryCard.js +44 -13
- package/lib/pages/LandingPage/components/CategoryCard.js.map +1 -1
- package/lib/pages/LandingPage/components/FeaturedSection.d.ts +2 -1
- package/lib/pages/LandingPage/components/FeaturedSection.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/FeaturedSection.js +24 -9
- package/lib/pages/LandingPage/components/FeaturedSection.js.map +1 -1
- package/lib/pages/LandingPage/components/HeroSection.d.ts +1 -6
- package/lib/pages/LandingPage/components/HeroSection.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/HeroSection.js +113 -37
- package/lib/pages/LandingPage/components/HeroSection.js.map +1 -1
- package/lib/pages/LandingPage/components/Icons.d.ts +0 -1
- package/lib/pages/LandingPage/components/Icons.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/Icons.js +23 -48
- package/lib/pages/LandingPage/components/Icons.js.map +1 -1
- package/lib/pages/LandingPage/components/ResourceCard.d.ts +1 -1
- package/lib/pages/LandingPage/components/ResourceCard.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/ResourceCard.js +33 -19
- package/lib/pages/LandingPage/components/ResourceCard.js.map +1 -1
- package/lib/pages/LandingPage/components/ResourcesSection.d.ts +2 -2
- package/lib/pages/LandingPage/components/ResourcesSection.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/ResourcesSection.js +28 -14
- package/lib/pages/LandingPage/components/ResourcesSection.js.map +1 -1
- package/lib/pages/LandingPage/index.d.ts.map +1 -1
- package/lib/pages/LandingPage/index.js +160 -125
- package/lib/pages/LandingPage/index.js.map +1 -1
- package/lib/pages/Markdown/MarkdownPageLayout.js +3 -3
- package/package.json +2 -2
- package/lib/pages/LandingPage/components/Assets.js +0 -14
- package/lib/pages/LandingPage/components/Assets.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface ArticleCardProps {
|
|
3
|
+
index: number;
|
|
3
4
|
title: string;
|
|
4
5
|
description: string;
|
|
5
|
-
|
|
6
|
-
className?: string;
|
|
6
|
+
readTime?: string;
|
|
7
7
|
onClick?: () => void;
|
|
8
8
|
}
|
|
9
9
|
export declare const ArticleCard: React.FC<ArticleCardProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArticleCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/ArticleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ArticleCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/ArticleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,gBAAgB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAID,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8ClD,CAAC"}
|
|
@@ -1,29 +1,49 @@
|
|
|
1
|
-
import {jsxs,jsx}from'react/jsx-runtime';
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';const RANK_COLORS = ['from-amber-400 to-orange-500', 'from-slate-300 to-slate-400', 'from-amber-600 to-amber-700'];
|
|
2
|
+
const ArticleCard = ({
|
|
3
|
+
index,
|
|
2
4
|
title,
|
|
3
5
|
description,
|
|
4
|
-
|
|
5
|
-
className,
|
|
6
|
+
readTime,
|
|
6
7
|
onClick
|
|
7
8
|
}) => {
|
|
9
|
+
const gradient = RANK_COLORS[index - 1] || 'from-muted-foreground/60 to-muted-foreground/40';
|
|
8
10
|
return jsxs("div", {
|
|
9
|
-
className:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}),
|
|
14
|
-
className: "
|
|
15
|
-
children:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
className: "ml-1 transition-transform duration-200 group-hover:translate-x-1",
|
|
24
|
-
children: "\u2192"
|
|
11
|
+
className: "group relative cursor-pointer overflow-hidden rounded-2xl border border-border/60 bg-card p-6 transition-all duration-300 hover:-translate-y-1 hover:border-amber-500/30 hover:shadow-lg hover:shadow-amber-500/[0.04]",
|
|
12
|
+
onClick: onClick,
|
|
13
|
+
children: [jsx("div", {
|
|
14
|
+
className: "absolute left-0 right-0 top-0 h-[2px] bg-gradient-to-r from-transparent via-amber-500/40 to-transparent opacity-0 transition-opacity duration-300 group-hover:opacity-100"
|
|
15
|
+
}), jsxs("div", {
|
|
16
|
+
className: "relative z-10",
|
|
17
|
+
children: [jsxs("div", {
|
|
18
|
+
className: "mb-4 flex items-center justify-between",
|
|
19
|
+
children: [jsx("div", {
|
|
20
|
+
className: `flex h-8 w-8 items-center justify-center rounded-lg bg-gradient-to-br ${gradient} text-[12px] font-bold text-white shadow-sm`,
|
|
21
|
+
children: index
|
|
22
|
+
}), readTime && jsx("span", {
|
|
23
|
+
className: "rounded-full bg-muted px-2.5 py-0.5 text-[11px] font-medium text-muted-foreground",
|
|
24
|
+
children: readTime
|
|
25
25
|
})]
|
|
26
|
-
})
|
|
26
|
+
}), jsx("h3", {
|
|
27
|
+
className: "mb-2 text-[15px] font-semibold leading-snug text-foreground transition-colors group-hover:text-amber-500",
|
|
28
|
+
children: title
|
|
29
|
+
}), jsx("p", {
|
|
30
|
+
className: "text-[13px] leading-relaxed text-muted-foreground",
|
|
31
|
+
children: description
|
|
32
|
+
}), jsxs("div", {
|
|
33
|
+
className: "mt-4 flex items-center gap-1 text-[13px] font-medium text-amber-500 opacity-0 transition-all duration-300 group-hover:opacity-100",
|
|
34
|
+
children: ["Read article", ' ', jsx("svg", {
|
|
35
|
+
className: "h-3.5 w-3.5 transition-transform group-hover:translate-x-1",
|
|
36
|
+
fill: "none",
|
|
37
|
+
stroke: "currentColor",
|
|
38
|
+
viewBox: "0 0 24 24",
|
|
39
|
+
children: jsx("path", {
|
|
40
|
+
strokeLinecap: "round",
|
|
41
|
+
strokeLinejoin: "round",
|
|
42
|
+
strokeWidth: 2,
|
|
43
|
+
d: "M17 8l4 4m0 0l-4 4m4-4H3"
|
|
44
|
+
})
|
|
45
|
+
})]
|
|
46
|
+
})]
|
|
27
47
|
})]
|
|
28
48
|
});
|
|
29
49
|
};export{ArticleCard};//# sourceMappingURL=ArticleCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArticleCard.js","sources":["../../../../src/pages/LandingPage/components/ArticleCard.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ArticleCard.js","sources":["../../../../src/pages/LandingPage/components/ArticleCard.tsx"],"sourcesContent":[null],"names":[],"mappings":"yCAUA,MAAM,WAAW,GAAG,CAAC,8BAA8B,EAAE,6BAA6B,EAAE,6BAA6B,CAAC;AAErG,MAAA,WAAW,GAA+B,CAAC;OAC9C;OAEC;AA2CX,EAAE,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Assets.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/Assets.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Assets.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/Assets.tsx"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAKlB,CAAC"}
|
|
@@ -5,11 +5,12 @@ interface Category {
|
|
|
5
5
|
description: string;
|
|
6
6
|
icon?: React.ReactNode;
|
|
7
7
|
href: string;
|
|
8
|
+
badge?: string;
|
|
8
9
|
}
|
|
9
10
|
interface CategoriesSectionProps {
|
|
10
11
|
title: string;
|
|
11
12
|
categories: Category[];
|
|
12
|
-
onCategoryClick?: (
|
|
13
|
+
onCategoryClick?: (href: string) => void;
|
|
13
14
|
}
|
|
14
15
|
export declare const CategoriesSection: React.FC<CategoriesSectionProps>;
|
|
15
16
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoriesSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/CategoriesSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CategoriesSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/CategoriesSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,QAAQ;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,sBAAsB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAiC9D,CAAC"}
|
|
@@ -1,31 +1,41 @@
|
|
|
1
|
-
import {jsxs
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import {CategoryCard}from'./CategoryCard.js';const CategoriesSection = ({
|
|
2
2
|
title,
|
|
3
3
|
categories,
|
|
4
4
|
onCategoryClick
|
|
5
5
|
}) => {
|
|
6
|
-
return
|
|
7
|
-
className: "
|
|
8
|
-
children:
|
|
9
|
-
className: "
|
|
10
|
-
children: jsx("
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
6
|
+
return jsx("section", {
|
|
7
|
+
className: "py-16",
|
|
8
|
+
children: jsxs("div", {
|
|
9
|
+
className: "container mx-auto max-w-7xl px-6 lg:px-16",
|
|
10
|
+
children: [jsx("div", {
|
|
11
|
+
className: "mb-10 flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between",
|
|
12
|
+
children: jsxs("div", {
|
|
13
|
+
children: [jsxs("div", {
|
|
14
|
+
className: "mb-2 flex items-center gap-2",
|
|
15
|
+
children: [jsx("div", {
|
|
16
|
+
className: "h-1 w-8 rounded-full bg-gradient-to-r from-cyan-500 to-blue-500"
|
|
17
|
+
}), jsx("span", {
|
|
18
|
+
className: "text-[11px] font-bold uppercase tracking-[0.15em] text-cyan-500",
|
|
19
|
+
children: "Browse"
|
|
20
|
+
})]
|
|
21
|
+
}), jsx("h2", {
|
|
22
|
+
className: "text-2xl font-extrabold tracking-tight text-foreground lg:text-3xl",
|
|
23
|
+
children: title
|
|
24
|
+
}), jsx("p", {
|
|
25
|
+
className: "mt-1.5 text-sm text-muted-foreground",
|
|
26
|
+
children: "Jump into the topic that matters most to you"
|
|
27
|
+
})]
|
|
28
|
+
})
|
|
20
29
|
}), jsx("div", {
|
|
21
|
-
className: "grid grid-cols-1 gap-
|
|
22
|
-
children: categories.map(
|
|
23
|
-
title:
|
|
24
|
-
description:
|
|
25
|
-
icon:
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
31
|
+
children: categories.map(cat => jsx(CategoryCard, {
|
|
32
|
+
title: cat.title,
|
|
33
|
+
description: cat.description,
|
|
34
|
+
icon: cat.icon,
|
|
35
|
+
badge: cat.badge,
|
|
36
|
+
onClick: () => onCategoryClick?.(cat.href)
|
|
37
|
+
}, cat.id))
|
|
28
38
|
})]
|
|
29
|
-
})
|
|
39
|
+
})
|
|
30
40
|
});
|
|
31
41
|
};export{CategoriesSection};//# sourceMappingURL=CategoriesSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoriesSection.js","sources":["../../../../src/pages/LandingPage/components/CategoriesSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CategoriesSection.js","sources":["../../../../src/pages/LandingPage/components/CategoriesSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"sFAkBO,MAAM,iBAAiB,GAAqC,CAAC;OACzD;AAgCX,EAAE,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/CategoryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CategoryCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/CategoryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,iBAAiB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAOD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAkDpD,CAAC"}
|
|
@@ -1,24 +1,55 @@
|
|
|
1
|
-
import {jsxs,jsx}from'react/jsx-runtime';
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';const BADGE_COLORS = {
|
|
2
|
+
Popular: 'border-amber-500/30 bg-amber-500/10 text-amber-400',
|
|
3
|
+
New: 'border-emerald-500/30 bg-emerald-500/10 text-emerald-400'
|
|
4
|
+
};
|
|
5
|
+
const CategoryCard = ({
|
|
2
6
|
title,
|
|
3
7
|
description,
|
|
4
8
|
icon,
|
|
5
|
-
|
|
9
|
+
badge,
|
|
6
10
|
onClick
|
|
7
11
|
}) => {
|
|
8
12
|
return jsxs("div", {
|
|
9
|
-
className:
|
|
13
|
+
className: "group relative cursor-pointer overflow-hidden rounded-2xl border border-border/60 bg-card p-6 transition-all duration-300 hover:-translate-y-1 hover:border-cyan-500/30 hover:shadow-lg hover:shadow-cyan-500/[0.04]",
|
|
10
14
|
onClick: onClick,
|
|
11
|
-
children: [
|
|
12
|
-
className: "
|
|
13
|
-
|
|
15
|
+
children: [jsx("div", {
|
|
16
|
+
className: "pointer-events-none absolute inset-0 rounded-2xl opacity-0 transition-opacity duration-500 group-hover:opacity-100",
|
|
17
|
+
style: {
|
|
18
|
+
background: 'radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(6,182,212,0.04), transparent 40%)'
|
|
19
|
+
}
|
|
20
|
+
}), jsx("div", {
|
|
21
|
+
className: "absolute left-0 right-0 top-0 h-[2px] bg-gradient-to-r from-transparent via-cyan-500/40 to-transparent opacity-0 transition-opacity duration-300 group-hover:opacity-100"
|
|
14
22
|
}), jsxs("div", {
|
|
15
|
-
className: "flex
|
|
16
|
-
children: [jsx("
|
|
17
|
-
className: "
|
|
18
|
-
children:
|
|
19
|
-
}),
|
|
20
|
-
className: "
|
|
21
|
-
children:
|
|
23
|
+
className: "relative z-10 flex items-start gap-4",
|
|
24
|
+
children: [icon && jsx("div", {
|
|
25
|
+
className: "flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-cyan-500/10 to-blue-500/10 text-cyan-500 transition-all duration-300 group-hover:from-cyan-500/20 group-hover:to-blue-500/20 group-hover:shadow-md group-hover:shadow-cyan-500/10",
|
|
26
|
+
children: icon
|
|
27
|
+
}), jsxs("div", {
|
|
28
|
+
className: "flex-1 min-w-0",
|
|
29
|
+
children: [jsxs("div", {
|
|
30
|
+
className: "flex items-center gap-2",
|
|
31
|
+
children: [jsx("h3", {
|
|
32
|
+
className: "text-[15px] font-semibold text-foreground transition-colors group-hover:text-cyan-500",
|
|
33
|
+
children: title
|
|
34
|
+
}), badge && jsx("span", {
|
|
35
|
+
className: `inline-flex rounded-full border px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wider ${BADGE_COLORS[badge] || 'border-border text-muted-foreground'}`,
|
|
36
|
+
children: badge
|
|
37
|
+
})]
|
|
38
|
+
}), jsx("p", {
|
|
39
|
+
className: "mt-1.5 text-[13px] leading-relaxed text-muted-foreground",
|
|
40
|
+
children: description
|
|
41
|
+
})]
|
|
42
|
+
}), jsx("svg", {
|
|
43
|
+
className: "mt-1 h-4 w-4 shrink-0 text-muted-foreground/40 transition-all duration-300 group-hover:translate-x-0.5 group-hover:text-cyan-500",
|
|
44
|
+
fill: "none",
|
|
45
|
+
stroke: "currentColor",
|
|
46
|
+
viewBox: "0 0 24 24",
|
|
47
|
+
children: jsx("path", {
|
|
48
|
+
strokeLinecap: "round",
|
|
49
|
+
strokeLinejoin: "round",
|
|
50
|
+
strokeWidth: 2,
|
|
51
|
+
d: "M9 5l7 7-7 7"
|
|
52
|
+
})
|
|
22
53
|
})]
|
|
23
54
|
})]
|
|
24
55
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryCard.js","sources":["../../../../src/pages/LandingPage/components/CategoryCard.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CategoryCard.js","sources":["../../../../src/pages/LandingPage/components/CategoryCard.tsx"],"sourcesContent":[null],"names":[],"mappings":"yCAUA,MAAM,YAAY,GAA2B;AACzC,EAAA,OAAA,EAAO,oDAAsD;AAC7D,EAAA,GAAA,EAAG;CACN;AAEY,MAAA,YAAY,GAAgC,CAAC;AACtD,EAAA,KAAA;AASgB,EAAA,WAAA;;AAwCpB,EAAE,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,11 +4,12 @@ interface Article {
|
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
6
6
|
href: string;
|
|
7
|
+
readTime?: string;
|
|
7
8
|
}
|
|
8
9
|
interface FeaturedSectionProps {
|
|
9
10
|
title: string;
|
|
10
11
|
articles: Article[];
|
|
11
|
-
onArticleClick?: (
|
|
12
|
+
onArticleClick?: (href: string) => void;
|
|
12
13
|
}
|
|
13
14
|
export declare const FeaturedSection: React.FC<FeaturedSectionProps>;
|
|
14
15
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturedSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/FeaturedSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,OAAO;
|
|
1
|
+
{"version":3,"file":"FeaturedSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/FeaturedSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,OAAO;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,oBAAoB;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA+B1D,CAAC"}
|
|
@@ -4,19 +4,34 @@ import {jsx,jsxs}from'react/jsx-runtime';import {ArticleCard}from'./ArticleCard.
|
|
|
4
4
|
onArticleClick
|
|
5
5
|
}) => {
|
|
6
6
|
return jsx("section", {
|
|
7
|
-
className: "border-
|
|
7
|
+
className: "border-t border-border/30 py-16",
|
|
8
8
|
children: jsxs("div", {
|
|
9
|
-
className: "container mx-auto px-16",
|
|
10
|
-
children: [
|
|
11
|
-
className: "mb-10
|
|
12
|
-
children:
|
|
9
|
+
className: "container mx-auto max-w-7xl px-6 lg:px-16",
|
|
10
|
+
children: [jsxs("div", {
|
|
11
|
+
className: "mb-10",
|
|
12
|
+
children: [jsxs("div", {
|
|
13
|
+
className: "mb-2 flex items-center gap-2",
|
|
14
|
+
children: [jsx("div", {
|
|
15
|
+
className: "h-1 w-8 rounded-full bg-gradient-to-r from-amber-500 to-orange-500"
|
|
16
|
+
}), jsx("span", {
|
|
17
|
+
className: "text-[11px] font-bold uppercase tracking-[0.15em] text-amber-500",
|
|
18
|
+
children: "Featured"
|
|
19
|
+
})]
|
|
20
|
+
}), jsx("h2", {
|
|
21
|
+
className: "text-2xl font-extrabold tracking-tight text-foreground lg:text-3xl",
|
|
22
|
+
children: title
|
|
23
|
+
}), jsx("p", {
|
|
24
|
+
className: "mt-1.5 text-sm text-muted-foreground",
|
|
25
|
+
children: "Handpicked guides to get you up to speed fast"
|
|
26
|
+
})]
|
|
13
27
|
}), jsx("div", {
|
|
14
|
-
className: "grid grid-cols-1 gap-
|
|
15
|
-
children: articles.map(article => jsx(ArticleCard, {
|
|
28
|
+
className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
|
|
29
|
+
children: articles.map((article, idx) => jsx(ArticleCard, {
|
|
30
|
+
index: idx + 1,
|
|
16
31
|
title: article.title,
|
|
17
32
|
description: article.description,
|
|
18
|
-
|
|
19
|
-
|
|
33
|
+
readTime: article.readTime,
|
|
34
|
+
onClick: () => onArticleClick?.(article.href)
|
|
20
35
|
}, article.id))
|
|
21
36
|
})]
|
|
22
37
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturedSection.js","sources":["../../../../src/pages/LandingPage/components/FeaturedSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FeaturedSection.js","sources":["../../../../src/pages/LandingPage/components/FeaturedSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"oFAiBO,MAAM,eAAe,GAAmC,CAAC;OACrD;AA8BX,EAAE,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
title: string;
|
|
4
|
-
subtitle?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const HeroSection: React.FC<HeroSectionProps>;
|
|
7
|
-
export {};
|
|
2
|
+
export declare const HeroSection: React.FC;
|
|
8
3
|
//# sourceMappingURL=HeroSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeroSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/HeroSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HeroSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/HeroSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAyH/B,CAAC"}
|
|
@@ -1,43 +1,119 @@
|
|
|
1
|
-
import {jsx
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';import {SearchBar}from'../../../components/SearchBar.js';const HeroSection = () => {
|
|
2
|
+
return jsxs("div", {
|
|
3
|
+
className: "relative overflow-hidden w-full",
|
|
4
|
+
children: [jsxs("div", {
|
|
5
|
+
className: "absolute inset-0 bg-[#060b18]",
|
|
6
|
+
children: [jsxs("div", {
|
|
7
|
+
className: "absolute inset-0",
|
|
8
|
+
children: [jsx("div", {
|
|
9
|
+
className: "absolute left-[10%] top-[-20%] h-[600px] w-[600px] rounded-full opacity-20 blur-[120px]",
|
|
10
|
+
style: {
|
|
11
|
+
background: 'radial-gradient(circle, #06b6d4, transparent 70%)',
|
|
12
|
+
animation: 'float1 8s ease-in-out infinite'
|
|
13
|
+
}
|
|
14
|
+
}), jsx("div", {
|
|
15
|
+
className: "absolute right-[5%] top-[10%] h-[500px] w-[500px] rounded-full opacity-15 blur-[120px]",
|
|
16
|
+
style: {
|
|
17
|
+
background: 'radial-gradient(circle, #8b5cf6, transparent 70%)',
|
|
18
|
+
animation: 'float2 10s ease-in-out infinite'
|
|
19
|
+
}
|
|
20
|
+
}), jsx("div", {
|
|
21
|
+
className: "absolute bottom-[-10%] left-[40%] h-[400px] w-[400px] rounded-full opacity-10 blur-[100px]",
|
|
22
|
+
style: {
|
|
23
|
+
background: 'radial-gradient(circle, #ec4899, transparent 70%)',
|
|
24
|
+
animation: 'float3 12s ease-in-out infinite'
|
|
25
|
+
}
|
|
26
|
+
})]
|
|
27
|
+
}), jsx("div", {
|
|
28
|
+
className: "absolute inset-0 opacity-[0.03]",
|
|
29
|
+
style: {
|
|
30
|
+
backgroundImage: 'radial-gradient(rgba(255,255,255,0.8) 1px, transparent 1px)',
|
|
31
|
+
backgroundSize: '24px 24px'
|
|
32
|
+
}
|
|
33
|
+
}), jsx("div", {
|
|
34
|
+
className: "absolute left-[15%] top-20 h-3 w-3 rounded-full border border-cyan-500/30",
|
|
35
|
+
style: {
|
|
36
|
+
animation: 'floatShape 6s ease-in-out infinite'
|
|
37
|
+
}
|
|
38
|
+
}), jsx("div", {
|
|
39
|
+
className: "absolute right-[20%] top-40 h-2 w-2 rotate-45 bg-violet-500/40",
|
|
40
|
+
style: {
|
|
41
|
+
animation: 'floatShape 8s ease-in-out infinite 1s'
|
|
42
|
+
}
|
|
43
|
+
}), jsx("div", {
|
|
44
|
+
className: "absolute bottom-32 left-[25%] h-4 w-4 rounded-full border border-pink-500/20",
|
|
45
|
+
style: {
|
|
46
|
+
animation: 'floatShape 7s ease-in-out infinite 2s'
|
|
47
|
+
}
|
|
48
|
+
}), jsx("div", {
|
|
49
|
+
className: "absolute right-[35%] top-32 h-2.5 w-2.5 rotate-12 rounded-sm bg-cyan-500/30",
|
|
50
|
+
style: {
|
|
51
|
+
animation: 'floatShape 9s ease-in-out infinite 0.5s'
|
|
52
|
+
}
|
|
53
|
+
})]
|
|
54
|
+
}), jsx("style", {
|
|
55
|
+
dangerouslySetInnerHTML: {
|
|
56
|
+
__html: `
|
|
57
|
+
@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -30px); } }
|
|
58
|
+
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-20px, 20px); } }
|
|
59
|
+
@keyframes float3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(25px, -15px); } }
|
|
60
|
+
@keyframes floatShape { 0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; } 50% { transform: translateY(-12px) rotate(180deg); opacity: 0.7; } }
|
|
61
|
+
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
|
|
62
|
+
`
|
|
63
|
+
}
|
|
64
|
+
}), jsx("div", {
|
|
65
|
+
className: "relative z-10 mx-auto flex min-h-[520px] max-w-7xl flex-col items-center justify-center px-6 pb-16 pt-24 text-center lg:px-16",
|
|
9
66
|
children: jsxs("div", {
|
|
10
|
-
className: "
|
|
67
|
+
className: "w-full max-w-4xl",
|
|
68
|
+
style: {
|
|
69
|
+
overflow: 'visible'
|
|
70
|
+
},
|
|
11
71
|
children: [jsxs("div", {
|
|
12
|
-
className: "
|
|
13
|
-
children: [
|
|
14
|
-
className: "
|
|
15
|
-
children:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
72
|
+
className: "mb-6 flex flex-wrap items-center justify-center gap-3",
|
|
73
|
+
children: [jsxs("div", {
|
|
74
|
+
className: "inline-flex items-center gap-2 rounded-full border border-emerald-500/20 bg-emerald-500/[0.08] px-3.5 py-1.5 text-[12px] font-medium text-emerald-400 backdrop-blur-md",
|
|
75
|
+
children: [jsxs("span", {
|
|
76
|
+
className: "relative flex h-1.5 w-1.5",
|
|
77
|
+
children: [jsx("span", {
|
|
78
|
+
className: "absolute inline-flex h-full w-full animate-ping rounded-full bg-emerald-400 opacity-75"
|
|
79
|
+
}), jsx("span", {
|
|
80
|
+
className: "relative inline-flex h-1.5 w-1.5 rounded-full bg-emerald-500"
|
|
81
|
+
})]
|
|
82
|
+
}), "All systems operational"]
|
|
83
|
+
}), jsxs("div", {
|
|
84
|
+
className: "inline-flex items-center gap-1.5 rounded-full border border-white/[0.06] bg-white/[0.03] px-3.5 py-1.5 text-[12px] font-medium text-white/40 backdrop-blur-md",
|
|
85
|
+
children: [jsx("svg", {
|
|
86
|
+
className: "h-3.5 w-3.5 text-amber-500",
|
|
87
|
+
fill: "currentColor",
|
|
88
|
+
viewBox: "0 0 24 24",
|
|
89
|
+
children: jsx("path", {
|
|
90
|
+
d: "M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"
|
|
91
|
+
})
|
|
92
|
+
}), "Trusted by 10,000+ teams"]
|
|
22
93
|
})]
|
|
23
|
-
}),
|
|
24
|
-
className: "
|
|
25
|
-
children:
|
|
26
|
-
className: "
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
})
|
|
39
|
-
})]
|
|
94
|
+
}), jsxs("h1", {
|
|
95
|
+
className: "mb-5 text-4xl font-extrabold leading-[1.08] tracking-tight text-white sm:text-5xl lg:text-[64px]",
|
|
96
|
+
children: ["Everything you need to", ' ', jsx("span", {
|
|
97
|
+
className: "bg-clip-text text-transparent",
|
|
98
|
+
style: {
|
|
99
|
+
backgroundImage: 'linear-gradient(135deg, #06b6d4, #3b82f6, #8b5cf6, #ec4899)',
|
|
100
|
+
backgroundSize: '200% auto',
|
|
101
|
+
animation: 'shimmer 4s linear infinite'
|
|
102
|
+
},
|
|
103
|
+
children: "succeed"
|
|
104
|
+
})]
|
|
105
|
+
}), jsx("p", {
|
|
106
|
+
className: "mx-auto mb-10 max-w-xl text-base font-normal leading-relaxed text-white/45 lg:text-[17px]",
|
|
107
|
+
children: "Guides, tutorials, and answers for every part of the Yantra AI platform. Get up and running in minutes, not hours."
|
|
108
|
+
}), jsx(SearchBar, {})]
|
|
40
109
|
})
|
|
41
|
-
})
|
|
110
|
+
}), jsxs("div", {
|
|
111
|
+
className: "relative z-10",
|
|
112
|
+
children: [jsx("div", {
|
|
113
|
+
className: "h-px bg-gradient-to-r from-transparent via-cyan-500/20 to-transparent"
|
|
114
|
+
}), jsx("div", {
|
|
115
|
+
className: "h-20 bg-gradient-to-b from-[#060b18] to-background"
|
|
116
|
+
})]
|
|
117
|
+
})]
|
|
42
118
|
});
|
|
43
119
|
};export{HeroSection};//# sourceMappingURL=HeroSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeroSection.js","sources":["../../../../src/pages/LandingPage/components/HeroSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeroSection.js","sources":["../../../../src/pages/LandingPage/components/HeroSection.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"kGAGO,MAAM,WAAW,GAAa,MAAK;SAC/BA;AASiB,IAAA,SAAA,EAAA,iCAAY;AACZ,IAAA,QAAA,EAAA,CAAAA,IAAA,CAAA,KAAA,EAAA;AACH,MAAA,SAAA,EAAA,+BAGD;AAEI,MAAA,QAAA,EAAA,CAAAA,IAAA,CAAA,KAAA,EAAA;AACA,QAAA,SAAA,EAAA,kBAAA;AACH,QAAA,QAAA,EAAA,CAAAC,GAAA,CAAA,KAAA,EAAA;AAKG,UAAA,SAAA,EAAA,yFAA+D;AAC/D,UAAA,KAAA,EAAA;2EAOmC;AAEvC,YAAA,SAAA,EAAA;AACA;AACH,SAAA,CAAA,EAAAA,GAAA,CAAA,KAAA,EAAA;AAyBD,UAAA,SAAA,EAAA,wFAAQ;;;;;;AAMf,UAAA,SAAA,EAAA,4FAAA;AACI,UAAA,KAAA,EAAA;AA4Be,YAAA,UAAA,EAAA,mDAA8E;AAC9E,YAAA,SAAA,EAAA;AACA;AACH,SAAA,CAAA;AAsB7B,OAAE,CAAA,EAAAA,GAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -6,7 +6,6 @@ export declare const Icons: {
|
|
|
6
6
|
ProductFeatures: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
Troubleshooting: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
Api: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
Enterprise: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
Security: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
Feedback: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
Contact: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,KAAK;
|
|
1
|
+
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,KAAK;4BACU,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;+BAgB1B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;qBAevC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;6BAerB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;6BAc7B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;iBAgBzC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;sBAexB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;sBAc7B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;qBAc9B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;CAejD,CAAC"}
|