larxius commited on
Commit
8ee9a90
·
verified ·
1 Parent(s): 4da21f8

Update frontend/src/pages/Help.jsx

Browse files
Files changed (1) hide show
  1. frontend/src/pages/Help.jsx +28 -10
frontend/src/pages/Help.jsx CHANGED
@@ -9,8 +9,8 @@ export const Help = () => {
9
  };
10
 
11
  return (
12
- <div className="max-w-4xl mx-auto w-full animate-fade-in">
13
- <div className="mb-xl text-center pt-lg">
14
  <h1 className="text-3xl font-bold text-on-surface mb-sm">How can we help you?</h1>
15
  <p className="text-on-surface-variant font-body-lg max-w-2xl mx-auto">
16
  Search our knowledge base or browse the frequently asked questions below to find the answers you need to secure your infrastructure.
@@ -102,19 +102,37 @@ export const Help = () => {
102
  </div>
103
  </div>
104
 
105
- {/* FAQ 5: How is the Security Risk Score calculated? */}
106
  <div className={`border rounded-lg overflow-hidden transition-all duration-200 ${activeFaq === 4 ? 'border-primary bg-primary/5' : 'border-outline-variant bg-surface hover:border-outline'}`}>
107
  <button
108
  onClick={() => toggleFaq(4)}
109
  className="w-full text-left px-md py-md flex items-center justify-between focus:outline-none cursor-pointer border-0 bg-transparent"
110
  >
111
- <span className="font-label-lg font-bold text-on-surface pr-sm">How is the Security Risk Score calculated?</span>
112
  <span className="material-symbols-outlined text-on-surface-variant transition-transform duration-200" style={{ transform: activeFaq === 4 ? 'rotate(180deg)' : 'rotate(0deg)' }}>
113
  expand_more
114
  </span>
115
  </button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
116
 
117
- <div className={`px-md overflow-hidden transition-all duration-300 ease-in-out ${activeFaq === 4 ? 'max-h-[2500px] pb-md opacity-100' : 'max-h-0 opacity-0'}`}>
118
  <div className="border-t border-outline-variant/30 pt-md flex flex-col gap-md text-on-surface-variant font-body-md">
119
  <p className="m-0 leading-relaxed">
120
  This assessment utilizes an enterprise CVSS-weighted, category-capped vulnerability risk scoring algorithm. The score calculation is fully deterministic, auditable, and reproducible.
@@ -200,19 +218,19 @@ export const Help = () => {
200
  </div>
201
  </div>
202
 
203
- {/* FAQ 6: Privacy Policy & Data Handling */}
204
- <div className={`border rounded-lg overflow-hidden transition-all duration-200 ${activeFaq === 5 ? 'border-primary bg-primary/5' : 'border-outline-variant bg-surface hover:border-outline'}`}>
205
  <button
206
- onClick={() => toggleFaq(5)}
207
  className="w-full text-left px-md py-md flex items-center justify-between focus:outline-none cursor-pointer border-0 bg-transparent"
208
  >
209
  <span className="font-label-lg font-bold text-on-surface pr-sm">Privacy Policy & Data Handling</span>
210
- <span className="material-symbols-outlined text-on-surface-variant transition-transform duration-200" style={{ transform: activeFaq === 5 ? 'rotate(180deg)' : 'rotate(0deg)' }}>
211
  expand_more
212
  </span>
213
  </button>
214
 
215
- <div className={`px-md overflow-hidden transition-all duration-300 ease-in-out ${activeFaq === 5 ? 'max-h-[500px] pb-md opacity-100' : 'max-h-0 opacity-0'}`}>
216
  <div className="border-t border-outline-variant/30 pt-sm flex flex-col gap-sm text-on-surface-variant font-body-md">
217
  <p className="m-0 leading-relaxed">
218
  We are fully committed to protecting your data and privacy. We align our data collection and handling procedures with global standards, including GDPR, CCPA, and India's DPDP Act.
 
9
  };
10
 
11
  return (
12
+ <div className="max-w-6xl mx-auto w-full animate-fade-in py-md">
13
+ <div className="mb-xl text-center pt-sm">
14
  <h1 className="text-3xl font-bold text-on-surface mb-sm">How can we help you?</h1>
15
  <p className="text-on-surface-variant font-body-lg max-w-2xl mx-auto">
16
  Search our knowledge base or browse the frequently asked questions below to find the answers you need to secure your infrastructure.
 
102
  </div>
103
  </div>
104
 
105
+ {/* FAQ 5: How can I manage members in my organization? */}
106
  <div className={`border rounded-lg overflow-hidden transition-all duration-200 ${activeFaq === 4 ? 'border-primary bg-primary/5' : 'border-outline-variant bg-surface hover:border-outline'}`}>
107
  <button
108
  onClick={() => toggleFaq(4)}
109
  className="w-full text-left px-md py-md flex items-center justify-between focus:outline-none cursor-pointer border-0 bg-transparent"
110
  >
111
+ <span className="font-label-lg font-bold text-on-surface pr-sm">How can I manage members in my organization?</span>
112
  <span className="material-symbols-outlined text-on-surface-variant transition-transform duration-200" style={{ transform: activeFaq === 4 ? 'rotate(180deg)' : 'rotate(0deg)' }}>
113
  expand_more
114
  </span>
115
  </button>
116
+ <div className={`px-md overflow-hidden transition-all duration-300 ease-in-out ${activeFaq === 4 ? 'max-h-[500px] pb-md opacity-100' : 'max-h-0 opacity-0'}`}>
117
+ <p className="text-on-surface-variant font-body-md leading-relaxed m-0 border-t border-outline-variant/30 pt-sm">
118
+ If you are an Organization Admin, go to the 'Organization' settings. From there, you can invite new members via email, manage their roles (e.g., Executive User, Admin), and revoke access if necessary.
119
+ </p>
120
+ </div>
121
+ </div>
122
+
123
+ {/* FAQ 6: How is the Security Risk Score calculated? */}
124
+ <div className={`border rounded-lg overflow-hidden transition-all duration-200 ${activeFaq === 5 ? 'border-primary bg-primary/5' : 'border-outline-variant bg-surface hover:border-outline'}`}>
125
+ <button
126
+ onClick={() => toggleFaq(5)}
127
+ className="w-full text-left px-md py-md flex items-center justify-between focus:outline-none cursor-pointer border-0 bg-transparent"
128
+ >
129
+ <span className="font-label-lg font-bold text-on-surface pr-sm">How is the Security Risk Score calculated?</span>
130
+ <span className="material-symbols-outlined text-on-surface-variant transition-transform duration-200" style={{ transform: activeFaq === 5 ? 'rotate(180deg)' : 'rotate(0deg)' }}>
131
+ expand_more
132
+ </span>
133
+ </button>
134
 
135
+ <div className={`px-md overflow-hidden transition-all duration-300 ease-in-out ${activeFaq === 5 ? 'max-h-[2500px] pb-md opacity-100' : 'max-h-0 opacity-0'}`}>
136
  <div className="border-t border-outline-variant/30 pt-md flex flex-col gap-md text-on-surface-variant font-body-md">
137
  <p className="m-0 leading-relaxed">
138
  This assessment utilizes an enterprise CVSS-weighted, category-capped vulnerability risk scoring algorithm. The score calculation is fully deterministic, auditable, and reproducible.
 
218
  </div>
219
  </div>
220
 
221
+ {/* FAQ 7: Privacy Policy & Data Handling */}
222
+ <div className={`border rounded-lg overflow-hidden transition-all duration-200 ${activeFaq === 6 ? 'border-primary bg-primary/5' : 'border-outline-variant bg-surface hover:border-outline'}`}>
223
  <button
224
+ onClick={() => toggleFaq(6)}
225
  className="w-full text-left px-md py-md flex items-center justify-between focus:outline-none cursor-pointer border-0 bg-transparent"
226
  >
227
  <span className="font-label-lg font-bold text-on-surface pr-sm">Privacy Policy & Data Handling</span>
228
+ <span className="material-symbols-outlined text-on-surface-variant transition-transform duration-200" style={{ transform: activeFaq === 6 ? 'rotate(180deg)' : 'rotate(0deg)' }}>
229
  expand_more
230
  </span>
231
  </button>
232
 
233
+ <div className={`px-md overflow-hidden transition-all duration-300 ease-in-out ${activeFaq === 6 ? 'max-h-[500px] pb-md opacity-100' : 'max-h-0 opacity-0'}`}>
234
  <div className="border-t border-outline-variant/30 pt-sm flex flex-col gap-sm text-on-surface-variant font-body-md">
235
  <p className="m-0 leading-relaxed">
236
  We are fully committed to protecting your data and privacy. We align our data collection and handling procedures with global standards, including GDPR, CCPA, and India's DPDP Act.