@adminide-stack/clock-tik-browser 12.0.17-alpha.0

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.
Files changed (154) hide show
  1. package/lib/components/HelpCenterFooter.d.ts +3 -0
  2. package/lib/components/HelpCenterFooter.d.ts.map +1 -0
  3. package/lib/components/HelpCenterFooter.js +98 -0
  4. package/lib/components/HelpCenterFooter.js.map +1 -0
  5. package/lib/components/HelpCenterHeader.d.ts +7 -0
  6. package/lib/components/HelpCenterHeader.d.ts.map +1 -0
  7. package/lib/components/HelpCenterHeader.js +80 -0
  8. package/lib/components/HelpCenterHeader.js.map +1 -0
  9. package/lib/components/Logo.d.ts +4 -0
  10. package/lib/components/Logo.d.ts.map +1 -0
  11. package/lib/components/Logo.js +105 -0
  12. package/lib/components/Logo.js.map +1 -0
  13. package/lib/components/navbar/index.d.ts +7 -0
  14. package/lib/components/navbar/index.d.ts.map +1 -0
  15. package/lib/components/navbar/index.js +77 -0
  16. package/lib/components/navbar/index.js.map +1 -0
  17. package/lib/compute.d.ts +5 -0
  18. package/lib/compute.d.ts.map +1 -0
  19. package/lib/compute.js +59 -0
  20. package/lib/compute.js.map +1 -0
  21. package/lib/config.d.ts +43 -0
  22. package/lib/config.d.ts.map +1 -0
  23. package/lib/index.d.ts +4 -0
  24. package/lib/index.d.ts.map +1 -0
  25. package/lib/index.js +2 -0
  26. package/lib/index.js.map +1 -0
  27. package/lib/module.d.ts +4 -0
  28. package/lib/module.d.ts.map +1 -0
  29. package/lib/module.js +13 -0
  30. package/lib/module.js.map +1 -0
  31. package/lib/pages/ArticlePage/index.d.ts +4 -0
  32. package/lib/pages/ArticlePage/index.d.ts.map +1 -0
  33. package/lib/pages/ArticlePage/index.js +190 -0
  34. package/lib/pages/ArticlePage/index.js.map +1 -0
  35. package/lib/pages/CategoryCollection/index.d.ts +4 -0
  36. package/lib/pages/CategoryCollection/index.d.ts.map +1 -0
  37. package/lib/pages/CategoryCollection/index.js +121 -0
  38. package/lib/pages/CategoryCollection/index.js.map +1 -0
  39. package/lib/pages/GetStarted/components/ExampleCard.d.ts +10 -0
  40. package/lib/pages/GetStarted/components/ExampleCard.d.ts.map +1 -0
  41. package/lib/pages/GetStarted/components/GetStartedHero.d.ts +8 -0
  42. package/lib/pages/GetStarted/components/GetStartedHero.d.ts.map +1 -0
  43. package/lib/pages/GetStarted/components/InfoSection.d.ts +11 -0
  44. package/lib/pages/GetStarted/components/InfoSection.d.ts.map +1 -0
  45. package/lib/pages/GetStarted/components/TipCard.d.ts +10 -0
  46. package/lib/pages/GetStarted/components/TipCard.d.ts.map +1 -0
  47. package/lib/pages/GetStarted/components/UseCase.d.ts +13 -0
  48. package/lib/pages/GetStarted/components/UseCase.d.ts.map +1 -0
  49. package/lib/pages/GetStarted/index.d.ts +3 -0
  50. package/lib/pages/GetStarted/index.d.ts.map +1 -0
  51. package/lib/pages/GetStarted/index.js +776 -0
  52. package/lib/pages/GetStarted/index.js.map +1 -0
  53. package/lib/pages/HelpCenter/components/BookStack.d.ts +3 -0
  54. package/lib/pages/HelpCenter/components/BookStack.d.ts.map +1 -0
  55. package/lib/pages/HelpCenter/components/BookStack.js +36 -0
  56. package/lib/pages/HelpCenter/components/BookStack.js.map +1 -0
  57. package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts +21 -0
  58. package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts.map +1 -0
  59. package/lib/pages/HelpCenter/components/HelpCategoryCard.js +84 -0
  60. package/lib/pages/HelpCenter/components/HelpCategoryCard.js.map +1 -0
  61. package/lib/pages/HelpCenter/components/Icons.d.ts +22 -0
  62. package/lib/pages/HelpCenter/components/Icons.d.ts.map +1 -0
  63. package/lib/pages/HelpCenter/components/Icons.js +342 -0
  64. package/lib/pages/HelpCenter/components/Icons.js.map +1 -0
  65. package/lib/pages/HelpCenter/components/PopularArticle.d.ts +8 -0
  66. package/lib/pages/HelpCenter/components/PopularArticle.d.ts.map +1 -0
  67. package/lib/pages/HelpCenter/components/PopularArticle.js +51 -0
  68. package/lib/pages/HelpCenter/components/PopularArticle.js.map +1 -0
  69. package/lib/pages/HelpCenter/index.d.ts +4 -0
  70. package/lib/pages/HelpCenter/index.d.ts.map +1 -0
  71. package/lib/pages/HelpCenter/index.js +71 -0
  72. package/lib/pages/HelpCenter/index.js.map +1 -0
  73. package/lib/pages/HelpCenter/mockData.d.ts +8 -0
  74. package/lib/pages/HelpCenter/mockData.d.ts.map +1 -0
  75. package/lib/pages/HelpCenter/mockData.js +13 -0
  76. package/lib/pages/HelpCenter/mockData.js.map +1 -0
  77. package/lib/pages/LandingPage/components/ArticleCard.d.ts +11 -0
  78. package/lib/pages/LandingPage/components/ArticleCard.d.ts.map +1 -0
  79. package/lib/pages/LandingPage/components/ArticleCard.js +29 -0
  80. package/lib/pages/LandingPage/components/ArticleCard.js.map +1 -0
  81. package/lib/pages/LandingPage/components/Assets.d.ts +15 -0
  82. package/lib/pages/LandingPage/components/Assets.d.ts.map +1 -0
  83. package/lib/pages/LandingPage/components/Assets.js +14 -0
  84. package/lib/pages/LandingPage/components/Assets.js.map +1 -0
  85. package/lib/pages/LandingPage/components/CategoriesSection.d.ts +16 -0
  86. package/lib/pages/LandingPage/components/CategoriesSection.d.ts.map +1 -0
  87. package/lib/pages/LandingPage/components/CategoriesSection.js +31 -0
  88. package/lib/pages/LandingPage/components/CategoriesSection.js.map +1 -0
  89. package/lib/pages/LandingPage/components/CategoryCard.d.ts +11 -0
  90. package/lib/pages/LandingPage/components/CategoryCard.d.ts.map +1 -0
  91. package/lib/pages/LandingPage/components/CategoryCard.js +25 -0
  92. package/lib/pages/LandingPage/components/CategoryCard.js.map +1 -0
  93. package/lib/pages/LandingPage/components/FeaturedSection.d.ts +15 -0
  94. package/lib/pages/LandingPage/components/FeaturedSection.d.ts.map +1 -0
  95. package/lib/pages/LandingPage/components/FeaturedSection.js +24 -0
  96. package/lib/pages/LandingPage/components/FeaturedSection.js.map +1 -0
  97. package/lib/pages/LandingPage/components/HeroSection.d.ts +9 -0
  98. package/lib/pages/LandingPage/components/HeroSection.d.ts.map +1 -0
  99. package/lib/pages/LandingPage/components/HeroSection.js +46 -0
  100. package/lib/pages/LandingPage/components/HeroSection.js.map +1 -0
  101. package/lib/pages/LandingPage/components/Icons.d.ts +14 -0
  102. package/lib/pages/LandingPage/components/Icons.d.ts.map +1 -0
  103. package/lib/pages/LandingPage/components/Icons.js +174 -0
  104. package/lib/pages/LandingPage/components/Icons.js.map +1 -0
  105. package/lib/pages/LandingPage/components/ResourceCard.d.ts +12 -0
  106. package/lib/pages/LandingPage/components/ResourceCard.d.ts.map +1 -0
  107. package/lib/pages/LandingPage/components/ResourceCard.js +30 -0
  108. package/lib/pages/LandingPage/components/ResourceCard.js.map +1 -0
  109. package/lib/pages/LandingPage/components/ResourcesSection.d.ts +18 -0
  110. package/lib/pages/LandingPage/components/ResourcesSection.d.ts.map +1 -0
  111. package/lib/pages/LandingPage/components/ResourcesSection.js +26 -0
  112. package/lib/pages/LandingPage/components/ResourcesSection.js.map +1 -0
  113. package/lib/pages/LandingPage/components/SearchBar.d.ts +8 -0
  114. package/lib/pages/LandingPage/components/SearchBar.d.ts.map +1 -0
  115. package/lib/pages/LandingPage/components/SearchBar.js +58 -0
  116. package/lib/pages/LandingPage/components/SearchBar.js.map +1 -0
  117. package/lib/pages/LandingPage/index.d.ts +3 -0
  118. package/lib/pages/LandingPage/index.d.ts.map +1 -0
  119. package/lib/pages/LandingPage/index.js +209 -0
  120. package/lib/pages/LandingPage/index.js.map +1 -0
  121. package/lib/routes.json +58 -0
  122. package/lib/slot-fill/FooterFill.d.ts +3 -0
  123. package/lib/slot-fill/FooterFill.d.ts.map +1 -0
  124. package/lib/slot-fill/FooterFill.js +12 -0
  125. package/lib/slot-fill/FooterFill.js.map +1 -0
  126. package/lib/slot-fill/HeaderSearchButtonFill.d.ts +3 -0
  127. package/lib/slot-fill/HeaderSearchButtonFill.d.ts.map +1 -0
  128. package/lib/slot-fill/LogoFill.d.ts +5 -0
  129. package/lib/slot-fill/LogoFill.d.ts.map +1 -0
  130. package/lib/slot-fill/LogoFill.js +74 -0
  131. package/lib/slot-fill/LogoFill.js.map +1 -0
  132. package/lib/slot-fill/RightContentFill.d.ts +3 -0
  133. package/lib/slot-fill/RightContentFill.d.ts.map +1 -0
  134. package/lib/slot-fill/RightContentFill.js +14 -0
  135. package/lib/slot-fill/RightContentFill.js.map +1 -0
  136. package/lib/slot-fill/SearchBarFill.d.ts +4 -0
  137. package/lib/slot-fill/SearchBarFill.d.ts.map +1 -0
  138. package/lib/slot-fill/consts.d.ts +5 -0
  139. package/lib/slot-fill/consts.d.ts.map +1 -0
  140. package/lib/slot-fill/consts.js +2 -0
  141. package/lib/slot-fill/consts.js.map +1 -0
  142. package/lib/slot-fill/index.d.ts +6 -0
  143. package/lib/slot-fill/index.d.ts.map +1 -0
  144. package/lib/utils/helpCenterUtils.d.ts +26 -0
  145. package/lib/utils/helpCenterUtils.d.ts.map +1 -0
  146. package/lib/utils/index.d.ts +3 -0
  147. package/lib/utils/index.d.ts.map +1 -0
  148. package/lib/utils/index.js +3 -0
  149. package/lib/utils/index.js.map +1 -0
  150. package/lib/utils/markdownLoader.d.ts +32 -0
  151. package/lib/utils/markdownLoader.d.ts.map +1 -0
  152. package/lib/utils/markdownLoader.js +1287 -0
  153. package/lib/utils/markdownLoader.js.map +1 -0
  154. package/package.json +56 -0
