@adminide-stack/clock-tik-browser 12.0.17-alpha.1 → 12.0.17-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/Validation/Schema.d.ts +54 -0
- package/lib/Validation/Schema.d.ts.map +1 -0
- package/lib/Validation/Schema.js +26 -0
- package/lib/Validation/Schema.js.map +1 -0
- package/lib/components/HelpCenterFooter.d.ts.map +1 -1
- package/lib/components/HelpCenterFooter.js +9 -5
- package/lib/components/HelpCenterFooter.js.map +1 -1
- package/lib/components/Logo.d.ts.map +1 -1
- package/lib/components/Logo.js +1 -1
- package/lib/components/Logo.js.map +1 -1
- package/lib/components/navbar/index.d.ts.map +1 -1
- package/lib/components/navbar/index.js +5 -3
- package/lib/components/navbar/index.js.map +1 -1
- package/lib/compute.d.ts.map +1 -1
- package/lib/compute.js +37 -1
- package/lib/compute.js.map +1 -1
- package/lib/config/env-config.d.ts +17 -0
- package/lib/config/env-config.d.ts.map +1 -0
- package/lib/config/env-config.js +52 -0
- package/lib/config/env-config.js.map +1 -0
- package/lib/{config.d.ts → config/index.d.ts} +2 -13
- package/lib/config/index.d.ts.map +1 -0
- package/lib/pages/ArticlePage/index.d.ts.map +1 -1
- package/lib/pages/ArticlePage/index.js +32 -0
- package/lib/pages/ArticlePage/index.js.map +1 -1
- package/lib/pages/Contact-us/index.d.ts +3 -0
- package/lib/pages/Contact-us/index.d.ts.map +1 -0
- package/lib/pages/Contact-us/index.js +159 -0
- package/lib/pages/Contact-us/index.js.map +1 -0
- package/lib/pages/Feedback/index.d.ts +3 -0
- package/lib/pages/Feedback/index.d.ts.map +1 -0
- package/lib/pages/Feedback/index.js +126 -0
- package/lib/pages/Feedback/index.js.map +1 -0
- package/lib/pages/HelpCenter/components/CaresHero.d.ts +6 -0
- package/lib/pages/HelpCenter/components/CaresHero.d.ts.map +1 -0
- package/lib/pages/HelpCenter/components/CaresHero.js +55 -0
- package/lib/pages/HelpCenter/components/CaresHero.js.map +1 -0
- package/lib/pages/HelpCenter/components/CaresLayout.d.ts +11 -0
- package/lib/pages/HelpCenter/components/CaresLayout.d.ts.map +1 -0
- package/lib/pages/HelpCenter/components/CaresLayout.js +20 -0
- package/lib/pages/HelpCenter/components/CaresLayout.js.map +1 -0
- package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts +4 -4
- package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts.map +1 -1
- package/lib/pages/HelpCenter/components/NeedHelpWithSection.d.ts +6 -0
- package/lib/pages/HelpCenter/components/NeedHelpWithSection.d.ts.map +1 -0
- package/lib/pages/HelpCenter/components/NeedHelpWithSection.js +70 -0
- package/lib/pages/HelpCenter/components/NeedHelpWithSection.js.map +1 -0
- package/lib/pages/HelpCenter/components/PopularArticlesGrid.d.ts +8 -0
- package/lib/pages/HelpCenter/components/PopularArticlesGrid.d.ts.map +1 -0
- package/lib/pages/HelpCenter/components/PopularArticlesGrid.js +21 -0
- package/lib/pages/HelpCenter/components/PopularArticlesGrid.js.map +1 -0
- package/lib/pages/HelpCenter/components/SupportPlansSection.d.ts +3 -0
- package/lib/pages/HelpCenter/components/SupportPlansSection.d.ts.map +1 -0
- package/lib/pages/HelpCenter/components/SupportPlansSection.js +63 -0
- package/lib/pages/HelpCenter/components/SupportPlansSection.js.map +1 -0
- package/lib/pages/HelpCenter/components/SupportServicesSection.d.ts +3 -0
- package/lib/pages/HelpCenter/components/SupportServicesSection.d.ts.map +1 -0
- package/lib/pages/HelpCenter/components/SupportServicesSection.js +61 -0
- package/lib/pages/HelpCenter/components/SupportServicesSection.js.map +1 -0
- package/lib/pages/HelpCenter/index.d.ts.map +1 -1
- package/lib/pages/HelpCenter/index.js +13 -60
- package/lib/pages/HelpCenter/index.js.map +1 -1
- package/lib/pages/LandingPage/components/Assets.d.ts +26 -0
- package/lib/pages/LandingPage/components/Assets.d.ts.map +1 -1
- package/lib/pages/LandingPage/components/Assets.js +6 -12
- package/lib/pages/LandingPage/components/Assets.js.map +1 -1
- package/lib/pages/LandingPage/components/BuildingSoftwareScene.d.ts +4 -0
- package/lib/pages/LandingPage/components/BuildingSoftwareScene.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/BuildingSoftwareScene.js +1679 -0
- package/lib/pages/LandingPage/components/BuildingSoftwareScene.js.map +1 -0
- package/lib/pages/LandingPage/components/CodeEditor.d.ts +7 -0
- package/lib/pages/LandingPage/components/CodeEditor.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/ControlCard.d.ts +6 -0
- package/lib/pages/LandingPage/components/ControlCard.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/ControlCard.js +98 -0
- package/lib/pages/LandingPage/components/ControlCard.js.map +1 -0
- package/lib/pages/LandingPage/components/DeployButton.d.ts +8 -0
- package/lib/pages/LandingPage/components/DeployButton.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/DeploymentResult.d.ts +6 -0
- package/lib/pages/LandingPage/components/DeploymentResult.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/IconButton.d.ts +8 -0
- package/lib/pages/LandingPage/components/IconButton.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/ImageCard.d.ts +13 -0
- package/lib/pages/LandingPage/components/ImageCard.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/ImageCard.js +38 -0
- package/lib/pages/LandingPage/components/ImageCard.js.map +1 -0
- package/lib/pages/LandingPage/components/InfrastructureCard.d.ts +4 -0
- package/lib/pages/LandingPage/components/InfrastructureCard.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/InfrastructureCard.js +236 -0
- package/lib/pages/LandingPage/components/InfrastructureCard.js.map +1 -0
- package/lib/pages/LandingPage/components/InfrastructureTabs.d.ts +4 -0
- package/lib/pages/LandingPage/components/InfrastructureTabs.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/InfrastructureTabs.js +57 -0
- package/lib/pages/LandingPage/components/InfrastructureTabs.js.map +1 -0
- package/lib/pages/LandingPage/components/Investigation.d.ts +4 -0
- package/lib/pages/LandingPage/components/Investigation.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/InvestigationCard.d.ts +6 -0
- package/lib/pages/LandingPage/components/InvestigationCard.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/InvestigationCard.js +118 -0
- package/lib/pages/LandingPage/components/InvestigationCard.js.map +1 -0
- package/lib/pages/LandingPage/components/LearningCard.d.ts +9 -0
- package/lib/pages/LandingPage/components/LearningCard.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/LearningCard.js +22 -0
- package/lib/pages/LandingPage/components/LearningCard.js.map +1 -0
- package/lib/pages/LandingPage/components/MetricsDisplay.d.ts +6 -0
- package/lib/pages/LandingPage/components/MetricsDisplay.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/ProfilesCard.d.ts +10 -0
- package/lib/pages/LandingPage/components/ProfilesCard.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/ProfilesCard.js +52 -0
- package/lib/pages/LandingPage/components/ProfilesCard.js.map +1 -0
- package/lib/pages/LandingPage/components/Section.d.ts +12 -0
- package/lib/pages/LandingPage/components/Section.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/Section.js +26 -0
- package/lib/pages/LandingPage/components/Section.js.map +1 -0
- package/lib/pages/LandingPage/components/Toast.d.ts +12 -0
- package/lib/pages/LandingPage/components/Toast.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/Toast.js +39 -0
- package/lib/pages/LandingPage/components/Toast.js.map +1 -0
- package/lib/pages/LandingPage/components/ToastContainer.d.ts +13 -0
- package/lib/pages/LandingPage/components/ToastContainer.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/ToastContainer.js +62 -0
- package/lib/pages/LandingPage/components/ToastContainer.js.map +1 -0
- package/lib/pages/LandingPage/components/index.d.ts +16 -0
- package/lib/pages/LandingPage/components/index.d.ts.map +1 -0
- package/lib/pages/LandingPage/index.d.ts.map +1 -1
- package/lib/pages/LandingPage/index.js +641 -189
- package/lib/pages/LandingPage/index.js.map +1 -1
- package/lib/pages/Privacy/index.d.ts +3 -0
- package/lib/pages/Privacy/index.d.ts.map +1 -0
- package/lib/pages/Privacy/index.js +7590 -0
- package/lib/pages/Privacy/index.js.map +1 -0
- package/lib/pages/Thanks/index.d.ts +2 -0
- package/lib/pages/Thanks/index.d.ts.map +1 -0
- package/lib/pages/Thanks/index.js +56 -0
- package/lib/pages/Thanks/index.js.map +1 -0
- package/lib/routes.json +44 -0
- package/lib/utils/markdownLoader.d.ts.map +1 -1
- package/lib/utils/markdownLoader.js +68 -8
- package/lib/utils/markdownLoader.js.map +1 -1
- package/package.json +2 -2
- package/lib/config.d.ts.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/ArticleCard.d.ts +0 -11
- package/lib/pages/LandingPage/components/ArticleCard.d.ts.map +0 -1
- package/lib/pages/LandingPage/components/ArticleCard.js +0 -29
- package/lib/pages/LandingPage/components/ArticleCard.js.map +0 -1
- package/lib/pages/LandingPage/components/CategoriesSection.d.ts +0 -16
- package/lib/pages/LandingPage/components/CategoriesSection.d.ts.map +0 -1
- package/lib/pages/LandingPage/components/CategoriesSection.js +0 -31
- package/lib/pages/LandingPage/components/CategoriesSection.js.map +0 -1
- package/lib/pages/LandingPage/components/CategoryCard.d.ts +0 -11
- package/lib/pages/LandingPage/components/CategoryCard.d.ts.map +0 -1
- package/lib/pages/LandingPage/components/CategoryCard.js +0 -25
- package/lib/pages/LandingPage/components/CategoryCard.js.map +0 -1
- package/lib/pages/LandingPage/components/FeaturedSection.d.ts +0 -15
- package/lib/pages/LandingPage/components/FeaturedSection.d.ts.map +0 -1
- package/lib/pages/LandingPage/components/FeaturedSection.js +0 -24
- package/lib/pages/LandingPage/components/FeaturedSection.js.map +0 -1
- package/lib/pages/LandingPage/components/HeroSection.d.ts +0 -9
- package/lib/pages/LandingPage/components/HeroSection.d.ts.map +0 -1
- package/lib/pages/LandingPage/components/HeroSection.js +0 -46
- package/lib/pages/LandingPage/components/HeroSection.js.map +0 -1
- package/lib/pages/LandingPage/components/Icons.d.ts +0 -14
- package/lib/pages/LandingPage/components/Icons.d.ts.map +0 -1
- package/lib/pages/LandingPage/components/Icons.js +0 -174
- package/lib/pages/LandingPage/components/Icons.js.map +0 -1
- package/lib/pages/LandingPage/components/ResourceCard.d.ts +0 -12
- package/lib/pages/LandingPage/components/ResourceCard.d.ts.map +0 -1
- package/lib/pages/LandingPage/components/ResourceCard.js +0 -30
- package/lib/pages/LandingPage/components/ResourceCard.js.map +0 -1
- package/lib/pages/LandingPage/components/ResourcesSection.d.ts +0 -18
- package/lib/pages/LandingPage/components/ResourcesSection.d.ts.map +0 -1
- package/lib/pages/LandingPage/components/ResourcesSection.js +0 -26
- package/lib/pages/LandingPage/components/ResourcesSection.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,31 +0,0 @@
|
|
|
1
|
-
import {jsxs,jsx}from'react/jsx-runtime';import {CategoryCard}from'./CategoryCard.js';import {Images}from'./Assets.js';const CategoriesSection = ({
|
|
2
|
-
title,
|
|
3
|
-
categories,
|
|
4
|
-
onCategoryClick
|
|
5
|
-
}) => {
|
|
6
|
-
return jsxs("section", {
|
|
7
|
-
className: "relative py-20 bg-background",
|
|
8
|
-
children: [jsx("div", {
|
|
9
|
-
className: "absolute inset-0 z-0 opacity-5",
|
|
10
|
-
children: jsx("img", {
|
|
11
|
-
src: Images.categories.background,
|
|
12
|
-
alt: "Background texture",
|
|
13
|
-
className: "h-full w-full object-cover"
|
|
14
|
-
})
|
|
15
|
-
}), jsxs("div", {
|
|
16
|
-
className: "container relative z-10 mx-auto px-16",
|
|
17
|
-
children: [jsx("h2", {
|
|
18
|
-
className: "mb-10 text-3xl font-bold tracking-tight text-foreground",
|
|
19
|
-
children: title
|
|
20
|
-
}), jsx("div", {
|
|
21
|
-
className: "grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",
|
|
22
|
-
children: categories.map(category => jsx(CategoryCard, {
|
|
23
|
-
title: category.title,
|
|
24
|
-
description: category.description,
|
|
25
|
-
icon: category.icon,
|
|
26
|
-
onClick: () => onCategoryClick?.(category.href)
|
|
27
|
-
}, category.id))
|
|
28
|
-
})]
|
|
29
|
-
})]
|
|
30
|
-
});
|
|
31
|
-
};export{CategoriesSection};//# sourceMappingURL=CategoriesSection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CategoriesSection.js","sources":["../../../../src/pages/LandingPage/components/CategoriesSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"uHAkBO,MAAM,iBAAiB,GAAqC,CAAC;OACzD;AA0BX,EAAE,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface CategoryCardProps {
|
|
3
|
-
title: string;
|
|
4
|
-
description: string;
|
|
5
|
-
icon?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const CategoryCard: React.FC<CategoryCardProps>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=CategoryCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/CategoryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,iBAAiB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAoBpD,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {jsxs,jsx}from'react/jsx-runtime';import {cn}from'../../../utils/index.js';const CategoryCard = ({
|
|
2
|
-
title,
|
|
3
|
-
description,
|
|
4
|
-
icon,
|
|
5
|
-
className,
|
|
6
|
-
onClick
|
|
7
|
-
}) => {
|
|
8
|
-
return jsxs("div", {
|
|
9
|
-
className: cn('flex cursor-pointer items-start gap-5 rounded-lg bg-card p-6 shadow-sm transition-all hover:bg-primary/5 hover:shadow-md', className),
|
|
10
|
-
onClick: onClick,
|
|
11
|
-
children: [icon && jsx("div", {
|
|
12
|
-
className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-primary/10 text-primary",
|
|
13
|
-
children: icon
|
|
14
|
-
}), jsxs("div", {
|
|
15
|
-
className: "flex flex-col",
|
|
16
|
-
children: [jsx("h3", {
|
|
17
|
-
className: "text-lg font-medium text-foreground",
|
|
18
|
-
children: title
|
|
19
|
-
}), jsx("p", {
|
|
20
|
-
className: "mt-1 text-sm leading-relaxed text-muted-foreground",
|
|
21
|
-
children: description
|
|
22
|
-
})]
|
|
23
|
-
})]
|
|
24
|
-
});
|
|
25
|
-
};export{CategoryCard};//# sourceMappingURL=CategoryCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryCard.js","sources":["../../../../src/pages/LandingPage/components/CategoryCard.tsx"],"sourcesContent":[null],"names":[],"mappings":"kFAWa,MAAA,YAAY,GAAgC,CAAC;OAC/C;AAmBX,EAAE,WAAA;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface Article {
|
|
3
|
-
id: string;
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
href: string;
|
|
7
|
-
}
|
|
8
|
-
interface FeaturedSectionProps {
|
|
9
|
-
title: string;
|
|
10
|
-
articles: Article[];
|
|
11
|
-
onArticleClick?: (articleId: string) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const FeaturedSection: React.FC<FeaturedSectionProps>;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=FeaturedSection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;CAChB;AAED,UAAU,oBAAoB;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmB1D,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {jsx,jsxs}from'react/jsx-runtime';import {ArticleCard}from'./ArticleCard.js';const FeaturedSection = ({
|
|
2
|
-
title,
|
|
3
|
-
articles,
|
|
4
|
-
onArticleClick
|
|
5
|
-
}) => {
|
|
6
|
-
return jsx("section", {
|
|
7
|
-
className: "border-y border-gray-100 bg-background py-16",
|
|
8
|
-
children: jsxs("div", {
|
|
9
|
-
className: "container mx-auto px-16",
|
|
10
|
-
children: [jsx("h2", {
|
|
11
|
-
className: "mb-10 text-3xl font-bold tracking-tight text-foreground",
|
|
12
|
-
children: title
|
|
13
|
-
}), jsx("div", {
|
|
14
|
-
className: "grid grid-cols-1 gap-10 md:grid-cols-2 lg:grid-cols-3",
|
|
15
|
-
children: articles.map(article => jsx(ArticleCard, {
|
|
16
|
-
title: article.title,
|
|
17
|
-
description: article.description,
|
|
18
|
-
onClick: () => onArticleClick?.(article.href),
|
|
19
|
-
className: "rounded-lg border border-gray-100 bg-background p-6 shadow-sm transition-shadow hover:shadow-md"
|
|
20
|
-
}, article.id))
|
|
21
|
-
})]
|
|
22
|
-
})
|
|
23
|
-
});
|
|
24
|
-
};export{FeaturedSection};//# sourceMappingURL=FeaturedSection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturedSection.js","sources":["../../../../src/pages/LandingPage/components/FeaturedSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"oFAgBO,MAAM,eAAe,GAAmC,CAAC;AAC5D,EAAA,KAAA;AAkBJ,EAAE,QAAA;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeroSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/HeroSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,gBAAgB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA+BlD,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import {jsx,jsxs}from'react/jsx-runtime';import {SearchBar}from'./SearchBar.js';import {Images}from'./Assets.js';const HeroSection = ({
|
|
2
|
-
title,
|
|
3
|
-
subtitle,
|
|
4
|
-
onSearch
|
|
5
|
-
}) => {
|
|
6
|
-
return jsx("section", {
|
|
7
|
-
className: "relative w-full bg-[#057d78] py-20",
|
|
8
|
-
children: jsx("div", {
|
|
9
|
-
className: "container mx-auto px-16 pt-20",
|
|
10
|
-
children: jsxs("div", {
|
|
11
|
-
className: "flex flex-col items-start justify-between gap-12 md:flex-row",
|
|
12
|
-
children: [jsxs("div", {
|
|
13
|
-
className: "max-w-3xl",
|
|
14
|
-
children: [jsx("h1", {
|
|
15
|
-
className: "mb-4 mt-8 text-left text-[5rem] font-[300] leading-[1.1] tracking-tight text-white",
|
|
16
|
-
children: title
|
|
17
|
-
}), subtitle && jsx("p", {
|
|
18
|
-
className: "mb-4 text-xl font-normal text-white/90",
|
|
19
|
-
children: subtitle
|
|
20
|
-
}), jsx("div", {
|
|
21
|
-
className: "pt-6",
|
|
22
|
-
children: jsx(SearchBar, {
|
|
23
|
-
onSearch: onSearch
|
|
24
|
-
})
|
|
25
|
-
})]
|
|
26
|
-
}), jsx("div", {
|
|
27
|
-
className: "hidden h-80 w-96 md:block",
|
|
28
|
-
children: jsxs("div", {
|
|
29
|
-
className: "relative h-full w-full",
|
|
30
|
-
children: [jsx("img", {
|
|
31
|
-
src: Images.hero.books,
|
|
32
|
-
alt: "Stack of books",
|
|
33
|
-
className: "absolute h-full w-full rounded-lg object-cover shadow-xl"
|
|
34
|
-
}), jsx("div", {
|
|
35
|
-
className: "absolute -right-8 -top-8 h-full w-full rounded-lg bg-teal-600/20 shadow-xl"
|
|
36
|
-
}), jsx("div", {
|
|
37
|
-
className: "absolute -right-4 -top-4 h-full w-full rounded-lg bg-teal-600/20 shadow-xl"
|
|
38
|
-
}), jsx("div", {
|
|
39
|
-
className: "absolute right-0 top-0 h-full w-full rounded-lg bg-teal-500/30 shadow-xl"
|
|
40
|
-
})]
|
|
41
|
-
})
|
|
42
|
-
})]
|
|
43
|
-
})
|
|
44
|
-
})
|
|
45
|
-
});
|
|
46
|
-
};export{HeroSection};//# sourceMappingURL=HeroSection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeroSection.js","sources":["../../../../src/pages/LandingPage/components/HeroSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"iHAUO,MAAM,WAAW,GAA+B,CAAC;OAC7C;AA8BX,EAAE,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const Icons: {
|
|
3
|
-
GettingStarted: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
AccountManagement: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
Billing: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
ProductFeatures: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
Troubleshooting: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
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
|
-
Security: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
Feedback: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
Contact: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=Icons.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;6BAgB7B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;iBAgBzC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;wBAgBtB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;sBAgB/B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;sBAe7B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;qBAc9B,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;CAejD,CAAC"}
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
import {jsxs,jsx}from'react/jsx-runtime';const Icons = {
|
|
2
|
-
GettingStarted: props => jsxs("svg", {
|
|
3
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
-
viewBox: "0 0 24 24",
|
|
5
|
-
fill: "none",
|
|
6
|
-
stroke: "currentColor",
|
|
7
|
-
strokeWidth: "2",
|
|
8
|
-
strokeLinecap: "round",
|
|
9
|
-
strokeLinejoin: "round",
|
|
10
|
-
...props,
|
|
11
|
-
children: [jsx("path", {
|
|
12
|
-
d: "M12 2L2 7l10 5 10-5-10-5z"
|
|
13
|
-
}), jsx("path", {
|
|
14
|
-
d: "M2 17l10 5 10-5"
|
|
15
|
-
}), jsx("path", {
|
|
16
|
-
d: "M2 12l10 5 10-5"
|
|
17
|
-
})]
|
|
18
|
-
}),
|
|
19
|
-
AccountManagement: props => jsxs("svg", {
|
|
20
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
21
|
-
viewBox: "0 0 24 24",
|
|
22
|
-
fill: "none",
|
|
23
|
-
stroke: "currentColor",
|
|
24
|
-
strokeWidth: "2",
|
|
25
|
-
strokeLinecap: "round",
|
|
26
|
-
strokeLinejoin: "round",
|
|
27
|
-
...props,
|
|
28
|
-
children: [jsx("path", {
|
|
29
|
-
d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"
|
|
30
|
-
}), jsx("circle", {
|
|
31
|
-
cx: "12",
|
|
32
|
-
cy: "7",
|
|
33
|
-
r: "4"
|
|
34
|
-
})]
|
|
35
|
-
}),
|
|
36
|
-
Billing: props => jsxs("svg", {
|
|
37
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
38
|
-
viewBox: "0 0 24 24",
|
|
39
|
-
fill: "none",
|
|
40
|
-
stroke: "currentColor",
|
|
41
|
-
strokeWidth: "2",
|
|
42
|
-
strokeLinecap: "round",
|
|
43
|
-
strokeLinejoin: "round",
|
|
44
|
-
...props,
|
|
45
|
-
children: [jsx("rect", {
|
|
46
|
-
x: "2",
|
|
47
|
-
y: "4",
|
|
48
|
-
width: "20",
|
|
49
|
-
height: "16",
|
|
50
|
-
rx: "2"
|
|
51
|
-
}), jsx("line", {
|
|
52
|
-
x1: "2",
|
|
53
|
-
y1: "10",
|
|
54
|
-
x2: "22",
|
|
55
|
-
y2: "10"
|
|
56
|
-
})]
|
|
57
|
-
}),
|
|
58
|
-
ProductFeatures: props => jsxs("svg", {
|
|
59
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
60
|
-
viewBox: "0 0 24 24",
|
|
61
|
-
fill: "none",
|
|
62
|
-
stroke: "currentColor",
|
|
63
|
-
strokeWidth: "2",
|
|
64
|
-
strokeLinecap: "round",
|
|
65
|
-
strokeLinejoin: "round",
|
|
66
|
-
...props,
|
|
67
|
-
children: [jsx("circle", {
|
|
68
|
-
cx: "12",
|
|
69
|
-
cy: "12",
|
|
70
|
-
r: "10"
|
|
71
|
-
}), jsx("line", {
|
|
72
|
-
x1: "12",
|
|
73
|
-
y1: "16",
|
|
74
|
-
x2: "12",
|
|
75
|
-
y2: "12"
|
|
76
|
-
}), jsx("line", {
|
|
77
|
-
x1: "12",
|
|
78
|
-
y1: "8",
|
|
79
|
-
x2: "12.01",
|
|
80
|
-
y2: "8"
|
|
81
|
-
})]
|
|
82
|
-
}),
|
|
83
|
-
Troubleshooting: props => jsxs("svg", {
|
|
84
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
85
|
-
viewBox: "0 0 24 24",
|
|
86
|
-
fill: "none",
|
|
87
|
-
stroke: "currentColor",
|
|
88
|
-
strokeWidth: "2",
|
|
89
|
-
strokeLinecap: "round",
|
|
90
|
-
strokeLinejoin: "round",
|
|
91
|
-
...props,
|
|
92
|
-
children: [jsx("path", {
|
|
93
|
-
d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"
|
|
94
|
-
}), jsx("line", {
|
|
95
|
-
x1: "12",
|
|
96
|
-
y1: "9",
|
|
97
|
-
x2: "12",
|
|
98
|
-
y2: "13"
|
|
99
|
-
}), jsx("line", {
|
|
100
|
-
x1: "12",
|
|
101
|
-
y1: "17",
|
|
102
|
-
x2: "12.01",
|
|
103
|
-
y2: "17"
|
|
104
|
-
})]
|
|
105
|
-
}),
|
|
106
|
-
Api: props => jsxs("svg", {
|
|
107
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
108
|
-
viewBox: "0 0 24 24",
|
|
109
|
-
fill: "none",
|
|
110
|
-
stroke: "currentColor",
|
|
111
|
-
strokeWidth: "2",
|
|
112
|
-
strokeLinecap: "round",
|
|
113
|
-
strokeLinejoin: "round",
|
|
114
|
-
...props,
|
|
115
|
-
children: [jsx("polyline", {
|
|
116
|
-
points: "16 18 22 12 16 6"
|
|
117
|
-
}), jsx("polyline", {
|
|
118
|
-
points: "8 6 2 12 8 18"
|
|
119
|
-
}), jsx("line", {
|
|
120
|
-
x1: "10",
|
|
121
|
-
y1: "3",
|
|
122
|
-
x2: "14",
|
|
123
|
-
y2: "21"
|
|
124
|
-
})]
|
|
125
|
-
}),
|
|
126
|
-
Security: props => jsxs("svg", {
|
|
127
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
128
|
-
viewBox: "0 0 24 24",
|
|
129
|
-
fill: "none",
|
|
130
|
-
stroke: "currentColor",
|
|
131
|
-
strokeWidth: "2",
|
|
132
|
-
strokeLinecap: "round",
|
|
133
|
-
strokeLinejoin: "round",
|
|
134
|
-
...props,
|
|
135
|
-
children: [jsx("rect", {
|
|
136
|
-
x: "3",
|
|
137
|
-
y: "11",
|
|
138
|
-
width: "18",
|
|
139
|
-
height: "11",
|
|
140
|
-
rx: "2",
|
|
141
|
-
ry: "2"
|
|
142
|
-
}), jsx("path", {
|
|
143
|
-
d: "M7 11V7a5 5 0 0 1 10 0v4"
|
|
144
|
-
})]
|
|
145
|
-
}),
|
|
146
|
-
Feedback: props => jsx("svg", {
|
|
147
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
148
|
-
viewBox: "0 0 24 24",
|
|
149
|
-
fill: "none",
|
|
150
|
-
stroke: "currentColor",
|
|
151
|
-
strokeWidth: "2",
|
|
152
|
-
strokeLinecap: "round",
|
|
153
|
-
strokeLinejoin: "round",
|
|
154
|
-
...props,
|
|
155
|
-
children: jsx("path", {
|
|
156
|
-
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"
|
|
157
|
-
})
|
|
158
|
-
}),
|
|
159
|
-
Contact: props => jsxs("svg", {
|
|
160
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
161
|
-
viewBox: "0 0 24 24",
|
|
162
|
-
fill: "none",
|
|
163
|
-
stroke: "currentColor",
|
|
164
|
-
strokeWidth: "2",
|
|
165
|
-
strokeLinecap: "round",
|
|
166
|
-
strokeLinejoin: "round",
|
|
167
|
-
...props,
|
|
168
|
-
children: [jsx("path", {
|
|
169
|
-
d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"
|
|
170
|
-
}), jsx("polyline", {
|
|
171
|
-
points: "22,6 12,13 2,6"
|
|
172
|
-
})]
|
|
173
|
-
})
|
|
174
|
-
};export{Icons};//# sourceMappingURL=Icons.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.js","sources":["../../../../src/pages/LandingPage/components/Icons.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"yCAEa,MAAA,KAAK,GAAG;gBACH,EAAA,KAAG,IAAsCA,IACnD,CACI,KAAA,EAAA;IAcR,KAAiB,EAAA,4BAET;AAaR,IAAA,OAAO,EAAE,WAA0C;AAenD,IAAA,IAAA,EAAA,MAAA;AAgBA,IAAA,MAAA,EAAA,cAAkB;AAgBlB,IAAA,WAA0C,EAAE,GAAG;IAgB/C,aAAa,EAAoC,OAAI;AAgBrD,IAAA,cAA+C,EAAA,OAEvC;IAaR,GAAQ,KAAA;IAcR,QAAO,EAAG,CAAoCC,GAAA,CAAA,MAEtC,EAAA;MAaV,CAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ResourceCardProps {
|
|
3
|
-
title: string;
|
|
4
|
-
description: string;
|
|
5
|
-
icon?: React.ReactNode;
|
|
6
|
-
ctaText?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const ResourceCard: React.FC<ResourceCardProps>;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=ResourceCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/ResourceCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,iBAAiB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA8BpD,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {jsxs,jsx}from'react/jsx-runtime';import {Button}from'@admin-layout/tailwind-ui/shardui/button.js';import {cn}from'../../../utils/index.js';const ResourceCard = ({
|
|
2
|
-
title,
|
|
3
|
-
description,
|
|
4
|
-
icon,
|
|
5
|
-
ctaText,
|
|
6
|
-
className,
|
|
7
|
-
onClick
|
|
8
|
-
}) => {
|
|
9
|
-
return jsxs("div", {
|
|
10
|
-
className: cn('group flex flex-col space-y-4 rounded-lg border border-border bg-card p-6 transition-colors hover:bg-primary/5', className),
|
|
11
|
-
children: [icon && jsx("div", {
|
|
12
|
-
className: "text-primary",
|
|
13
|
-
children: icon
|
|
14
|
-
}), jsx("h3", {
|
|
15
|
-
className: "text-lg font-medium text-foreground",
|
|
16
|
-
children: title
|
|
17
|
-
}), jsx("p", {
|
|
18
|
-
className: "text-sm text-muted-foreground",
|
|
19
|
-
children: description
|
|
20
|
-
}), ctaText && jsxs(Button, {
|
|
21
|
-
variant: "link",
|
|
22
|
-
className: "mt-2 h-auto p-0 text-sm font-medium uppercase text-primary hover:text-primary/80",
|
|
23
|
-
onClick: onClick,
|
|
24
|
-
children: [ctaText, ' ', jsx("span", {
|
|
25
|
-
className: "ml-1 transition-transform duration-200 group-hover:translate-x-1",
|
|
26
|
-
children: "\u2192"
|
|
27
|
-
})]
|
|
28
|
-
})]
|
|
29
|
-
});
|
|
30
|
-
};export{ResourceCard};//# sourceMappingURL=ResourceCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceCard.js","sources":["../../../../src/pages/LandingPage/components/ResourceCard.tsx"],"sourcesContent":[null],"names":[],"mappings":"mJAaa,MAAA,YAAY,GAAgC,CAAC;AAQtD,EAAA,KAAA;AAsBJ,EAAE,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface Resource {
|
|
3
|
-
id: string;
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
icon?: React.ReactNode;
|
|
7
|
-
ctaText?: string;
|
|
8
|
-
href: string;
|
|
9
|
-
}
|
|
10
|
-
interface ResourcesSectionProps {
|
|
11
|
-
title: string;
|
|
12
|
-
resources: Resource[];
|
|
13
|
-
className?: string;
|
|
14
|
-
onResourceClick?: (resourceHref: string) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const ResourcesSection: React.FC<ResourcesSectionProps>;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=ResourcesSection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourcesSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/ResourcesSection.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,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,qBAAqB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CACpD;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAoB5D,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import {jsx,jsxs}from'react/jsx-runtime';import {ResourceCard}from'./ResourceCard.js';const ResourcesSection = ({
|
|
2
|
-
title,
|
|
3
|
-
resources,
|
|
4
|
-
className,
|
|
5
|
-
onResourceClick
|
|
6
|
-
}) => {
|
|
7
|
-
return jsx("section", {
|
|
8
|
-
className: `bg-background py-20 ${className || ''}`,
|
|
9
|
-
children: jsxs("div", {
|
|
10
|
-
className: "container mx-auto px-16",
|
|
11
|
-
children: [jsx("h2", {
|
|
12
|
-
className: "mb-10 text-3xl font-bold tracking-tight text-foreground",
|
|
13
|
-
children: title
|
|
14
|
-
}), jsx("div", {
|
|
15
|
-
className: "grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-3",
|
|
16
|
-
children: resources.map(resource => jsx(ResourceCard, {
|
|
17
|
-
title: resource.title,
|
|
18
|
-
description: resource.description,
|
|
19
|
-
icon: resource.icon,
|
|
20
|
-
ctaText: resource.ctaText,
|
|
21
|
-
onClick: () => onResourceClick?.(resource.href)
|
|
22
|
-
}, resource.id))
|
|
23
|
-
})]
|
|
24
|
-
})
|
|
25
|
-
});
|
|
26
|
-
};export{ResourcesSection};//# sourceMappingURL=ResourcesSection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourcesSection.js","sources":["../../../../src/pages/LandingPage/components/ResourcesSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"sFAmBO,MAAM,gBAAgB,GAAoC,CAAC;AAC9D,EAAA,KAAA;AAmBJ,EAAE,SAAA;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/SearchBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,cAAc;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAoD9C,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import {jsx,jsxs}from'react/jsx-runtime';import React__default from'react';const SearchBar = ({
|
|
2
|
-
placeholder = 'Search help center',
|
|
3
|
-
onSearch
|
|
4
|
-
}) => {
|
|
5
|
-
const [query, setQuery] = React__default.useState('');
|
|
6
|
-
const handleSearch = e => {
|
|
7
|
-
e.preventDefault();
|
|
8
|
-
if (onSearch && query.trim()) {
|
|
9
|
-
onSearch(query);
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
return jsx("form", {
|
|
13
|
-
onSubmit: handleSearch,
|
|
14
|
-
className: "framer-69ee3 relative w-full max-w-[640px]",
|
|
15
|
-
style: {
|
|
16
|
-
boxSizing: 'border-box',
|
|
17
|
-
WebkitFontSmoothing: 'inherit'
|
|
18
|
-
},
|
|
19
|
-
children: jsxs("div", {
|
|
20
|
-
className: "framer-q2w4o4-container flex w-full h-auto relative",
|
|
21
|
-
children: [jsxs("div", {
|
|
22
|
-
className: "relative flex-1",
|
|
23
|
-
children: [jsx("div", {
|
|
24
|
-
className: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-4",
|
|
25
|
-
children: jsx("svg", {
|
|
26
|
-
className: "h-5 w-5 text-muted-foreground",
|
|
27
|
-
fill: "none",
|
|
28
|
-
viewBox: "0 0 24 24",
|
|
29
|
-
stroke: "currentColor",
|
|
30
|
-
children: jsx("path", {
|
|
31
|
-
strokeLinecap: "round",
|
|
32
|
-
strokeLinejoin: "round",
|
|
33
|
-
strokeWidth: 2,
|
|
34
|
-
d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
|
|
35
|
-
})
|
|
36
|
-
})
|
|
37
|
-
}), jsx("input", {
|
|
38
|
-
type: "text",
|
|
39
|
-
className: "h-[48px] w-full rounded-l-md bg-background py-4 pl-12 pr-3 text-foreground placeholder-muted-foreground outline-none",
|
|
40
|
-
placeholder: placeholder,
|
|
41
|
-
value: query,
|
|
42
|
-
onChange: e => setQuery(e.target.value),
|
|
43
|
-
style: {
|
|
44
|
-
boxSizing: 'border-box'
|
|
45
|
-
}
|
|
46
|
-
})]
|
|
47
|
-
}), jsx("button", {
|
|
48
|
-
type: "submit",
|
|
49
|
-
className: "framer-t1jjto-container rounded-r-md bg-foreground px-8 text-base font-normal text-background h-[48px]",
|
|
50
|
-
style: {
|
|
51
|
-
flex: 'none',
|
|
52
|
-
boxSizing: 'border-box'
|
|
53
|
-
},
|
|
54
|
-
children: "Search"
|
|
55
|
-
})]
|
|
56
|
-
})
|
|
57
|
-
});
|
|
58
|
-
};export{SearchBar};//# sourceMappingURL=SearchBar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBar.js","sources":["../../../../src/pages/LandingPage/components/SearchBar.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"2EAOO,MAAM,SAAS,GAA6B,CAAC;AAChD,EAAA,WAAO,GAAK,oBAAoB;AAEhC,EAAA;;AAEI,EAAA,MAAA,CAAA,eAAgB,CAAA,GAAAA,cAAU,CAAA,QAAK,CAAA,EAAA,CAAA;oBACnB,GAAM,CAAA,IAAE;oBACnB,EAAA;AACL,IAAA,IAAE,QAAA,IAAA,KAAA,CAAA,IAAA,EAAA,EAAA;AAEF,MAAA,QACI,CAAA,KAAA,CAAA;AAyCR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|