@adminide-stack/yantra-help-browser 12.0.16-alpha.1
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/LICENSE +21 -0
- package/lib/components/HelpCenterFooter.d.ts +3 -0
- package/lib/components/HelpCenterFooter.d.ts.map +1 -0
- package/lib/components/HelpCenterFooter.js +98 -0
- package/lib/components/HelpCenterFooter.js.map +1 -0
- package/lib/components/HelpCenterHeader.d.ts +7 -0
- package/lib/components/HelpCenterHeader.d.ts.map +1 -0
- package/lib/components/HelpCenterHeader.js +80 -0
- package/lib/components/HelpCenterHeader.js.map +1 -0
- package/lib/components/Logo.d.ts +4 -0
- package/lib/components/Logo.d.ts.map +1 -0
- package/lib/components/Logo.js +105 -0
- package/lib/components/Logo.js.map +1 -0
- package/lib/components/navbar/index.d.ts +7 -0
- package/lib/components/navbar/index.d.ts.map +1 -0
- package/lib/components/navbar/index.js +77 -0
- package/lib/components/navbar/index.js.map +1 -0
- package/lib/compute.d.ts +5 -0
- package/lib/compute.d.ts.map +1 -0
- package/lib/compute.js +59 -0
- package/lib/compute.js.map +1 -0
- package/lib/config.d.ts +43 -0
- package/lib/config.d.ts.map +1 -0
- package/lib/content/account-management/account-setup.md +74 -0
- package/lib/content/account-management/delete-account.md +74 -0
- package/lib/content/account-management/preferences.md +73 -0
- package/lib/content/account-management/privacy-settings.md +73 -0
- package/lib/content/account-management/profile-settings.md +59 -0
- package/lib/content/data-privacy/data-collection.md +65 -0
- package/lib/content/data-privacy/privacy-policy.md +73 -0
- package/lib/content/data-subject-privacy/data-access.md +88 -0
- package/lib/content/data-subject-privacy/data-portability.md +108 -0
- package/lib/content/data-subject-privacy/privacy-requests.md +80 -0
- package/lib/content/file-uploads/file-upload-overview.md +65 -0
- package/lib/content/getting-started/getting-started-guide.md +65 -0
- package/lib/content/product-features/ai-models.md +84 -0
- package/lib/content/product-features/collaboration-tools.md +59 -0
- package/lib/content/product-features/conversation-features.md +45 -0
- package/lib/content/product-features/export-features.md +59 -0
- package/lib/content/product-features/follow-up-questions.md +59 -0
- package/lib/content/product-features/real-time-search.md +59 -0
- package/lib/content/product-features/saved-searches.md +59 -0
- package/lib/content/product-features/search-features.md +64 -0
- package/lib/content/product-features/search-history.md +59 -0
- package/lib/content/product-features/source-citations.md +59 -0
- package/lib/content/scope-api/api-overview.md +59 -0
- package/lib/content/search-modes/deep-research.md +60 -0
- package/lib/content/search-modes/labs-features.md +73 -0
- package/lib/content/search-modes/pro-search.md +59 -0
- package/lib/content/search-modes/regular-search.md +60 -0
- package/lib/content/spaces-library/spaces-overview.md +60 -0
- package/lib/content/student-hub/academic-research.md +61 -0
- package/lib/content/student-hub/student-discounts.md +74 -0
- package/lib/content/student-hub/student-overview.md +59 -0
- package/lib/content/student-hub/study-tools.md +59 -0
- package/lib/content/subscription-billing/billing-cycle.md +61 -0
- package/lib/content/subscription-billing/billing-overview.md +45 -0
- package/lib/content/subscription-billing/billing-support.md +59 -0
- package/lib/content/subscription-billing/currency-support.md +73 -0
- package/lib/content/subscription-billing/enterprise-pricing.md +60 -0
- package/lib/content/subscription-billing/invoice-management.md +59 -0
- package/lib/content/subscription-billing/payment-methods.md +67 -0
- package/lib/content/subscription-billing/promotional-offers.md +61 -0
- package/lib/content/subscription-billing/refund-policy.md +75 -0
- package/lib/content/subscription-billing/student-discounts.md +74 -0
- package/lib/content/subscription-billing/tax-information.md +59 -0
- package/lib/content/technical-questions/ai-models-technical.md +73 -0
- package/lib/content/technical-questions/api-technical.md +73 -0
- package/lib/content/technical-questions/data-processing.md +73 -0
- package/lib/content/technical-questions/database-architecture.md +73 -0
- package/lib/content/technical-questions/infrastructure.md +73 -0
- package/lib/content/technical-questions/performance-optimization.md +73 -0
- package/lib/content/technical-questions/search-algorithms.md +73 -0
- package/lib/content/technical-questions/technical-overview.md +73 -0
- package/lib/content/threads/conversation-management.md +59 -0
- package/lib/content/threads/threads-overview.md +60 -0
- package/lib/content/troubleshooting/common-issues.md +59 -0
- package/lib/content/what-is-yantra/getting-started-yantra.md +84 -0
- package/lib/content/what-is-yantra/how-yantra-works.md +38 -0
- package/lib/content/what-is-yantra/practical-tips-yantra.md +64 -0
- package/lib/content/what-is-yantra/what-is-yantra-intro.md +32 -0
- package/lib/content/what-is-yantra/yantra-discord-community.md +56 -0
- package/lib/content/yantra-assistant/android-app.md +73 -0
- package/lib/content/yantra-assistant/ios-app.md +74 -0
- package/lib/content/yantra-assistant/mobile-app-overview.md +60 -0
- package/lib/content/yantra-assistant/voice-assistant.md +73 -0
- package/lib/content/yantra-enterprise/admin-dashboard.md +73 -0
- package/lib/content/yantra-enterprise/custom-branding.md +74 -0
- package/lib/content/yantra-enterprise/dedicated-support.md +73 -0
- package/lib/content/yantra-enterprise/enterprise-overview.md +60 -0
- package/lib/content/yantra-enterprise/sso-integration.md +74 -0
- package/lib/content/yantra-enterprise/user-management.md +73 -0
- package/lib/content/yantra-pro-max/billing-management.md +97 -0
- package/lib/content/yantra-pro-max/cancellation-refund.md +93 -0
- package/lib/content/yantra-pro-max/pro-pricing.md +53 -0
- package/lib/content/yantra-pro-max/subscription-benefits.md +61 -0
- package/lib/content/yantra-pro-max/upgrade-process.md +91 -0
- package/lib/content/yantra-pro-max/yantra-max-features.md +48 -0
- package/lib/content/yantra-pro-max/yantra-pro-overview.md +47 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/lib/module.d.ts +4 -0
- package/lib/module.d.ts.map +1 -0
- package/lib/module.js +13 -0
- package/lib/module.js.map +1 -0
- package/lib/pages/ArticlePage/index.d.ts +4 -0
- package/lib/pages/ArticlePage/index.d.ts.map +1 -0
- package/lib/pages/ArticlePage/index.js +190 -0
- package/lib/pages/ArticlePage/index.js.map +1 -0
- package/lib/pages/CategoryCollection/index.d.ts +4 -0
- package/lib/pages/CategoryCollection/index.d.ts.map +1 -0
- package/lib/pages/CategoryCollection/index.js +121 -0
- package/lib/pages/CategoryCollection/index.js.map +1 -0
- package/lib/pages/GetStarted/components/ExampleCard.d.ts +10 -0
- package/lib/pages/GetStarted/components/ExampleCard.d.ts.map +1 -0
- package/lib/pages/GetStarted/components/GetStartedHero.d.ts +8 -0
- package/lib/pages/GetStarted/components/GetStartedHero.d.ts.map +1 -0
- package/lib/pages/GetStarted/components/InfoSection.d.ts +11 -0
- package/lib/pages/GetStarted/components/InfoSection.d.ts.map +1 -0
- package/lib/pages/GetStarted/components/TipCard.d.ts +10 -0
- package/lib/pages/GetStarted/components/TipCard.d.ts.map +1 -0
- package/lib/pages/GetStarted/components/UseCase.d.ts +13 -0
- package/lib/pages/GetStarted/components/UseCase.d.ts.map +1 -0
- package/lib/pages/GetStarted/index.d.ts +3 -0
- package/lib/pages/GetStarted/index.d.ts.map +1 -0
- package/lib/pages/GetStarted/index.js +776 -0
- package/lib/pages/GetStarted/index.js.map +1 -0
- package/lib/pages/HelpCenter/components/BookStack.d.ts +3 -0
- package/lib/pages/HelpCenter/components/BookStack.d.ts.map +1 -0
- package/lib/pages/HelpCenter/components/BookStack.js +36 -0
- package/lib/pages/HelpCenter/components/BookStack.js.map +1 -0
- package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts +21 -0
- package/lib/pages/HelpCenter/components/HelpCategoryCard.d.ts.map +1 -0
- package/lib/pages/HelpCenter/components/HelpCategoryCard.js +84 -0
- package/lib/pages/HelpCenter/components/HelpCategoryCard.js.map +1 -0
- package/lib/pages/HelpCenter/components/Icons.d.ts +22 -0
- package/lib/pages/HelpCenter/components/Icons.d.ts.map +1 -0
- package/lib/pages/HelpCenter/components/Icons.js +342 -0
- package/lib/pages/HelpCenter/components/Icons.js.map +1 -0
- package/lib/pages/HelpCenter/components/PopularArticle.d.ts +8 -0
- package/lib/pages/HelpCenter/components/PopularArticle.d.ts.map +1 -0
- package/lib/pages/HelpCenter/components/PopularArticle.js +51 -0
- package/lib/pages/HelpCenter/components/PopularArticle.js.map +1 -0
- package/lib/pages/HelpCenter/index.d.ts +4 -0
- package/lib/pages/HelpCenter/index.d.ts.map +1 -0
- package/lib/pages/HelpCenter/index.js +71 -0
- package/lib/pages/HelpCenter/index.js.map +1 -0
- package/lib/pages/HelpCenter/mockData.d.ts +8 -0
- package/lib/pages/HelpCenter/mockData.d.ts.map +1 -0
- package/lib/pages/HelpCenter/mockData.js +13 -0
- package/lib/pages/HelpCenter/mockData.js.map +1 -0
- package/lib/pages/LandingPage/components/ArticleCard.d.ts +11 -0
- package/lib/pages/LandingPage/components/ArticleCard.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/ArticleCard.js +29 -0
- package/lib/pages/LandingPage/components/ArticleCard.js.map +1 -0
- package/lib/pages/LandingPage/components/Assets.d.ts +15 -0
- package/lib/pages/LandingPage/components/Assets.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/Assets.js +14 -0
- package/lib/pages/LandingPage/components/Assets.js.map +1 -0
- package/lib/pages/LandingPage/components/CategoriesSection.d.ts +16 -0
- package/lib/pages/LandingPage/components/CategoriesSection.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/CategoriesSection.js +31 -0
- package/lib/pages/LandingPage/components/CategoriesSection.js.map +1 -0
- package/lib/pages/LandingPage/components/CategoryCard.d.ts +11 -0
- package/lib/pages/LandingPage/components/CategoryCard.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/CategoryCard.js +25 -0
- package/lib/pages/LandingPage/components/CategoryCard.js.map +1 -0
- package/lib/pages/LandingPage/components/FeaturedSection.d.ts +15 -0
- package/lib/pages/LandingPage/components/FeaturedSection.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/FeaturedSection.js +24 -0
- package/lib/pages/LandingPage/components/FeaturedSection.js.map +1 -0
- package/lib/pages/LandingPage/components/HeroSection.d.ts +9 -0
- package/lib/pages/LandingPage/components/HeroSection.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/HeroSection.js +46 -0
- package/lib/pages/LandingPage/components/HeroSection.js.map +1 -0
- package/lib/pages/LandingPage/components/Icons.d.ts +14 -0
- package/lib/pages/LandingPage/components/Icons.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/Icons.js +174 -0
- package/lib/pages/LandingPage/components/Icons.js.map +1 -0
- package/lib/pages/LandingPage/components/ResourceCard.d.ts +12 -0
- package/lib/pages/LandingPage/components/ResourceCard.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/ResourceCard.js +30 -0
- package/lib/pages/LandingPage/components/ResourceCard.js.map +1 -0
- package/lib/pages/LandingPage/components/ResourcesSection.d.ts +18 -0
- package/lib/pages/LandingPage/components/ResourcesSection.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/ResourcesSection.js +26 -0
- package/lib/pages/LandingPage/components/ResourcesSection.js.map +1 -0
- package/lib/pages/LandingPage/components/SearchBar.d.ts +8 -0
- package/lib/pages/LandingPage/components/SearchBar.d.ts.map +1 -0
- package/lib/pages/LandingPage/components/SearchBar.js +58 -0
- package/lib/pages/LandingPage/components/SearchBar.js.map +1 -0
- package/lib/pages/LandingPage/index.d.ts +3 -0
- package/lib/pages/LandingPage/index.d.ts.map +1 -0
- package/lib/pages/LandingPage/index.js +209 -0
- package/lib/pages/LandingPage/index.js.map +1 -0
- package/lib/routes.json +58 -0
- package/lib/slot-fill/FooterFill.d.ts +3 -0
- package/lib/slot-fill/FooterFill.d.ts.map +1 -0
- package/lib/slot-fill/FooterFill.js +12 -0
- package/lib/slot-fill/FooterFill.js.map +1 -0
- package/lib/slot-fill/HeaderSearchButtonFill.d.ts +3 -0
- package/lib/slot-fill/HeaderSearchButtonFill.d.ts.map +1 -0
- package/lib/slot-fill/LogoFill.d.ts +5 -0
- package/lib/slot-fill/LogoFill.d.ts.map +1 -0
- package/lib/slot-fill/LogoFill.js +74 -0
- package/lib/slot-fill/LogoFill.js.map +1 -0
- package/lib/slot-fill/RightContentFill.d.ts +3 -0
- package/lib/slot-fill/RightContentFill.d.ts.map +1 -0
- package/lib/slot-fill/RightContentFill.js +14 -0
- package/lib/slot-fill/RightContentFill.js.map +1 -0
- package/lib/slot-fill/SearchBarFill.d.ts +4 -0
- package/lib/slot-fill/SearchBarFill.d.ts.map +1 -0
- package/lib/slot-fill/consts.d.ts +5 -0
- package/lib/slot-fill/consts.d.ts.map +1 -0
- package/lib/slot-fill/consts.js +2 -0
- package/lib/slot-fill/consts.js.map +1 -0
- package/lib/slot-fill/index.d.ts +6 -0
- package/lib/slot-fill/index.d.ts.map +1 -0
- package/lib/utils/helpCenterUtils.d.ts +26 -0
- package/lib/utils/helpCenterUtils.d.ts.map +1 -0
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.js +3 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/markdownLoader.d.ts +32 -0
- package/lib/utils/markdownLoader.d.ts.map +1 -0
- package/lib/utils/markdownLoader.js +1287 -0
- package/lib/utils/markdownLoader.js.map +1 -0
- package/package.json +58 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 CDMBase LLC.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpCenterFooter.d.ts","sourceRoot":"","sources":["../../src/components/HelpCenterFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EA+CpC,CAAC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';const HelpCenterFooter = () => {
|
|
2
|
+
return jsx("footer", {
|
|
3
|
+
className: "bg-muted py-16",
|
|
4
|
+
children: jsxs("div", {
|
|
5
|
+
className: "container mx-auto px-16",
|
|
6
|
+
children: [jsxs("div", {
|
|
7
|
+
className: "mb-10",
|
|
8
|
+
children: [jsx("h2", {
|
|
9
|
+
className: "text-center text-2xl font-bold text-foreground",
|
|
10
|
+
children: "Yantra Help Center"
|
|
11
|
+
}), jsx("p", {
|
|
12
|
+
className: "text-center text-sm text-muted-foreground",
|
|
13
|
+
children: "Where Knowledge Begins"
|
|
14
|
+
})]
|
|
15
|
+
}), jsxs("div", {
|
|
16
|
+
className: "mb-8 flex flex-wrap justify-center gap-8 text-sm text-muted-foreground",
|
|
17
|
+
children: [jsx("a", {
|
|
18
|
+
href: "#",
|
|
19
|
+
className: "hover:text-primary",
|
|
20
|
+
children: "Visit our Blog"
|
|
21
|
+
}), jsx("a", {
|
|
22
|
+
href: "#",
|
|
23
|
+
className: "hover:text-primary",
|
|
24
|
+
children: "Careers"
|
|
25
|
+
}), jsx("a", {
|
|
26
|
+
href: "#",
|
|
27
|
+
className: "hover:text-primary",
|
|
28
|
+
children: "Privacy Policy"
|
|
29
|
+
}), jsx("a", {
|
|
30
|
+
href: "#",
|
|
31
|
+
className: "hover:text-primary",
|
|
32
|
+
children: "Terms of Service"
|
|
33
|
+
}), jsx("a", {
|
|
34
|
+
href: "#",
|
|
35
|
+
className: "hover:text-primary",
|
|
36
|
+
children: "Security"
|
|
37
|
+
}), jsx("a", {
|
|
38
|
+
href: "#",
|
|
39
|
+
className: "hover:text-primary",
|
|
40
|
+
children: "Give us Feedback"
|
|
41
|
+
})]
|
|
42
|
+
}), jsxs("div", {
|
|
43
|
+
className: "mb-8 flex justify-center space-x-6",
|
|
44
|
+
children: [jsxs("a", {
|
|
45
|
+
href: "#",
|
|
46
|
+
className: "text-muted-foreground hover:text-primary",
|
|
47
|
+
children: [jsx("span", {
|
|
48
|
+
className: "sr-only",
|
|
49
|
+
children: "Twitter"
|
|
50
|
+
}), jsx("svg", {
|
|
51
|
+
className: "h-6 w-6",
|
|
52
|
+
fill: "currentColor",
|
|
53
|
+
viewBox: "0 0 24 24",
|
|
54
|
+
"aria-hidden": "true",
|
|
55
|
+
children: jsx("path", {
|
|
56
|
+
d: "M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"
|
|
57
|
+
})
|
|
58
|
+
})]
|
|
59
|
+
}), jsxs("a", {
|
|
60
|
+
href: "#",
|
|
61
|
+
className: "text-muted-foreground hover:text-primary",
|
|
62
|
+
children: [jsx("span", {
|
|
63
|
+
className: "sr-only",
|
|
64
|
+
children: "LinkedIn"
|
|
65
|
+
}), jsx("svg", {
|
|
66
|
+
className: "h-6 w-6",
|
|
67
|
+
fill: "currentColor",
|
|
68
|
+
viewBox: "0 0 24 24",
|
|
69
|
+
"aria-hidden": "true",
|
|
70
|
+
children: jsx("path", {
|
|
71
|
+
d: "M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"
|
|
72
|
+
})
|
|
73
|
+
})]
|
|
74
|
+
}), jsxs("a", {
|
|
75
|
+
href: "#",
|
|
76
|
+
className: "text-muted-foreground hover:text-primary",
|
|
77
|
+
children: [jsx("span", {
|
|
78
|
+
className: "sr-only",
|
|
79
|
+
children: "GitHub"
|
|
80
|
+
}), jsx("svg", {
|
|
81
|
+
className: "h-6 w-6",
|
|
82
|
+
fill: "currentColor",
|
|
83
|
+
viewBox: "0 0 24 24",
|
|
84
|
+
"aria-hidden": "true",
|
|
85
|
+
children: jsx("path", {
|
|
86
|
+
fillRule: "evenodd",
|
|
87
|
+
d: "M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z",
|
|
88
|
+
clipRule: "evenodd"
|
|
89
|
+
})
|
|
90
|
+
})]
|
|
91
|
+
})]
|
|
92
|
+
}), jsxs("div", {
|
|
93
|
+
className: "text-center text-xs text-muted-foreground",
|
|
94
|
+
children: ["\u00A9 Copyright ", new Date().getFullYear(), " Yantra \u2022 All rights reserved"]
|
|
95
|
+
})]
|
|
96
|
+
})
|
|
97
|
+
});
|
|
98
|
+
};export{HelpCenterFooter};//# sourceMappingURL=HelpCenterFooter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpCenterFooter.js","sources":["../../src/components/HelpCenterFooter.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"yCAEO,MAAM,gBAAgB,GAAa,MAAK;SACtCA,GACG,CAAA,QAAA,EAAA;AA6CZ,IAAE,SAAA,EAAA,gBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpCenterHeader.d.ts","sourceRoot":"","sources":["../../src/components/HelpCenterHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA2E5D,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';import {useState}from'react';const HelpCenterHeader = ({
|
|
2
|
+
onSearch
|
|
3
|
+
}) => {
|
|
4
|
+
const [searchQuery, setSearchQuery] = useState('');
|
|
5
|
+
const handleSearch = e => {
|
|
6
|
+
e.preventDefault();
|
|
7
|
+
if (onSearch && searchQuery.trim()) {
|
|
8
|
+
onSearch(searchQuery);
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
return jsxs("div", {
|
|
12
|
+
className: "relative overflow-hidden w-full ",
|
|
13
|
+
children: [jsx("div", {
|
|
14
|
+
className: "absolute inset-0 bg-[#057d78]",
|
|
15
|
+
children: jsx("div", {
|
|
16
|
+
className: "absolute inset-0 opacity-20",
|
|
17
|
+
style: {
|
|
18
|
+
backgroundImage: `radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0)`,
|
|
19
|
+
backgroundSize: '20px 20px'
|
|
20
|
+
}
|
|
21
|
+
})
|
|
22
|
+
}), jsx("div", {
|
|
23
|
+
className: "relative z-10 mx-auto flex min-h-[500px] max-w-7xl flex-col items-center justify-center px-6 pt-20 text-center lg:px-16",
|
|
24
|
+
children: jsxs("div", {
|
|
25
|
+
className: "max-w-4xl",
|
|
26
|
+
children: [jsx("h1", {
|
|
27
|
+
className: "mb-6 text-5xl font-light leading-[1.1] tracking-tight text-white lg:text-7xl",
|
|
28
|
+
children: "How can we help?"
|
|
29
|
+
}), jsx("p", {
|
|
30
|
+
className: "mb-12 text-xl font-normal text-white/80 lg:text-2xl",
|
|
31
|
+
children: "Get answers to all things Yantra."
|
|
32
|
+
}), jsx("form", {
|
|
33
|
+
onSubmit: handleSearch,
|
|
34
|
+
className: "relative w-full max-w-2xl mx-auto",
|
|
35
|
+
children: jsxs("div", {
|
|
36
|
+
className: "flex w-full rounded-2xl bg-white shadow-2xl overflow-hidden",
|
|
37
|
+
children: [jsxs("div", {
|
|
38
|
+
className: "relative flex-1",
|
|
39
|
+
children: [jsx("div", {
|
|
40
|
+
className: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-6",
|
|
41
|
+
children: jsx("svg", {
|
|
42
|
+
className: "h-6 w-6 text-gray-400",
|
|
43
|
+
fill: "none",
|
|
44
|
+
viewBox: "0 0 24 24",
|
|
45
|
+
stroke: "currentColor",
|
|
46
|
+
children: jsx("path", {
|
|
47
|
+
strokeLinecap: "round",
|
|
48
|
+
strokeLinejoin: "round",
|
|
49
|
+
strokeWidth: 2,
|
|
50
|
+
d: "M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
|
|
51
|
+
})
|
|
52
|
+
})
|
|
53
|
+
}), jsx("input", {
|
|
54
|
+
type: "text",
|
|
55
|
+
className: "h-16 w-full bg-transparent py-6 pl-16 pr-6 text-lg text-gray-900 placeholder-gray-500 outline-none",
|
|
56
|
+
placeholder: "Search help center...",
|
|
57
|
+
value: searchQuery,
|
|
58
|
+
onChange: e => setSearchQuery(e.target.value)
|
|
59
|
+
})]
|
|
60
|
+
}), jsx("button", {
|
|
61
|
+
type: "submit",
|
|
62
|
+
className: "flex items-center justify-center rounded-r-2xl bg-gray-900 px-8 text-lg font-medium text-white transition-colors hover:bg-gray-800",
|
|
63
|
+
children: "Search"
|
|
64
|
+
})]
|
|
65
|
+
})
|
|
66
|
+
}), jsxs("div", {
|
|
67
|
+
className: "mt-8 flex flex-wrap justify-center gap-3",
|
|
68
|
+
children: [jsx("span", {
|
|
69
|
+
className: "text-sm text-white/60",
|
|
70
|
+
children: "Popular:"
|
|
71
|
+
}), ['Getting started', 'Account setup', 'API documentation', 'Troubleshooting'].map(term => jsx("button", {
|
|
72
|
+
onClick: () => setSearchQuery(term),
|
|
73
|
+
className: "rounded-full bg-white/10 px-4 py-2 text-sm text-white/80 transition-colors hover:bg-white/20 hover:text-white",
|
|
74
|
+
children: term
|
|
75
|
+
}, term))]
|
|
76
|
+
})]
|
|
77
|
+
})
|
|
78
|
+
})]
|
|
79
|
+
});
|
|
80
|
+
};export{HelpCenterHeader};//# sourceMappingURL=HelpCenterHeader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpCenterHeader.js","sources":["../../src/components/HelpCenterHeader.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"4EAMa,gBAAgB,GAAoC,CAAC;;AAKhE,CAAA,KAAA;QACE,CAAC,WAAe,EAAA,cAAG,CAAA,GAAA,QAAA,CAAA,EAAA,CAAA;AACnB,EAAA,MAAA,YAAY,GAAI,CAAA,IAAA;oBACN,EAAY;QACtB,QAAC,IAAA,WAAA,CAAA,IAAA,EAAA,EAAA;AACH,MAAE,QAAA,CAAA,WAAA,CAAA;AAEF;AAKQ,GAAA;AACA,EAAA,OAAAA,IAAA,CAAA,KAAA,EAAA;AACD,IAAA,SAAA,EAAA;AAwDT,IAAE,QAAA,EAAA,CAAAC,GAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAC;AAEzF,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAoIrC,CAAC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';const Logo = props => {
|
|
2
|
+
const {
|
|
3
|
+
settings,
|
|
4
|
+
logo,
|
|
5
|
+
scrolled,
|
|
6
|
+
location
|
|
7
|
+
} = props;
|
|
8
|
+
const fill = !scrolled ? '#fff' : settings?.navTheme === 'dark' ? '#fff' : 'black';
|
|
9
|
+
return jsxs("svg", {
|
|
10
|
+
version: "1.1",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
x: "0px",
|
|
13
|
+
y: "0px",
|
|
14
|
+
viewBox: "0 0 700 250",
|
|
15
|
+
width: "100%",
|
|
16
|
+
height: "60",
|
|
17
|
+
children: [jsx("style", {
|
|
18
|
+
type: "text/css",
|
|
19
|
+
children: ` .st0{display:none;}
|
|
20
|
+
.st1{display:inline;}
|
|
21
|
+
.st2{display:inline;fill:#EAB12B;}
|
|
22
|
+
.st3{fill:${fill}; visibility:visible; transition: none !important;}
|
|
23
|
+
.st4{fill:#39C5EF;}
|
|
24
|
+
.st5{fill:#EAB12B;}
|
|
25
|
+
.st6{fill:#DF1E5B;}
|
|
26
|
+
.st7{fill:#31B57E;}
|
|
27
|
+
|
|
28
|
+
@media screen and (max-width: 769px) {
|
|
29
|
+
.st3 {
|
|
30
|
+
visibility: hidden !important;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`
|
|
34
|
+
}), jsx("g", {
|
|
35
|
+
id: "Backgrounds",
|
|
36
|
+
className: "st0",
|
|
37
|
+
children: jsx("rect", {
|
|
38
|
+
x: "0",
|
|
39
|
+
y: "0",
|
|
40
|
+
className: "st1",
|
|
41
|
+
width: "576.69",
|
|
42
|
+
height: "251.94"
|
|
43
|
+
})
|
|
44
|
+
}), jsx("g", {
|
|
45
|
+
id: "Layer_1",
|
|
46
|
+
children: jsxs("g", {
|
|
47
|
+
children: [jsx("g", {
|
|
48
|
+
children: jsxs("g", {
|
|
49
|
+
children: [jsx("path", {
|
|
50
|
+
className: "st3",
|
|
51
|
+
d: "M453.74,184.47c-1.55,0-2.96-0.33-4.22-1c-1.26-0.67-2.26-1.64-3-2.92c-0.74-1.27-1.1-2.86-1.1-4.75\n c0-1.87,0.39-3.47,1.16-4.81c0.77-1.34,1.79-2.37,3.06-3.1c1.26-0.72,2.66-1.08,4.18-1.08c1.58,0,2.87,0.33,3.88,1\n c1.01,0.67,1.81,1.47,2.39,2.39l-0.24,0.59l0.35-3.23h3.75v16.48h-4.02v-4.18l0.39,1.03c-0.11,0.18-0.33,0.47-0.67,0.87\n s-0.79,0.8-1.36,1.22c-0.57,0.42-1.23,0.78-1.99,1.06C455.54,184.32,454.68,184.47,453.74,184.47z M454.84,181.12\n c0.87,0,1.64-0.16,2.33-0.47c0.68-0.32,1.26-0.75,1.74-1.32c0.47-0.57,0.81-1.26,1.03-2.07v-3.43\n c-0.21-0.71-0.57-1.34-1.08-1.89c-0.51-0.55-1.12-0.99-1.81-1.32c-0.7-0.33-1.47-0.49-2.31-0.49c-0.95,0-1.82,0.24-2.62,0.71\n c-0.8,0.47-1.43,1.11-1.87,1.91c-0.45,0.8-0.67,1.75-0.67,2.86c0,1.03,0.24,1.96,0.71,2.8c0.47,0.84,1.12,1.5,1.93,1.99\n C453.01,180.87,453.89,181.12,454.84,181.12z"
|
|
52
|
+
}), jsx("path", {
|
|
53
|
+
className: "st3",
|
|
54
|
+
d: "M477.71,184.47c-1.21,0-2.37-0.28-3.49-0.83c-1.12-0.55-1.98-1.29-2.58-2.21l0.2-1.22v11.75h-4.02v-24.69\n h3.47l0.59,3.98l-0.43-1.18c0.84-0.92,1.85-1.7,3.04-2.33c1.18-0.63,2.51-0.95,3.98-0.95c1.55,0,2.94,0.37,4.18,1.1\n c1.24,0.74,2.21,1.77,2.92,3.1c0.71,1.33,1.06,2.9,1.06,4.71c0,1.81-0.39,3.37-1.16,4.67c-0.78,1.3-1.84,2.31-3.19,3.02\n C480.91,184.11,479.39,184.47,477.71,184.47z M476.88,181.24c1.05,0,2-0.23,2.84-0.69c0.84-0.46,1.52-1.11,2.03-1.95\n s0.77-1.78,0.77-2.8c0-1.1-0.24-2.06-0.73-2.88s-1.13-1.46-1.93-1.93c-0.8-0.47-1.69-0.71-2.66-0.71\n c-0.92,0-1.74,0.17-2.45,0.49c-0.71,0.33-1.31,0.78-1.81,1.36c-0.5,0.58-0.85,1.26-1.07,2.05v3.04\n c0.16,0.79,0.47,1.49,0.95,2.09c0.47,0.61,1.06,1.08,1.77,1.42C475.31,181.06,476.07,181.24,476.88,181.24z"
|
|
55
|
+
}), jsx("path", {
|
|
56
|
+
className: "st3",
|
|
57
|
+
d: "M498.97,184.47c-1.21,0-2.37-0.28-3.49-0.83c-1.12-0.55-1.98-1.29-2.58-2.21l0.2-1.22v11.75h-4.02v-24.69\n h3.47l0.59,3.98l-0.43-1.18c0.84-0.92,1.85-1.7,3.04-2.33c1.18-0.63,2.51-0.95,3.98-0.95c1.55,0,2.94,0.37,4.18,1.1\n c1.24,0.74,2.21,1.77,2.92,3.1c0.71,1.33,1.06,2.9,1.06,4.71c0,1.81-0.39,3.37-1.16,4.67c-0.78,1.3-1.84,2.31-3.19,3.02\n C502.17,184.11,500.65,184.47,498.97,184.47z M498.14,181.24c1.05,0,2-0.23,2.84-0.69c0.84-0.46,1.52-1.11,2.03-1.95\n s0.77-1.78,0.77-2.8c0-1.1-0.24-2.06-0.73-2.88s-1.13-1.46-1.93-1.93c-0.8-0.47-1.69-0.71-2.66-0.71\n c-0.92,0-1.74,0.17-2.45,0.49c-0.71,0.33-1.31,0.78-1.81,1.36c-0.5,0.58-0.85,1.26-1.07,2.05v3.04\n c0.16,0.79,0.47,1.49,0.95,2.09c0.47,0.61,1.06,1.08,1.77,1.42C496.56,181.06,497.32,181.24,498.14,181.24z"
|
|
58
|
+
})]
|
|
59
|
+
})
|
|
60
|
+
}), jsx("polygon", {
|
|
61
|
+
className: "st4",
|
|
62
|
+
points: "141.44,80.33 112.7,80.33 127.07,55.91 \t\t"
|
|
63
|
+
}), jsx("polygon", {
|
|
64
|
+
className: "st4",
|
|
65
|
+
points: "154.26,102.1 99.88,102.1 109.05,86.53 145.09,86.53 \t\t"
|
|
66
|
+
}), jsx("path", {
|
|
67
|
+
className: "st5",
|
|
68
|
+
d: "M157.9,108.3H96.23l-1.49,2.54l32.33,44.33l32.33-44.33L157.9,108.3z M127.07,130.9\n c-3.25,0-5.88-2.64-5.88-5.88c0-3.25,2.64-5.88,5.88-5.88c3.26,0,5.89,2.64,5.89,5.88C132.96,128.26,130.32,130.9,127.07,130.9z"
|
|
69
|
+
}), jsx("polygon", {
|
|
70
|
+
className: "st6",
|
|
71
|
+
points: "66.87,158.19 78.09,139.13 91.76,158.19 \t\t"
|
|
72
|
+
}), jsx("polygon", {
|
|
73
|
+
className: "st6",
|
|
74
|
+
points: "121.6,158.19 99.4,158.19 81.53,133.29 91.31,116.66 \t\t"
|
|
75
|
+
}), jsx("polygon", {
|
|
76
|
+
className: "st7",
|
|
77
|
+
points: "172.61,133.29 154.74,158.19 132.54,158.19 162.83,116.66 \t\t"
|
|
78
|
+
}), jsx("polygon", {
|
|
79
|
+
className: "st7",
|
|
80
|
+
points: "187.27,158.19 162.37,158.19 176.05,139.13 \t\t"
|
|
81
|
+
}), jsx("path", {
|
|
82
|
+
className: "st3",
|
|
83
|
+
d: "M284.76,156.66c-4.35,0-8.3-0.87-11.83-2.62c-3.53-1.75-6.33-4.44-8.4-8.08c-2.07-3.64-3.1-8.28-3.1-13.92\n c0-5.28,1.07-9.85,3.21-13.7c2.14-3.85,4.96-6.83,8.46-8.94c3.5-2.1,7.21-3.16,11.13-3.16c4.64,0,8.15,0.77,10.54,2.3\n c2.39,1.54,4.37,3.23,5.94,5.08l-0.64,1.82l1.39-6.85h13.92v46.78h-14.99V145.2l1.18,3.21c-0.14,0-0.57,0.41-1.28,1.23\n c-0.71,0.82-1.77,1.78-3.16,2.89c-1.39,1.11-3.1,2.07-5.14,2.89C289.95,156.25,287.54,156.66,284.76,156.66z M289.04,144.46\n c1.78,0,3.39-0.27,4.82-0.8c1.43-0.54,2.68-1.32,3.75-2.36c1.07-1.03,2-2.34,2.78-3.91v-11.45c-0.57-1.57-1.43-2.91-2.57-4.01\n c-1.14-1.11-2.5-1.96-4.07-2.57c-1.57-0.61-3.32-0.91-5.24-0.91c-2.14,0-4.12,0.55-5.94,1.66c-1.82,1.11-3.26,2.62-4.34,4.55\n c-1.07,1.93-1.61,4.14-1.61,6.64c0,2.5,0.57,4.75,1.71,6.74c1.14,2,2.66,3.57,4.55,4.71\n C284.77,143.89,286.82,144.46,289.04,144.46z"
|
|
84
|
+
}), jsx("path", {
|
|
85
|
+
className: "st3",
|
|
86
|
+
d: "M336.26,108.6l1.18,8.35l-0.21-0.75c1.64-2.93,3.96-5.3,6.96-7.12c3-1.82,6.67-2.73,11.03-2.73\n c4.42,0,8.12,1.3,11.08,3.91c2.96,2.61,4.48,5.98,4.55,10.12v35h-14.99v-29.44c-0.07-2.07-0.63-3.73-1.66-4.98\n c-1.04-1.25-2.77-1.87-5.19-1.87c-2.28,0-4.28,0.75-5.99,2.25c-1.71,1.5-3.03,3.53-3.96,6.1c-0.93,2.57-1.39,5.53-1.39,8.88v19.05\n h-14.99V108.6H336.26z"
|
|
87
|
+
}), jsx("path", {
|
|
88
|
+
className: "st3",
|
|
89
|
+
d: "M384.78,88.05h14.99v20.34h11.35v11.67h-11.35v35.32h-14.99v-35.32h-7.28v-11.67h7.28V88.05z"
|
|
90
|
+
}), jsx("path", {
|
|
91
|
+
className: "st3",
|
|
92
|
+
d: "M431.88,108.6l1.39,12.84l-0.32-1.93c1.36-2.78,3.21-5.15,5.57-7.12c2.35-1.96,4.69-3.48,7.01-4.55\n c2.32-1.07,4.08-1.61,5.3-1.61l-0.75,14.99c-3.5-0.43-6.49,0.14-8.99,1.71c-2.5,1.57-4.43,3.64-5.78,6.21\n c-1.36,2.57-2.03,5.21-2.03,7.92v18.3h-14.88V108.6H431.88z"
|
|
93
|
+
}), jsx("path", {
|
|
94
|
+
className: "st3",
|
|
95
|
+
d: "M477.33,156.66c-4.35,0-8.3-0.87-11.83-2.62c-3.53-1.75-6.33-4.44-8.4-8.08c-2.07-3.64-3.1-8.28-3.1-13.92\n c0-5.28,1.07-9.85,3.21-13.7c2.14-3.85,4.96-6.83,8.46-8.94c3.5-2.1,7.21-3.16,11.13-3.16c4.64,0,8.15,0.77,10.54,2.3\n c2.39,1.54,4.37,3.23,5.94,5.08l-0.64,1.82l1.39-6.85h13.92v46.78h-14.99V145.2l1.18,3.21c-0.14,0-0.57,0.41-1.28,1.23\n c-0.71,0.82-1.77,1.78-3.16,2.89c-1.39,1.11-3.1,2.07-5.14,2.89C482.52,156.25,480.11,156.66,477.33,156.66z M481.61,144.46\n c1.78,0,3.39-0.27,4.82-0.8c1.43-0.54,2.68-1.32,3.75-2.36c1.07-1.03,2-2.34,2.78-3.91v-11.45c-0.57-1.57-1.43-2.91-2.57-4.01\n c-1.14-1.11-2.5-1.96-4.07-2.57c-1.57-0.61-3.32-0.91-5.24-0.91c-2.14,0-4.12,0.55-5.94,1.66c-1.82,1.11-3.26,2.62-4.34,4.55\n c-1.07,1.93-1.61,4.14-1.61,6.64c0,2.5,0.57,4.75,1.71,6.74c1.14,2,2.66,3.57,4.55,4.71\n C477.34,143.89,479.39,144.46,481.61,144.46z"
|
|
96
|
+
}), jsx("g", {
|
|
97
|
+
children: jsx("path", {
|
|
98
|
+
className: "st3",
|
|
99
|
+
d: "M230.13,155.62l-22.91-46.99h16.8l17.66,39.5L230.13,155.62z M217.61,177.88l31.15-69.25h13.49l-30.18,69.25\n H217.61z"
|
|
100
|
+
})
|
|
101
|
+
})]
|
|
102
|
+
})
|
|
103
|
+
})]
|
|
104
|
+
});
|
|
105
|
+
};export{Logo};//# sourceMappingURL=Logo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Logo.js","sources":["../../src/components/Logo.tsx"],"sourcesContent":[null],"names":[],"mappings":"yCAGa,MAAA,IAAI,GAAyB,KAAC,IAAS;QAC1C;IACN,QAAM;AAEN,IAAA,IAAA;;;;;;;;;;;;;;UA0BgB,EAAA;AAsGpB,MAAE,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/navbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA2BxC,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAqFtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';import {useState}from'react';import {useLocation,Link}from'@remix-run/react';const navItems = [{
|
|
2
|
+
key: 'home',
|
|
3
|
+
label: 'Home',
|
|
4
|
+
path: '/'
|
|
5
|
+
}, {
|
|
6
|
+
key: 'get-started',
|
|
7
|
+
label: 'Get Started',
|
|
8
|
+
path: '/get-started'
|
|
9
|
+
}, {
|
|
10
|
+
key: 'help-center',
|
|
11
|
+
label: 'Help Center',
|
|
12
|
+
path: '/help-center'
|
|
13
|
+
}];
|
|
14
|
+
const RightNavItems = ({
|
|
15
|
+
scrolled = false
|
|
16
|
+
}) => {
|
|
17
|
+
const [isMenuOpen, setIsMenuOpen] = useState(false);
|
|
18
|
+
const location = useLocation();
|
|
19
|
+
const toggleMenu = () => {
|
|
20
|
+
setIsMenuOpen(!isMenuOpen);
|
|
21
|
+
};
|
|
22
|
+
const isActive = path => {
|
|
23
|
+
return location.pathname === path;
|
|
24
|
+
};
|
|
25
|
+
return jsxs("div", {
|
|
26
|
+
className: `${scrolled ? "text-foreground" : "text-white"} flex justify-between align-center`,
|
|
27
|
+
children: [jsxs("div", {
|
|
28
|
+
className: "flex",
|
|
29
|
+
children: [jsx("div", {
|
|
30
|
+
className: "hidden sm:ml-6 sm:flex sm:space-x-8",
|
|
31
|
+
children: navItems.map(item => jsx(Link, {
|
|
32
|
+
to: item.path,
|
|
33
|
+
className: `inline-flex items-center px-1 pt-1 text-lg transition-colors duration-200 ${isActive(item.path) ? `font-bold ${scrolled ? 'text-foreground' : 'text-white'}` : `font-medium ${scrolled ? 'text-foreground hover:text-gray-900' : 'text-white hover:text-gray-300'}`}`,
|
|
34
|
+
children: item.label
|
|
35
|
+
}, item.key))
|
|
36
|
+
}), jsx("div", {
|
|
37
|
+
className: "hidden sm:ml-6 sm:flex sm:items-center"
|
|
38
|
+
}), jsx("div", {
|
|
39
|
+
className: "-mr-2 flex items-center sm:hidden",
|
|
40
|
+
children: jsxs("button", {
|
|
41
|
+
type: "button",
|
|
42
|
+
className: "inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-500",
|
|
43
|
+
"aria-expanded": isMenuOpen,
|
|
44
|
+
onClick: toggleMenu,
|
|
45
|
+
children: [jsx("span", {
|
|
46
|
+
className: "sr-only",
|
|
47
|
+
children: "Open main menu"
|
|
48
|
+
}), jsx("svg", {
|
|
49
|
+
className: "block h-6 w-6",
|
|
50
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
51
|
+
fill: "none",
|
|
52
|
+
viewBox: "0 0 24 24",
|
|
53
|
+
stroke: "currentColor",
|
|
54
|
+
"aria-hidden": "true",
|
|
55
|
+
children: jsx("path", {
|
|
56
|
+
strokeLinecap: "round",
|
|
57
|
+
strokeLinejoin: "round",
|
|
58
|
+
strokeWidth: 2,
|
|
59
|
+
d: "M4 6h16M4 12h16M4 18h16"
|
|
60
|
+
})
|
|
61
|
+
})]
|
|
62
|
+
})
|
|
63
|
+
})]
|
|
64
|
+
}), isMenuOpen && jsx("div", {
|
|
65
|
+
className: "sm:hidden",
|
|
66
|
+
children: jsx("div", {
|
|
67
|
+
className: "space-y-1 pt-2 pb-3",
|
|
68
|
+
children: navItems.map(item => jsx(Link, {
|
|
69
|
+
to: item.path,
|
|
70
|
+
className: `block border-l-4 py-2 pl-3 pr-4 text-base font-medium transition-colors duration-200 ${isActive(item.path) ? `border-[#057d78] font-bold ${scrolled ? 'text-foreground' : 'text-white'}` : `border-transparent font-medium ${scrolled ? 'text-gray-500 hover:text-gray-900' : 'text-gray-300 hover:text-white'} hover:border-[#057d78] hover:bg-gray-50`}`,
|
|
71
|
+
onClick: () => setIsMenuOpen(false),
|
|
72
|
+
children: item.label
|
|
73
|
+
}, item.key))
|
|
74
|
+
})
|
|
75
|
+
})]
|
|
76
|
+
});
|
|
77
|
+
};export{RightNavItems,RightNavItems as default};//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/navbar/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"sHASA,MAAM,QAAQ,GAAc,CAAA;AAC1B,EAAA,GAAA,EAAA,MAAA;AACE,EAAA,KAAA,EAAA,MAAW;AACX,EAAA,IAAA,EAAA;AACA,CAAA,EAAA;AACD,EAAA,GAAA,EAAA,aAAA;AACD,EAAA,KAAA,EAAA,aAAA;AACE,EAAA,IAAA,EAAA;AACA,CAAA,EAAA;AACA,EAAA,GAAA,EAAA,aAAoB;AACrB,EAAA,KAAA,EAAA,aAAA;AACD,EAAA,IAAA,EAAA;AACE,CAAA,CAAA;AACA,MAAK,aAAe,GAAA,CAAA;AACpB,EAAA,QAAA;AACD,CAAA,KAAA;EACD,MAAA,CAAA,UAAA,EAAA,aAAA,CAAA,GAAA,QAAA,CAAA,KAAA,CAAA;AAMF,EAAM,MAAO,QAAA,GAAA,WAA+C,EAAE;QACtD,UAAW,GAAA,MAAe;AAChC,IAAA,aAAc,CAAA,CAAA,UAAc,CAAA;;AAG1B,EAAA,MAAA,QAAA,GAAA,IAAe,IAAU;AAC3B,IAAA,OAAE,QAAA,CAAA,QAAA,KAAA,IAAA;AAEF,GAAA;AACE,EAAA,OAAAA,IAAA,CAAO,KAAQ,EAAA;AACjB,IAAA,SAAE,EAAA,CAAA,EAAA,QAAA,GAAA,iBAAA,GAAA,YAAA,CAAA,kCAAA,CAAA;IAEF,QACE,EAAK,CAAAA,IAAA,CAAA,KAAA,EAAA;;AAUa,MAAA,QAAA,EAAA,CAAAC,GAAA,CAAA,KAAA,EAAA;wDAiD8B;AAChC,QAAA,QAAA,EAAA,QAAA,CAAA,GAAE,CAAkC,IAAA,IAAAA,GAAA,CAAA,IAAA,EAAA;AAYxD,UAAE,EAAA,EAAA,IAAA,CAAA,IAAA;AAEF,UAAA,sFAA6B,EAAA,QAAA,CAAA,IAAA,CAAA,IAAA,CAAA,GAAA,CAAA,UAAA,EAAA,QAAA,GAAA,iBAAA,GAAA,YAAA,CAAA,CAAA,GAAA,CAAA,YAAA,EAAA,QAAA,GAAA,qCAAA,GAAA,gCAAA,CAAA,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/compute.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../src/compute.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,UAAU,EAAE,GA0CxB,CAAC;AAMF,QAAA,MAAM,aAAa,0CAA4C,CAAC;AAGhE,QAAA,MAAM,cAAc,0CAA6C,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC"}
|
package/lib/compute.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { IMenuPosition } from '@common-stack/core';
|
|
2
|
+
import { getFilteredMenus, getFilteredRoutes } from '@common-stack/client-react/lib/utils/filteredRoutes.js';
|
|
3
|
+
const ROOT_LAYOUT_PATH = '/';
|
|
4
|
+
const browserYantraRoutes = {
|
|
5
|
+
LANDING: '/landing',
|
|
6
|
+
GET_STARTED: '/get-started',
|
|
7
|
+
HELP_CENTER: '/help-center',
|
|
8
|
+
HELP_CATEGORY: '/help-center/:categoryId',
|
|
9
|
+
HELP_ARTICLE: '/help-center/:categoryId/:articleSlug'
|
|
10
|
+
};
|
|
11
|
+
const MainRoutes = [{
|
|
12
|
+
path: `${ROOT_LAYOUT_PATH}${browserYantraRoutes.LANDING}`,
|
|
13
|
+
key: 'landing',
|
|
14
|
+
exact: true,
|
|
15
|
+
hideInMenu: true,
|
|
16
|
+
index: true,
|
|
17
|
+
position: IMenuPosition.Middle,
|
|
18
|
+
componentPath: "@adminide-stack/yantra-help-browser/lib/pages/LandingPage/index.js",
|
|
19
|
+
hasComponent: true
|
|
20
|
+
}, {
|
|
21
|
+
path: `${ROOT_LAYOUT_PATH}${browserYantraRoutes.GET_STARTED}`,
|
|
22
|
+
key: 'get-started',
|
|
23
|
+
exact: true,
|
|
24
|
+
hideInMenu: true,
|
|
25
|
+
position: IMenuPosition.Middle,
|
|
26
|
+
componentPath: "@adminide-stack/yantra-help-browser/lib/pages/GetStarted/index.js",
|
|
27
|
+
hasComponent: true
|
|
28
|
+
}, {
|
|
29
|
+
path: `${ROOT_LAYOUT_PATH}${browserYantraRoutes.HELP_CENTER}`,
|
|
30
|
+
key: 'help-center',
|
|
31
|
+
exact: true,
|
|
32
|
+
hideInMenu: true,
|
|
33
|
+
position: IMenuPosition.Middle,
|
|
34
|
+
componentPath: "@adminide-stack/yantra-help-browser/lib/pages/HelpCenter/index.js",
|
|
35
|
+
hasComponent: true
|
|
36
|
+
}, {
|
|
37
|
+
path: `${ROOT_LAYOUT_PATH}${browserYantraRoutes.HELP_CATEGORY}`,
|
|
38
|
+
key: 'help-category',
|
|
39
|
+
exact: true,
|
|
40
|
+
hideInMenu: true,
|
|
41
|
+
position: IMenuPosition.Middle,
|
|
42
|
+
componentPath: "@adminide-stack/yantra-help-browser/lib/pages/CategoryCollection/index.js",
|
|
43
|
+
hasComponent: true
|
|
44
|
+
}, {
|
|
45
|
+
path: `${ROOT_LAYOUT_PATH}${browserYantraRoutes.HELP_ARTICLE}`,
|
|
46
|
+
key: 'help-article',
|
|
47
|
+
exact: true,
|
|
48
|
+
hideInMenu: true,
|
|
49
|
+
position: IMenuPosition.Middle,
|
|
50
|
+
componentPath: "@adminide-stack/yantra-help-browser/lib/pages/ArticlePage/index.js",
|
|
51
|
+
hasComponent: true
|
|
52
|
+
}];
|
|
53
|
+
// Using '*' to select all routes and menus
|
|
54
|
+
const selectedAll = '*';
|
|
55
|
+
// Get menus
|
|
56
|
+
getFilteredMenus(MainRoutes, selectedAll);
|
|
57
|
+
// Get routes
|
|
58
|
+
const filteredRoutes = getFilteredRoutes(MainRoutes, selectedAll);
|
|
59
|
+
export { MainRoutes, filteredRoutes }; //# sourceMappingURL=compute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compute.js","sources":["../src/compute.ts"],"sourcesContent":[null],"names":[],"mappings":"uJAGA,MAAM,gBAAgB,GAAG,GAAG;AAC5B,MAAM,mBAAmB,GAAG;AACxB,EAAA,OAAA,EAAO,UAAY;AACnB,EAAA,WAAA,EAAW,cAAgB;AAC3B,EAAA,WAAA,EAAW,cAAgB;AAC3B,EAAA,aAAA,EAAa,0BAA4B;AACzC,EAAA,YAAA,EAAY;CACf;AAEY,MAAA,UAAU,GAAQ,CAAA;AAC3B,EAAA,IAAA,EAAA,CAAA,EAAA,gBAAA,CAAA,EAAA,mBAAA,CAAA,OAAA,CAAA,CAAA;AACI,EAAA,GAAA,EAAA,SAAS;AACT,EAAA,KAAA,EAAA,IAAK;AACL,EAAA,UAAA,MAAW;AACX,EAAA,SAAA,EAAA,aAAgB,8BAAA,CAAA;AAChB,EAAA,KAAA,EAAA,IAAA;AACA,EAAA,QAAA,EAAA,aAAW,CAAA;;AAEd,EAAA,IAAA,EAAA,CAAA,EAAA,gBAAA,CAAA,EAAA,mBAAA,CAAA,WAAA,CAAA,CAAA;AACD,EAAA,GAAA,EAAA,aAAA;AACI,EAAA,KAAA,EAAA;AACA,EAAA,YAAkB,IAAA;AAClB,EAAA,SAAA,EAAK,MAAM,OAAA,6BAAA,CAAA;AACX,EAAA,QAAA,EAAA,aAAgB,CAAA;AAChB,CAAA,EAAA;QACA,CAAQ,EAAA,gBAAe,CAAA,EAAA,mBAAO,CAAA,WAAA,CAAA,CAAA;AACjC,EAAA,GAAA,EAAA,aAAA;AACD,EAAA,KAAA,EAAA,IAAA;AACI,EAAA,UAAI,EAAE,IAAG;AACT,EAAA,SAAG,EAAE,MAAa,OAAA,6BAAA,CAAA;AAClB,EAAA,QAAA,EAAA,aAAW,CAAA;AACX,CAAA,EAAA;AACA,EAAA,IAAA,EAAA,CAAA,EAAA,gBAAuB,CAAA,EAAA,iCAAsB,CAAA,CAAA;sBACtB;AAC1B,EAAA,KAAA,EAAA,IAAA;AACD,EAAA,UAAA,EAAA,IAAA;AACI,EAAA,SAAA,QAAS,OAAA,qCAAsC,CAAA;AAC/C,EAAA,QAAA,eAAoB,CAAA;AACpB,CAAA,EAAA;AACA,EAAA,IAAA,EAAA,CAAA,EAAA,gBAAgB,CAAA,EAAA,mBAAA,CAAA,YAAA,CAAA,CAAA;AAChB,EAAA,GAAA,EAAA,cAAc;SACN,IAAA;AACX,EAAA,UAAA,EAAA,IAAA;AACD,EAAA,SAAA,EAAA,MAAA,OAAA,8BAAA,CAAA;AACI,EAAA,QAAA,EAAI,aAAK,CAAA;AACT,CAAA;AACA;AACA,MAAA,WAAA,GAAY,GAAI;AAChB;AACuB,gBAAO,CAAA,UAAA,EAAA,WAAA;AACjC;AACH,MAAA,cAAA,GAAA,iBAAA,CAAA,UAAA,EAAA,WAAA"}
|
package/lib/config.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const config: Readonly<{
|
|
2
|
+
HELP_SERVER_URL: string;
|
|
3
|
+
APP_NAME: string;
|
|
4
|
+
LAYOUT_ROOT: string;
|
|
5
|
+
ANDROID_APP_SERVER_URL: string;
|
|
6
|
+
IOS_APP_SERVER_URL: string;
|
|
7
|
+
GOOGLE_MAPS_API_KEY: string;
|
|
8
|
+
PROPERTY_SEARCH_DEFAULT_PAGE_SIZE: number;
|
|
9
|
+
PROPERTY_COUPONS_DEFAULT_PAGE_SIZE: number;
|
|
10
|
+
DEFAULT_NEARBY_PROPERTY_RADIUS: number;
|
|
11
|
+
ENABLE_PROPERTY_PRICE_COMPARISON: boolean;
|
|
12
|
+
} & import("envalid").CleanedEnvAccessors>;
|
|
13
|
+
export declare const imgConfig: {
|
|
14
|
+
propertyCell: {
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
propertySmall: {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
};
|
|
22
|
+
propertyMiddle: {
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
};
|
|
26
|
+
propertyPreview: {
|
|
27
|
+
width: number;
|
|
28
|
+
height: number;
|
|
29
|
+
};
|
|
30
|
+
propertyLarge: {
|
|
31
|
+
width: number;
|
|
32
|
+
height: number;
|
|
33
|
+
};
|
|
34
|
+
propertyLargeM: {
|
|
35
|
+
width: number;
|
|
36
|
+
height: number;
|
|
37
|
+
};
|
|
38
|
+
propertyLargeT: {
|
|
39
|
+
width: number;
|
|
40
|
+
height: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM;;;;;;;;;;;0CAwBjB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQrB,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Account Setup
|
|
2
|
+
|
|
3
|
+
Complete guide to setting up your Yantra account.
|
|
4
|
+
|
|
5
|
+
## Initial Setup
|
|
6
|
+
|
|
7
|
+
### Account Creation
|
|
8
|
+
1. **Visit Website**: Go to Yantra website
|
|
9
|
+
2. **Sign Up**: Click sign-up button
|
|
10
|
+
3. **Enter Details**: Provide email and password
|
|
11
|
+
4. **Verify Email**: Check email for verification
|
|
12
|
+
5. **Complete Profile**: Add additional information
|
|
13
|
+
|
|
14
|
+
### Profile Completion
|
|
15
|
+
- **Personal Information**: Name, location, interests
|
|
16
|
+
- **Professional Details**: Job title, industry
|
|
17
|
+
- **Usage Preferences**: Search preferences, notifications
|
|
18
|
+
- **Privacy Settings**: Data sharing preferences
|
|
19
|
+
|
|
20
|
+
## Account Configuration
|
|
21
|
+
|
|
22
|
+
### Basic Settings
|
|
23
|
+
- **Display Name**: Set your display name
|
|
24
|
+
- **Profile Picture**: Upload profile photo
|
|
25
|
+
- **Bio**: Add personal description
|
|
26
|
+
- **Contact Information**: Email, phone (optional)
|
|
27
|
+
|
|
28
|
+
### Preferences Setup
|
|
29
|
+
- **Search Preferences**: Default search settings
|
|
30
|
+
- **Notification Settings**: Email and in-app notifications
|
|
31
|
+
- **Privacy Settings**: Data sharing controls
|
|
32
|
+
- **Language Settings**: Preferred language
|
|
33
|
+
|
|
34
|
+
## Security Setup
|
|
35
|
+
|
|
36
|
+
### Password Security
|
|
37
|
+
- **Strong Password**: Use strong, unique password
|
|
38
|
+
- **Password Manager**: Use password manager
|
|
39
|
+
- **Regular Updates**: Update password regularly
|
|
40
|
+
- **Two-Factor Authentication**: Enable 2FA
|
|
41
|
+
|
|
42
|
+
### Account Security
|
|
43
|
+
- **Login Monitoring**: Monitor login activity
|
|
44
|
+
- **Device Management**: Manage trusted devices
|
|
45
|
+
- **Security Alerts**: Enable security notifications
|
|
46
|
+
- **Account Recovery**: Set up recovery options
|
|
47
|
+
|
|
48
|
+
## Account Verification
|
|
49
|
+
|
|
50
|
+
### Email Verification
|
|
51
|
+
- **Check Email**: Look for verification email
|
|
52
|
+
- **Click Link**: Click verification link
|
|
53
|
+
- **Confirm Account**: Complete verification process
|
|
54
|
+
- **Resend Email**: Resend if needed
|
|
55
|
+
|
|
56
|
+
### Additional Verification
|
|
57
|
+
- **Phone Verification**: Optional phone verification
|
|
58
|
+
- **Identity Verification**: For premium features
|
|
59
|
+
- **Business Verification**: For business accounts
|
|
60
|
+
- **Student Verification**: For student discounts
|
|
61
|
+
|
|
62
|
+
## Post-Setup
|
|
63
|
+
|
|
64
|
+
### First Steps
|
|
65
|
+
- **Explore Interface**: Familiarize with interface
|
|
66
|
+
- **Try First Search**: Perform initial search
|
|
67
|
+
- **Set Preferences**: Configure preferences
|
|
68
|
+
- **Enable Features**: Activate desired features
|
|
69
|
+
|
|
70
|
+
### Account Optimization
|
|
71
|
+
- **Complete Profile**: Fill out all profile sections
|
|
72
|
+
- **Set Preferences**: Configure all preferences
|
|
73
|
+
- **Enable Security**: Activate security features
|
|
74
|
+
- **Explore Features**: Try all available features
|