@@ -0,0 +1,71 @@
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {useNavigate}from'@remix-run/react';import {HelpCenterHeader}from'../../components/HelpCenterHeader.js';import {HelpCategoryCard}from'./components/HelpCategoryCard.js';import {PopularArticle}from'./components/PopularArticle.js';import {BookStack}from'./components/BookStack.js';import {getAllCategoriesMetadata}from'../../utils/markdownLoader.js';import {popularArticlesMock}from'./mockData.js';const HelpCenterPage = () => {
2
+ const navigate = useNavigate();
3
+ // Get categories from markdown loader
4
+ const helpCategories = getAllCategoriesMetadata();
5
+ const handleSearch = query => {
6
+ console.log('Searching for:', query);
7
+ // Implement search functionality
8
+ };
9
+ const handleCategoryClick = id => {
10
+ console.log('Category clicked:', id);
11
+ // Navigate to category page
12
+ navigate(`/help-center/${id}`);
13
+ };
14
+ return jsxs("div", {
15
+ className: "min-h-screen bg-background text-foreground",
16
+ children: [jsxs("div", {
17
+ className: "flex items-center justify-center overflow-hidden bg-[#057d78] pt-20",
18
+ children: [jsx(HelpCenterHeader, {
19
+ onSearch: handleSearch
20
+ }), jsx(BookStack, {})]
21
+ }), jsxs("main", {
22
+ className: "relative z-10",
23
+ children: [jsx("section", {
24
+ className: "py-20",
25
+ children: jsxs("div", {
26
+ className: "container mx-auto px-6 lg:px-16",
27
+ children: [jsxs("div", {
28
+ className: "mb-16 text-center",
29
+ children: [jsx("h2", {
30
+ className: "mb-4 text-4xl font-light tracking-tight text-foreground",
31
+ children: "Browse by category"
32
+ }), jsx("p", {
33
+ className: "text-lg text-muted-foreground",
34
+ children: "Find answers organized by topic"
35
+ })]
36
+ }), jsx("div", {
37
+ className: "grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-3",
38
+ children: helpCategories.map(category => jsx(HelpCategoryCard, {
39
+ category: category,
40
+ onClick: handleCategoryClick
41
+ }, category.id))
42
+ })]
43
+ })
44
+ }), jsx("section", {
45
+ className: "bg-card py-20",
46
+ children: jsxs("div", {
47
+ className: "container mx-auto px-6 lg:px-16",
48
+ children: [jsxs("div", {
49
+ className: "mb-16 text-center",
50
+ children: [jsx("h2", {
51
+ className: "mb-4 text-4xl font-light tracking-tight text-foreground",
52
+ children: "Popular articles"
53
+ }), jsx("p", {
54
+ className: "text-lg text-muted-foreground",
55
+ children: "Most helpful content from our community"
56
+ })]
57
+ }), jsx("div", {
58
+ className: "max-w-4xl mx-auto",
59
+ children: jsx("div", {
60
+ className: "space-y-3",
61
+ children: popularArticlesMock.map(article => jsx(PopularArticle, {
62
+ title: article.title,
63
+ link: article.link
64
+ }, article.id))
65
+ })
66
+ })]
67
+ })
68
+ })]
69
+ })]
70
+ });
71
+ };export{HelpCenterPage as default};//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/pages/HelpCenter/index.tsx"],"sourcesContent":[null],"names":["_jsxs"],"mappings":"2bASM,MAAA,cAAc,GAAa,MAAK;AAClC,EAAA,MAAA,QAAc,GAAA,WAAc,EAAA;;AAG5B,EAAA,MAAA,cAAoB,GAAA,wBAA2B,EAAA;AAE/C,EAAA,MAAA,YAAkB,GAAA,KAAI;AAClB,IAAA,OAAA,CAAA,GAAO,CAAC,uBAAsB,CAAA;;AAElC,GAAA;AAEA,EAAA,MAAA,mBAAyB,GAAA,EAAG;AACxB,IAAA,OAAA,CAAA,GAAO,CAAC,uBAAuB,CAAE;;AAEjC,IAAA,QAAA,CAAA,CAAA,aAAS,EAAA,EAAA,CAAA,CAAgB,CAAE;AAC/B,GAAA;AAEA,EAAA,OAAAA,IACS,CAAA,KAAA,EAAA;AAiDb,IAAE,SAAA,EAAA,4CAAA;AAEF,IAAA,QAAA,EAAA,CAAeA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ import { HelpCategory } from './components/HelpCategoryCard';
2
+ export declare const helpCategoriesMock: HelpCategory[];
3
+ export declare const popularArticlesMock: {
4
+ id: string;
5
+ title: string;
6
+ link: string;
7
+ }[];
8
+ //# sourceMappingURL=mockData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../src/pages/HelpCenter/mockData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,eAAO,MAAM,kBAAkB,EAAE,YAAY,EAgI5C,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;GAgB/B,CAAC"}
@@ -0,0 +1,13 @@
1
+ const popularArticlesMock = [{
2
+ id: 'what-is-yantra',
3
+ title: 'What is Yantra?',
4
+ link: '/help-center/what-is-yantra'
5
+ }, {
6
+ id: 'getting-started',
7
+ title: 'Getting Started with Yantra',
8
+ link: '/get-started'
9
+ }, {
10
+ id: 'practical-tips',
11
+ title: 'Practical Tips for Using Yantra',
12
+ link: '/help-center/technical-questions'
13
+ }];export{popularArticlesMock};//# sourceMappingURL=mockData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mockData.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface ArticleCardProps {
3
+ title: string;
4
+ description: string;
5
+ ctaText?: string;
6
+ className?: string;
7
+ onClick?: () => void;
8
+ }
9
+ export declare const ArticleCard: React.FC<ArticleCardProps>;
10
+ export {};
11
+ //# sourceMappingURL=ArticleCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArticleCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/ArticleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,gBAAgB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA4BlD,CAAC"}
@@ -0,0 +1,29 @@
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 ArticleCard = ({
2
+ title,
3
+ description,
4
+ ctaText = 'READ MORE',
5
+ className,
6
+ onClick
7
+ }) => {
8
+ return jsxs("div", {
9
+ className: cn('group flex h-full flex-col space-y-4 rounded-lg p-6 transition-colors hover:bg-primary/5', className),
10
+ children: [jsx("h3", {
11
+ className: "text-xl font-medium leading-tight text-foreground",
12
+ children: title
13
+ }), jsx("p", {
14
+ className: "flex-grow text-sm leading-relaxed text-muted-foreground",
15
+ children: description
16
+ }), jsx("div", {
17
+ className: "pt-2",
18
+ children: jsxs(Button, {
19
+ variant: "link",
20
+ className: "h-auto p-0 text-sm font-medium uppercase tracking-wide text-primary hover:text-primary/80",
21
+ onClick: onClick,
22
+ children: [ctaText, ' ', jsx("span", {
23
+ className: "ml-1 transition-transform duration-200 group-hover:translate-x-1",
24
+ children: "\u2192"
25
+ })]
26
+ })
27
+ })]
28
+ });
29
+ };export{ArticleCard};//# sourceMappingURL=ArticleCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ArticleCard.js","sources":["../../../../src/pages/LandingPage/components/ArticleCard.tsx"],"sourcesContent":[null],"names":[],"mappings":"mJAYa,MAAA,WAAW,GAA+B,CAAC;AAOpD,EAAA,KAAA;AAqBJ,EAAE,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ export declare const Images: {
2
+ hero: {
3
+ books: string;
4
+ };
5
+ faq: {
6
+ person: string;
7
+ };
8
+ categories: {
9
+ background: string;
10
+ };
11
+ supply: {
12
+ products: string;
13
+ };
14
+ };
15
+ //# sourceMappingURL=Assets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Assets.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/Assets.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAalB,CAAC"}
@@ -0,0 +1,14 @@
1
+ const Images = {
2
+ hero: {
3
+ books: 'https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?q=80&w=500&auto=format&fit=crop'
4
+ },
5
+ faq: {
6
+ person: 'https://images.unsplash.com/photo-1599566150163-29194dcaad36?q=80&w=500&auto=format&fit=crop'
7
+ },
8
+ categories: {
9
+ background: 'https://images.unsplash.com/photo-1524578271613-d550eacf6090?q=80&w=500&auto=format&fit=crop'
10
+ },
11
+ supply: {
12
+ products: 'https://images.unsplash.com/photo-1525373698358-041e3a460346?q=80&w=500&auto=format&fit=crop'
13
+ }
14
+ };export{Images};//# sourceMappingURL=Assets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Assets.js","sources":["../../../../src/pages/LandingPage/components/Assets.tsx"],"sourcesContent":[null],"names":[],"mappings":"AAAa,MAAA,MAAM,GAAG;AAClB,EAAA,IAAA,EAAI;AACA,IAAA,KAAA,EAAA;AACH,GAAA;AACD,EAAA,GAAA,EAAG;AACC,IAAA,MAAA,EAAA;AACH,GAAA;AACD,EAAA,UAAA,EAAU;AACN,IAAA,UAAA,EAAA;AACH,GAAA;AACD,EAAA,MAAA,EAAM;AACF,IAAA,QAAA,EAAA;AACH;"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ interface Category {
3
+ id: string;
4
+ title: string;
5
+ description: string;
6
+ icon?: React.ReactNode;
7
+ href: string;
8
+ }
9
+ interface CategoriesSectionProps {
10
+ title: string;
11
+ categories: Category[];
12
+ onCategoryClick?: (categoryId: string) => void;
13
+ }
14
+ export declare const CategoriesSection: React.FC<CategoriesSectionProps>;
15
+ export {};
16
+ //# sourceMappingURL=CategoriesSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoriesSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/LandingPage/components/CategoriesSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,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;CAChB;AAED,UAAU,sBAAsB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CAClD;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA2B9D,CAAC"}
@@ -0,0 +1,31 @@
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
@@ -0,0 +1 @@
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,11 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,25 @@
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
@@ -0,0 +1 @@
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;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,15 @@
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
@@ -0,0 +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;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"}
@@ -0,0 +1,24 @@
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
@@ -0,0 +1 @@
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;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface HeroSectionProps {
3
+ title: string;
4
+ subtitle?: string;
5
+ onSearch?: (query: string) => void;
6
+ }
7
+ export declare const HeroSection: React.FC<HeroSectionProps>;
8
+ export {};
9
+ //# sourceMappingURL=HeroSection.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,46 @@
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
@@ -0,0 +1 @@
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,14 @@
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
@@ -0,0 +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;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"}
@@ -0,0 +1,174 @@
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
@@ -0,0 +1 @@
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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"}