larxius commited on
Commit
b0c491d
·
verified ·
1 Parent(s): 0a173cb

Update frontend/src/components/FeatureComparison.jsx

Browse files
frontend/src/components/FeatureComparison.jsx CHANGED
@@ -133,11 +133,11 @@ export const FeatureComparison = () => {
133
 
134
  return (
135
  <section id="comparison" className="py-4 md:py-6 bg-slate-50/50 relative border-t border-slate-200/60">
136
- <div className="max-w-5xl mx-auto px-3 sm:px-6">
137
 
138
  {/* Header Text */}
139
  <div className="text-center mb-3">
140
- <p className="text-slate-600 max-w-2xl mx-auto text-xs md:text-sm font-medium">
141
  See how LarShield compares against legacy vulnerability scanners on coverage, automation, and reporting.
142
  </p>
143
  </div>
@@ -145,17 +145,17 @@ export const FeatureComparison = () => {
145
  {/* Comparison Table Card */}
146
  <div className="bg-white border border-slate-200/80 rounded-2xl shadow-xl overflow-hidden">
147
  <div className="overflow-x-auto custom-scrollbar">
148
- <table className="w-full text-left border-collapse min-w-[620px]">
149
 
150
  {/* Header Row */}
151
  <thead>
152
  <tr className="bg-[#0B132B] text-white">
153
- <th className="py-2.5 px-4 font-bold text-xs sm:text-sm w-[30%]">
154
  Feature
155
  </th>
156
 
157
  {/* LarShield Column Header */}
158
- <th className="py-2.5 px-3 font-extrabold text-xs sm:text-sm text-center w-[20%] bg-[#0B132B] text-sky-400">
159
  <div className="flex items-center justify-center gap-1.5">
160
  <div className="w-4 h-4 rounded bg-white/15 p-0.5 flex items-center justify-center border border-white/20 shrink-0">
161
  <img src="/logo.png" alt="LarShield" className="w-full h-full object-contain" />
@@ -165,7 +165,7 @@ export const FeatureComparison = () => {
165
  </th>
166
 
167
  {/* Nessus Header */}
168
- <th className="py-2.5 px-3 font-bold text-xs sm:text-sm text-center w-[16%] text-slate-100">
169
  <div className="flex items-center justify-center gap-1.5">
170
  <div className="w-4 h-4 rounded bg-[#00A86B] text-white flex items-center justify-center font-black text-[10px] shadow-sm shrink-0">
171
  N
@@ -185,7 +185,7 @@ export const FeatureComparison = () => {
185
  </th>
186
 
187
  {/* Qualys Header */}
188
- <th className="py-2.5 px-3 font-bold text-xs sm:text-sm text-center w-[18%] text-slate-100">
189
  <div className="flex items-center justify-center gap-1.5">
190
  <div className="w-4 h-4 rounded bg-[#ED1C24] text-white flex items-center justify-center font-black text-[10px] shadow-sm shrink-0">
191
  Q
@@ -204,7 +204,7 @@ export const FeatureComparison = () => {
204
  className={`${idx % 2 === 0 ? 'bg-white' : 'bg-slate-50/60'} hover:bg-blue-50/20 transition-colors`}
205
  >
206
  {/* Feature Name */}
207
- <td className="py-2 px-4 font-bold text-slate-800">
208
  {row.feature}
209
  </td>
210
 
@@ -232,7 +232,7 @@ export const FeatureComparison = () => {
232
 
233
  {/* Pricing Row */}
234
  <tr className="bg-white font-bold border-t border-slate-200">
235
- <td className="py-2.5 px-4 text-slate-900 text-xs sm:text-sm font-bold">
236
  Pricing
237
  </td>
238
 
 
133
 
134
  return (
135
  <section id="comparison" className="py-4 md:py-6 bg-slate-50/50 relative border-t border-slate-200/60">
136
+ <div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
137
 
138
  {/* Header Text */}
139
  <div className="text-center mb-3">
140
+ <p className="text-slate-600 max-w-3xl mx-auto text-xs md:text-sm font-medium">
141
  See how LarShield compares against legacy vulnerability scanners on coverage, automation, and reporting.
142
  </p>
143
  </div>
 
145
  {/* Comparison Table Card */}
146
  <div className="bg-white border border-slate-200/80 rounded-2xl shadow-xl overflow-hidden">
147
  <div className="overflow-x-auto custom-scrollbar">
148
+ <table className="w-full text-left border-collapse min-w-[640px]">
149
 
150
  {/* Header Row */}
151
  <thead>
152
  <tr className="bg-[#0B132B] text-white">
153
+ <th className="py-2.5 px-5 font-bold text-xs sm:text-sm w-[34%]">
154
  Feature
155
  </th>
156
 
157
  {/* LarShield Column Header */}
158
+ <th className="py-2.5 px-3 font-extrabold text-xs sm:text-sm text-center w-[19%] bg-[#0B132B] text-sky-400">
159
  <div className="flex items-center justify-center gap-1.5">
160
  <div className="w-4 h-4 rounded bg-white/15 p-0.5 flex items-center justify-center border border-white/20 shrink-0">
161
  <img src="/logo.png" alt="LarShield" className="w-full h-full object-contain" />
 
165
  </th>
166
 
167
  {/* Nessus Header */}
168
+ <th className="py-2.5 px-3 font-bold text-xs sm:text-sm text-center w-[15%] text-slate-100">
169
  <div className="flex items-center justify-center gap-1.5">
170
  <div className="w-4 h-4 rounded bg-[#00A86B] text-white flex items-center justify-center font-black text-[10px] shadow-sm shrink-0">
171
  N
 
185
  </th>
186
 
187
  {/* Qualys Header */}
188
+ <th className="py-2.5 px-3 font-bold text-xs sm:text-sm text-center w-[16%] text-slate-100">
189
  <div className="flex items-center justify-center gap-1.5">
190
  <div className="w-4 h-4 rounded bg-[#ED1C24] text-white flex items-center justify-center font-black text-[10px] shadow-sm shrink-0">
191
  Q
 
204
  className={`${idx % 2 === 0 ? 'bg-white' : 'bg-slate-50/60'} hover:bg-blue-50/20 transition-colors`}
205
  >
206
  {/* Feature Name */}
207
+ <td className="py-2 px-5 font-bold text-slate-800">
208
  {row.feature}
209
  </td>
210
 
 
232
 
233
  {/* Pricing Row */}
234
  <tr className="bg-white font-bold border-t border-slate-200">
235
+ <td className="py-2.5 px-5 text-slate-900 text-xs sm:text-sm font-bold">
236
  Pricing
237
  </td>
238