@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/Feedback/index.tsx"],"names":[],"mappings":"AAeA,QAAA,MAAM,QAAQ,+CA0Hb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import {jsx,Fragment,jsxs}from'react/jsx-runtime';import {useRef,useEffect}from'react';import {useNavigate}from'@remix-run/react';import {Formik,Form,ErrorMessage}from'formik';import {feedbackSchema}from'../../Validation/Schema.js';import {Button}from'@admin-layout/tailwind-ui/shardui/button.js';import {Input}from'@admin-layout/tailwind-ui/shardui/input.js';import {Label}from'@admin-layout/tailwind-ui/shardui/label.js';import emailjs from'emailjs-com';import {config}from'../../config/env-config.js';const Feedback = () => {
|
|
2
|
+
const navigate = useNavigate();
|
|
3
|
+
const formRef = useRef(null);
|
|
4
|
+
useEffect(() => {
|
|
5
|
+
document.title = 'Feedback | Clockbook - 100% Free Time Tracking Software';
|
|
6
|
+
});
|
|
7
|
+
const redirectToThanks = () => {
|
|
8
|
+
navigate('/thanks');
|
|
9
|
+
};
|
|
10
|
+
const sendFeedback = async formEl => {
|
|
11
|
+
await emailjs.sendForm(
|
|
12
|
+
// service_id
|
|
13
|
+
`${config.EMAILJS_SERVICE_ID}`,
|
|
14
|
+
// template_id
|
|
15
|
+
`${config.EMAILJS_TEMPLATE_ID_FEEDBACK}`, formEl,
|
|
16
|
+
// user_id
|
|
17
|
+
`${config.EMAILJS_USER_ID}`);
|
|
18
|
+
redirectToThanks();
|
|
19
|
+
};
|
|
20
|
+
return jsx(Fragment, {
|
|
21
|
+
children: jsx("main", {
|
|
22
|
+
className: "min-h-screen bg-muted/30 px-6 py-20",
|
|
23
|
+
children: jsx("div", {
|
|
24
|
+
className: "mx-auto flex w-full max-w-3xl items-center justify-center",
|
|
25
|
+
children: jsxs("div", {
|
|
26
|
+
className: "w-full rounded-lg bg-white px-10 py-12 shadow-sm ring-1 ring-black/5",
|
|
27
|
+
children: [jsxs("div", {
|
|
28
|
+
className: "mb-8",
|
|
29
|
+
children: [jsx("div", {
|
|
30
|
+
className: "mb-6 h-[2px] w-6 rounded-full bg-rose-500"
|
|
31
|
+
}), jsx("h1", {
|
|
32
|
+
className: "text-5xl font-semibold tracking-tight text-foreground",
|
|
33
|
+
children: "Feedback"
|
|
34
|
+
}), jsx("p", {
|
|
35
|
+
className: "mt-4 max-w-2xl text-base leading-relaxed text-muted-foreground",
|
|
36
|
+
children: "Need some feature that's missing in Clockbook? Or just want to suggest an improvement? Fill our feedback form and let us know"
|
|
37
|
+
})]
|
|
38
|
+
}), jsx(Formik, {
|
|
39
|
+
initialValues: {
|
|
40
|
+
feature: '',
|
|
41
|
+
featureNeed: '',
|
|
42
|
+
contactEmail: ''
|
|
43
|
+
},
|
|
44
|
+
validationSchema: feedbackSchema,
|
|
45
|
+
onSubmit: async (_values, actions) => {
|
|
46
|
+
try {
|
|
47
|
+
// Use EmailJS sendForm to keep template variables consistent with existing setup.
|
|
48
|
+
if (!formRef.current) throw new Error('Feedback form not mounted');
|
|
49
|
+
await sendFeedback(formRef.current);
|
|
50
|
+
} catch (err) {
|
|
51
|
+
// Keep the user on the page if sending fails.
|
|
52
|
+
console.error(err);
|
|
53
|
+
actions.setSubmitting(false);
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
children: ({
|
|
57
|
+
values,
|
|
58
|
+
handleChange,
|
|
59
|
+
isSubmitting
|
|
60
|
+
}) => jsxs(Form, {
|
|
61
|
+
ref: formRef,
|
|
62
|
+
className: "space-y-5",
|
|
63
|
+
children: [jsxs("div", {
|
|
64
|
+
className: "space-y-2",
|
|
65
|
+
children: [jsx(Label, {
|
|
66
|
+
htmlFor: "feature",
|
|
67
|
+
className: "text-sm text-muted-foreground",
|
|
68
|
+
children: "Feature"
|
|
69
|
+
}), jsx(Input, {
|
|
70
|
+
name: "feature",
|
|
71
|
+
id: "feature",
|
|
72
|
+
placeholder: "Your answer",
|
|
73
|
+
value: values.feature,
|
|
74
|
+
onChange: handleChange
|
|
75
|
+
}), jsx(ErrorMessage, {
|
|
76
|
+
name: "feature",
|
|
77
|
+
render: msg => jsx("div", {
|
|
78
|
+
className: "text-sm text-destructive",
|
|
79
|
+
children: msg
|
|
80
|
+
})
|
|
81
|
+
})]
|
|
82
|
+
}), jsxs("div", {
|
|
83
|
+
className: "space-y-2",
|
|
84
|
+
children: [jsx(Label, {
|
|
85
|
+
htmlFor: "featureNeed",
|
|
86
|
+
className: "text-sm text-muted-foreground",
|
|
87
|
+
children: "Why you need it and how would it work"
|
|
88
|
+
}), jsx(Input, {
|
|
89
|
+
name: "featureNeed",
|
|
90
|
+
id: "featureNeed",
|
|
91
|
+
placeholder: "Your answer",
|
|
92
|
+
value: values.featureNeed,
|
|
93
|
+
onChange: handleChange
|
|
94
|
+
}), jsx(ErrorMessage, {
|
|
95
|
+
name: "featureNeed",
|
|
96
|
+
render: msg => jsx("div", {
|
|
97
|
+
className: "text-sm text-destructive",
|
|
98
|
+
children: msg
|
|
99
|
+
})
|
|
100
|
+
})]
|
|
101
|
+
}), jsxs("div", {
|
|
102
|
+
className: "space-y-2",
|
|
103
|
+
children: [jsx(Label, {
|
|
104
|
+
htmlFor: "contactEmail",
|
|
105
|
+
className: "text-sm text-muted-foreground",
|
|
106
|
+
children: "Contact email (optional)"
|
|
107
|
+
}), jsx(Input, {
|
|
108
|
+
name: "contactEmail",
|
|
109
|
+
id: "contactEmail",
|
|
110
|
+
placeholder: "Your answer",
|
|
111
|
+
value: values.contactEmail,
|
|
112
|
+
onChange: handleChange
|
|
113
|
+
})]
|
|
114
|
+
}), jsx(Button, {
|
|
115
|
+
type: "submit",
|
|
116
|
+
disabled: isSubmitting,
|
|
117
|
+
className: "mt-2 h-12 w-full bg-blue-600 text-white hover:bg-blue-700",
|
|
118
|
+
children: isSubmitting ? 'Sending...' : 'Submit'
|
|
119
|
+
})]
|
|
120
|
+
})
|
|
121
|
+
})]
|
|
122
|
+
})
|
|
123
|
+
})
|
|
124
|
+
})
|
|
125
|
+
});
|
|
126
|
+
};export{Feedback as default};//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/pages/Feedback/index.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":"wfAeM,MAAA,QAAQ,GAAG,MAAK;AAClB,EAAA,MAAA,QAAc,GAAA,WAAc,EAAA;AAC5B,EAAA,MAAA,UAAgB,MAAA,CAAA,IAA+B,CAAA;WAEtC,CAAA,MAAM;AACX,IAAA,QAAA,CAAA,KAAS,GAAA,yDAAQ;AACrB,GAAA,CAAA;QAEM,gBAAA,GAAmB,MAAK;YAClB,CAAA,SAAU,CAAA;AACtB,GAAA;AAEA,EAAA,MAAA,eAAqB,MAAA,MAAO;UAClB,OAAA,CAAA,QAAgB;;aAEf,CAAA,kBAAO,CAAA,CAAA;;AAEV,IAAA,CAAA,EAAA,MAAS,CAAA,4BAA6B,CAAA,CAAA,EAAA,MAChC;;AAEN,IAAA,CAAA,EAAA,MAAS,CAAA,eAAgB,CAAA,CAAA,CAAA;AAE7B,IAAA,gBAAA,EAAA;AACJ,GAAA;SAEOA;AAgBqB,IAAA,QAAA,EAAAA,GAAA,CAAA,MAAA,EAAA;AACA,MAAA,SAAA,EAAA,qCAAe;AACf,MAAA,QAAA,EAAAA,GAAA,CAAA,KAAA,EAAA;AACH,QAAA,SAAA,EAAA,2DAEc;AACX,QAAA,QAAA,EAAAC,IAAA,CAAA,KAAA,EAAA;2FACsF;;AAC5D,YAAA,SAAA,EAAA,MAAA;AACtB,YAAA,QAAA,EAAA,CAAAD,GAAA,CAAA,KAAA,EAAA;;;gFAE8C;AAC9C,cAAA,QAAA,EAAA;AACA,aAAA,CAAA,EAAAA,GAAA,CAAA,GAAA,EAAA;yFACH;;AAmEjC,aAAE,CAAA;AAEF,WAAA,CAAA,EAAAA,UAAwB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaresHero.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/CaresHero.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,SAAS,GAAI,sBAGvB;IACC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,KAAG,KAAK,CAAC,YAuDT,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import {jsxs,jsx}from'react/jsx-runtime';import React__default from'react';import {CaresSection,CaresContainer}from'./CaresLayout.js';const CaresHero = ({
|
|
2
|
+
title = 'Welcome to Clockbook Cares',
|
|
3
|
+
onSearch
|
|
4
|
+
}) => {
|
|
5
|
+
const [product, setProduct] = React__default.useState('All products');
|
|
6
|
+
const [query, setQuery] = React__default.useState('');
|
|
7
|
+
return jsxs(CaresSection, {
|
|
8
|
+
tone: "default",
|
|
9
|
+
className: "relative",
|
|
10
|
+
children: [jsxs("div", {
|
|
11
|
+
className: "absolute inset-0",
|
|
12
|
+
children: [jsx("img", {
|
|
13
|
+
src: "https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=1800&auto=format&fit=crop",
|
|
14
|
+
alt: "Support",
|
|
15
|
+
className: "h-full w-full object-cover"
|
|
16
|
+
}), jsx("div", {
|
|
17
|
+
className: "absolute inset-0 bg-black/35"
|
|
18
|
+
})]
|
|
19
|
+
}), jsx(CaresContainer, {
|
|
20
|
+
className: "relative py-20",
|
|
21
|
+
children: jsxs("div", {
|
|
22
|
+
className: "max-w-3xl",
|
|
23
|
+
children: [jsx("h1", {
|
|
24
|
+
className: "text-3xl font-semibold text-white sm:text-4xl",
|
|
25
|
+
children: title
|
|
26
|
+
}), jsxs("form", {
|
|
27
|
+
className: "mt-6 flex w-full max-w-xl overflow-hidden rounded-md bg-white shadow-lg",
|
|
28
|
+
onSubmit: e => {
|
|
29
|
+
e.preventDefault();
|
|
30
|
+
onSearch?.(query);
|
|
31
|
+
},
|
|
32
|
+
children: [jsx("select", {
|
|
33
|
+
className: "h-12 w-44 border-r border-black/10 bg-white px-3 text-sm text-foreground outline-none",
|
|
34
|
+
value: product,
|
|
35
|
+
onChange: e => setProduct(e.target.value),
|
|
36
|
+
"aria-label": "Product",
|
|
37
|
+
children: ['All products', 'Zoho One', 'CRM Plus', 'Marketing Plus', 'Finance Plus'].map(p => jsx("option", {
|
|
38
|
+
value: p,
|
|
39
|
+
children: p
|
|
40
|
+
}, p))
|
|
41
|
+
}), jsx("input", {
|
|
42
|
+
className: "h-12 flex-1 px-4 text-sm text-foreground outline-none",
|
|
43
|
+
placeholder: "Search for solutions",
|
|
44
|
+
value: query,
|
|
45
|
+
onChange: e => setQuery(e.target.value)
|
|
46
|
+
}), jsx("button", {
|
|
47
|
+
type: "submit",
|
|
48
|
+
className: "h-12 bg-black px-5 text-sm font-semibold text-white hover:bg-black/90",
|
|
49
|
+
children: "Search"
|
|
50
|
+
})]
|
|
51
|
+
})]
|
|
52
|
+
})
|
|
53
|
+
})]
|
|
54
|
+
});
|
|
55
|
+
};export{CaresHero};//# sourceMappingURL=CaresHero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaresHero.js","sources":["../../../../src/pages/HelpCenter/components/CaresHero.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"sIAGO,MAAM,SAAS,GAAG,CAAC;AAOtB,EAAA,KAAA,GAAM,4BAA6B;AACnC,EAAA;AAEA,CAAA,KAAA;gCAkBwBA,cAAgB,CAAA,QAAA,CAAA,cAAG,CAAA;AACnB,EAAA,MAAA,CAAA,KAAA,EAAA,QAAA,CAAA,GAAAA,cAAA,CAAA,QAAU,CAAC,EAAK,CAAA;4BACnB;AA+BzB,IAAE,IAAA,EAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CaresContainer: ({ className, children, }: {
|
|
3
|
+
className?: string;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}) => React.ReactElement;
|
|
6
|
+
export declare const CaresSection: ({ tone, className, children, }: {
|
|
7
|
+
tone?: "default" | "soft" | "dark";
|
|
8
|
+
className?: string;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
}) => React.ReactElement;
|
|
11
|
+
//# sourceMappingURL=CaresLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaresLayout.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/CaresLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,cAAc,GAAI,0BAG5B;IACC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,KAAG,KAAK,CAAC,YAET,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,gCAI1B;IACC,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,KAAG,KAAK,CAAC,YAQT,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {jsx}from'react/jsx-runtime';const CaresContainer = ({
|
|
2
|
+
className,
|
|
3
|
+
children
|
|
4
|
+
}) => {
|
|
5
|
+
return jsx("div", {
|
|
6
|
+
className: `mx-auto w-full max-w-6xl px-6 lg:px-10 ${className || ''}`,
|
|
7
|
+
children: children
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
const CaresSection = ({
|
|
11
|
+
tone = 'default',
|
|
12
|
+
className,
|
|
13
|
+
children
|
|
14
|
+
}) => {
|
|
15
|
+
const toneClass = tone === 'dark' ? 'bg-[#1A1A1A] text-white' : tone === 'soft' ? 'bg-[#FBF3E8] text-foreground' : 'bg-background text-foreground';
|
|
16
|
+
return jsx("section", {
|
|
17
|
+
className: `${toneClass} ${className || ''}`,
|
|
18
|
+
children: children
|
|
19
|
+
});
|
|
20
|
+
};export{CaresContainer,CaresSection};//# sourceMappingURL=CaresLayout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaresLayout.js","sources":["../../../../src/pages/HelpCenter/components/CaresLayout.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"oCAEa,MAAA,cAAc,GAAG,CAAC;WAOpB;AACX,EAAE;AAEF,CAAA,KAAM;AASF,EAAA,OAAAA,GAAe,CAAA,KAAA,EAAA;AAEP,IAAA,SAA2B,EAAA,CAAA,uCAAA,EAAA,SAAA,IAAA,EAAA,CAAA,CAAA;YACrB,EAAA;AACJ,GAAA,CAAA;;AAEM,MAAA,YAAA,GAAA,CAAA;AACpB,EAAE,IAAA,GAAA,SAAA;;;;;;;;;"}
|
|
@@ -4,10 +4,10 @@ export interface CategoryAuthor {
|
|
|
4
4
|
articles: number;
|
|
5
5
|
}
|
|
6
6
|
export interface HelpCategory {
|
|
7
|
-
id
|
|
8
|
-
title
|
|
9
|
-
description
|
|
10
|
-
iconType
|
|
7
|
+
id?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
iconType?: string;
|
|
11
11
|
icon?: React.ReactNode;
|
|
12
12
|
authors?: CategoryAuthor[];
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpCategoryCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/HelpCategoryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"HelpCategoryCard.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/HelpCategoryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC9B;AAED,UAAU,qBAAqB;IAC3B,QAAQ,EAAE,YAAY,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAgF5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NeedHelpWithSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/NeedHelpWithSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAG9D,eAAO,MAAM,mBAAmB,GAAI,gBAAgB;IAAE,UAAU,EAAE,QAAQ,EAAE,CAAA;CAAE,KAAG,KAAK,CAAC,YAkFtF,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import React__default from'react';import {useNavigate}from'@remix-run/react';import {CaresSection,CaresContainer}from'./CaresLayout.js';import {HelpCategoryCard}from'./HelpCategoryCard.js';const NeedHelpWithSection = ({
|
|
2
|
+
categories
|
|
3
|
+
}) => {
|
|
4
|
+
const [active, setActive] = React__default.useState(() => categories?.[0]?.id ?? '');
|
|
5
|
+
const navigate = useNavigate();
|
|
6
|
+
const handleCategoryClick = to => {
|
|
7
|
+
// Navigate to category page
|
|
8
|
+
navigate(to);
|
|
9
|
+
};
|
|
10
|
+
const activeCategory = categories.find(c => c.id === active) ?? categories[0];
|
|
11
|
+
return jsx(CaresSection, {
|
|
12
|
+
tone: "default",
|
|
13
|
+
children: jsxs(CaresContainer, {
|
|
14
|
+
className: "py-16",
|
|
15
|
+
children: [jsx("h2", {
|
|
16
|
+
className: "text-center text-2xl font-semibold text-foreground",
|
|
17
|
+
children: "What do you need help with?"
|
|
18
|
+
}), jsx("div", {
|
|
19
|
+
className: "mt-14 text-center text-xs font-semibold tracking-widest text-foreground/60",
|
|
20
|
+
children: "Documentation"
|
|
21
|
+
}), jsxs("div", {
|
|
22
|
+
className: "mt-10 grid gap-10 lg:grid-cols-12",
|
|
23
|
+
children: [jsx("div", {
|
|
24
|
+
className: "lg:col-span-3",
|
|
25
|
+
children: jsx("div", {
|
|
26
|
+
className: "space-y-1",
|
|
27
|
+
children: categories?.map(c => {
|
|
28
|
+
const isActive = c.id === active;
|
|
29
|
+
return jsxs("button", {
|
|
30
|
+
type: "button",
|
|
31
|
+
onClick: () => setActive(c.id),
|
|
32
|
+
className: `group flex w-full items-center justify-between rounded-sm px-4 py-3 text-left text-sm ${isActive ? 'bg-[#FFF2E7] text-[#F97316]' : 'text-foreground hover:bg-[#FFF2E7]/50'}`,
|
|
33
|
+
style: {
|
|
34
|
+
borderLeft: isActive ? '3px solid #F97316' : '3px solid transparent'
|
|
35
|
+
},
|
|
36
|
+
children: [jsx("span", {
|
|
37
|
+
className: "flex items-center gap-3",
|
|
38
|
+
children: jsx("span", {
|
|
39
|
+
className: `${isActive ? 'font-semibold' : 'font-medium'}`,
|
|
40
|
+
children: c?.title
|
|
41
|
+
})
|
|
42
|
+
}), jsx("span", {
|
|
43
|
+
className: `${isActive ? 'text-[#F97316]' : 'text-foreground/30'}`,
|
|
44
|
+
children: "\u203A"
|
|
45
|
+
})]
|
|
46
|
+
}, c.id);
|
|
47
|
+
})
|
|
48
|
+
})
|
|
49
|
+
}), jsxs("div", {
|
|
50
|
+
className: "lg:col-span-9",
|
|
51
|
+
children: [jsx("div", {
|
|
52
|
+
className: "grid grid-cols-2 gap-7 sm:grid-cols-3",
|
|
53
|
+
children: (activeCategory?.articles ?? []).slice(0, 8).map(article => jsx(HelpCategoryCard, {
|
|
54
|
+
category: article,
|
|
55
|
+
onClick: () => handleCategoryClick(`/help-center/${activeCategory.id}/${article.slug}`)
|
|
56
|
+
}, article.id))
|
|
57
|
+
}), activeCategory ? jsx("div", {
|
|
58
|
+
className: "mt-6",
|
|
59
|
+
children: jsxs("button", {
|
|
60
|
+
type: "button",
|
|
61
|
+
onClick: () => handleCategoryClick(`/help-center/${activeCategory.id}`),
|
|
62
|
+
className: "text-sm font-semibold text-[#F97316] hover:underline",
|
|
63
|
+
children: ["View all in ", activeCategory.title, " \u2192"]
|
|
64
|
+
})
|
|
65
|
+
}) : null]
|
|
66
|
+
})]
|
|
67
|
+
})]
|
|
68
|
+
})
|
|
69
|
+
});
|
|
70
|
+
};export{NeedHelpWithSection};//# sourceMappingURL=NeedHelpWithSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NeedHelpWithSection.js","sources":["../../../../src/pages/HelpCenter/components/NeedHelpWithSection.tsx"],"sourcesContent":[null],"names":["React","_jsxs"],"mappings":"4OAMa,mBAAmB,GAAG,CAAC;;AAEhC,CAAA,KAAA;AAEA,EAAA,MAAA,CAAA,MAAyB,EAAA,SAAA,CAAA,GAAAA,cAAc,SAAI,CAAA,MAAA,UAAA,GAAA,CAAA,CAAA,EAAA,EAAA,IAAA,EAAA,CAAA;QACvC,QAA4B,GAAA,WAAA,EAAA;QAC5B,mBAAa,GAAA,EAAA,IAAA;AACjB;IAEA,QAAM,CAAA,EAAA,CAAA;;AAesB,EAAA,MAAA,cAAA,GAAA,UAAA,CAAA,IAAA,CAAA,CAAM,QAAQ,KAAK,MAAE,CAAK,cAAO,CAAA,CAAA,CAAA;;AAQjB,IAAA,IAAA,EAAA,SAAA;AACA,IAAA,QAAA,EAAAC,IAAA,CAAA,cAAA,EAAA;;;uEAqBE;AA4BlD,QAAE,QAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopularArticlesGrid.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/PopularArticlesGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,mBAAmB,GAAI,WAAW;IAAE,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAAE,KAAG,KAAK,CAAC,YAcnG,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import {CaresSection,CaresContainer}from'./CaresLayout.js';import {popularArticlesMock}from'../mockData.js';import {PopularArticle}from'./PopularArticle.js';const PopularArticlesGrid = ({
|
|
2
|
+
items
|
|
3
|
+
}) => {
|
|
4
|
+
return jsx(CaresSection, {
|
|
5
|
+
tone: "default",
|
|
6
|
+
children: jsxs(CaresContainer, {
|
|
7
|
+
className: "py-14",
|
|
8
|
+
children: [jsx("h2", {
|
|
9
|
+
className: "text-center text-xl font-semibold text-foreground",
|
|
10
|
+
children: "Popular Articles"
|
|
11
|
+
}), jsx("p", {
|
|
12
|
+
className: "text-lg text-muted-foreground text-center mb-10",
|
|
13
|
+
children: "Most helpful content from our community"
|
|
14
|
+
}), popularArticlesMock.map(article => jsx(PopularArticle, {
|
|
15
|
+
title: article.title,
|
|
16
|
+
link: article.link,
|
|
17
|
+
className: "mb-4"
|
|
18
|
+
}, article.id))]
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
};export{PopularArticlesGrid};//# sourceMappingURL=PopularArticlesGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopularArticlesGrid.js","sources":["../../../../src/pages/HelpCenter/components/PopularArticlesGrid.tsx"],"sourcesContent":[null],"names":[],"mappings":"4MAKa,mBAAmB,GAAG,CAAC;AAChC,EAAA;AAaJ,CAAC,KAAC;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportPlansSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/SupportPlansSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAqC1B,eAAO,MAAM,mBAAmB,QAAO,KAAK,CAAC,YA+B5C,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import {CaresSection,CaresContainer}from'./CaresLayout.js';const PlanCard = ({
|
|
2
|
+
badge,
|
|
3
|
+
title,
|
|
4
|
+
body,
|
|
5
|
+
bullets
|
|
6
|
+
}) => {
|
|
7
|
+
return jsxs("div", {
|
|
8
|
+
className: "rounded-xl bg-white p-7 shadow-sm ring-1 ring-black/5",
|
|
9
|
+
children: [badge ? jsx("div", {
|
|
10
|
+
className: "inline-flex rounded-full bg-[#F6C945] px-3 py-1 text-xs font-semibold text-foreground",
|
|
11
|
+
children: badge
|
|
12
|
+
}) : null, jsx("div", {
|
|
13
|
+
className: "mt-3 text-lg font-semibold",
|
|
14
|
+
children: title
|
|
15
|
+
}), jsx("p", {
|
|
16
|
+
className: "mt-3 text-sm leading-6 text-foreground/70",
|
|
17
|
+
children: body
|
|
18
|
+
}), bullets?.length ? jsx("ul", {
|
|
19
|
+
className: "mt-5 space-y-2 text-sm text-foreground/80",
|
|
20
|
+
children: bullets.map(b => jsxs("li", {
|
|
21
|
+
className: "flex gap-2",
|
|
22
|
+
children: [jsx("span", {
|
|
23
|
+
className: "text-emerald-600",
|
|
24
|
+
children: "\u2022"
|
|
25
|
+
}), jsx("span", {
|
|
26
|
+
children: b
|
|
27
|
+
})]
|
|
28
|
+
}, b))
|
|
29
|
+
}) : null]
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
const SupportPlansSection = () => {
|
|
33
|
+
return jsx(CaresSection, {
|
|
34
|
+
tone: "soft",
|
|
35
|
+
children: jsxs(CaresContainer, {
|
|
36
|
+
className: "py-16",
|
|
37
|
+
children: [jsx("h2", {
|
|
38
|
+
className: "text-center text-2xl font-semibold text-foreground",
|
|
39
|
+
children: "Our support plans"
|
|
40
|
+
}), jsx("p", {
|
|
41
|
+
className: "mx-auto mt-3 max-w-2xl text-center text-sm text-foreground/70",
|
|
42
|
+
children: "Pick the right plan for your team and get the assistance you need."
|
|
43
|
+
}), jsxs("div", {
|
|
44
|
+
className: "mt-12 grid gap-6 lg:grid-cols-3",
|
|
45
|
+
children: [jsx(PlanCard, {
|
|
46
|
+
badge: "The 90s",
|
|
47
|
+
title: "Classic Support",
|
|
48
|
+
body: "Email-based support to help you get unstuck and keep moving.",
|
|
49
|
+
bullets: ['Knowledge base access', 'Standard response times', 'Community support']
|
|
50
|
+
}), jsx(PlanCard, {
|
|
51
|
+
title: "Premium Support",
|
|
52
|
+
body: "Priority assistance with faster response times and guided troubleshooting.",
|
|
53
|
+
bullets: ['Priority ticket handling', 'Faster SLAs', 'Onboarding guidance']
|
|
54
|
+
}), jsx(PlanCard, {
|
|
55
|
+
badge: "Most popular",
|
|
56
|
+
title: "Enterprise Support",
|
|
57
|
+
body: "White-glove support for mission-critical teams with deeper implementation help.",
|
|
58
|
+
bullets: ['Dedicated manager options', '24/7 availability add-ons', 'Implementation support']
|
|
59
|
+
})]
|
|
60
|
+
})]
|
|
61
|
+
})
|
|
62
|
+
});
|
|
63
|
+
};export{SupportPlansSection};//# sourceMappingURL=SupportPlansSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportPlansSection.js","sources":["../../../../src/pages/HelpCenter/components/SupportPlansSection.tsx"],"sourcesContent":[null],"names":[],"mappings":"oGAGA,MAAM,QAAQ,GAAG,CAAC;AAWd,EAAA,KAAA;AAqBJ,EAAE,KAAA;AAEF,EAAA,IAAM;;AA+BN,CAAC,KAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportServicesSection.d.ts","sourceRoot":"","sources":["../../../../src/pages/HelpCenter/components/SupportServicesSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA8B1B,eAAO,MAAM,sBAAsB,QAAO,KAAK,CAAC,YA+B/C,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import {jsx,jsxs}from'react/jsx-runtime';import {CaresSection,CaresContainer}from'./CaresLayout.js';const ServiceBlock = ({
|
|
2
|
+
title,
|
|
3
|
+
body,
|
|
4
|
+
align = 'left'
|
|
5
|
+
}) => {
|
|
6
|
+
return jsxs("div", {
|
|
7
|
+
className: `grid gap-8 lg:grid-cols-12 lg:items-center ${align === 'right' ? 'lg:flex-row-reverse' : ''}`,
|
|
8
|
+
children: [jsxs("div", {
|
|
9
|
+
className: `lg:col-span-7 ${align === 'right' ? 'lg:order-2' : ''}`,
|
|
10
|
+
children: [jsx("h3", {
|
|
11
|
+
className: "text-xl font-semibold text-foreground",
|
|
12
|
+
children: title
|
|
13
|
+
}), jsx("p", {
|
|
14
|
+
className: "mt-3 max-w-xl text-sm leading-6 text-foreground/70",
|
|
15
|
+
children: body
|
|
16
|
+
}), jsx("button", {
|
|
17
|
+
className: "mt-5 rounded-md bg-[#F59E0B] px-4 py-2 text-sm font-semibold text-white hover:bg-[#d97706]",
|
|
18
|
+
children: "Learn more"
|
|
19
|
+
})]
|
|
20
|
+
}), jsx("div", {
|
|
21
|
+
className: `lg:col-span-5 ${align === 'right' ? 'lg:order-1' : ''}`,
|
|
22
|
+
children: jsx("div", {
|
|
23
|
+
className: "grid h-48 place-items-center rounded-xl bg-white ring-1 ring-black/5",
|
|
24
|
+
children: jsx("div", {
|
|
25
|
+
className: "h-20 w-20 rounded-full bg-[#FBF3E8]"
|
|
26
|
+
})
|
|
27
|
+
})
|
|
28
|
+
})]
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
const SupportServicesSection = () => {
|
|
32
|
+
return jsx(CaresSection, {
|
|
33
|
+
tone: "default",
|
|
34
|
+
children: jsxs(CaresContainer, {
|
|
35
|
+
className: "py-16",
|
|
36
|
+
children: [jsx("h2", {
|
|
37
|
+
className: "text-center text-2xl font-semibold text-foreground",
|
|
38
|
+
children: "Support Services"
|
|
39
|
+
}), jsxs("div", {
|
|
40
|
+
className: "mt-14 grid gap-16",
|
|
41
|
+
children: [jsx(ServiceBlock, {
|
|
42
|
+
title: "Turnkey Solutions",
|
|
43
|
+
body: "Experts who help set up your suite, tailor workflows, and get your team productive quickly.",
|
|
44
|
+
align: "left"
|
|
45
|
+
}), jsx(ServiceBlock, {
|
|
46
|
+
title: "Configuration help",
|
|
47
|
+
body: "Need help setting up modules, access control, or integrations? We\u2019ll guide you end to end.",
|
|
48
|
+
align: "right"
|
|
49
|
+
}), jsx(ServiceBlock, {
|
|
50
|
+
title: "Product Training",
|
|
51
|
+
body: "Training sessions to help your team master the tools and adopt best practices.",
|
|
52
|
+
align: "left"
|
|
53
|
+
}), jsx(ServiceBlock, {
|
|
54
|
+
title: "Onboarding",
|
|
55
|
+
body: "A guided onboarding journey that ensures a smooth start and successful rollout.",
|
|
56
|
+
align: "right"
|
|
57
|
+
})]
|
|
58
|
+
})]
|
|
59
|
+
})
|
|
60
|
+
});
|
|
61
|
+
};export{SupportServicesSection};//# sourceMappingURL=SupportServicesSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SupportServicesSection.js","sources":["../../../../src/pages/HelpCenter/components/SupportServicesSection.tsx"],"sourcesContent":[null],"names":["_jsxs"],"mappings":"oGAGA,MAAM,YAAY,GAAG,CAAC;AASlB,EAAA,KAAA;AAgBJ,EAAE,IAAA;AAEF,EAAA,KAAO,GAAA;MACI;AA8BX,EAAE,OAAAA,IAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/HelpCenter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pages/HelpCenter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EA0B3B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|