File size: 9,415 Bytes
b51247d
 
 
c8b998f
 
b51247d
 
 
 
 
 
c8b998f
 
b51247d
 
 
 
 
c8b998f
 
 
b51247d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c8b998f
b51247d
 
c8b998f
b51247d
 
 
 
c8b998f
 
b51247d
c8b998f
 
 
 
b51247d
 
 
c8b998f
 
b51247d
c8b998f
b51247d
 
 
c8b998f
ec63e44
b51247d
 
 
 
c8b998f
ec63e44
 
 
 
 
 
b51247d
 
ec63e44
c8b998f
ec63e44
 
 
 
 
 
b51247d
 
ec63e44
c8b998f
ec63e44
 
 
 
 
 
b51247d
 
ec63e44
 
 
 
 
 
 
 
b51247d
 
 
 
 
c8b998f
b51247d
 
 
c8b998f
b51247d
 
c8b998f
b51247d
 
 
c8b998f
 
b51247d
 
 
 
c8b998f
 
b51247d
 
 
c8b998f
 
b51247d
 
 
c8b998f
 
b51247d
 
 
 
 
c8b998f
 
 
b51247d
 
 
c8b998f
 
b51247d
 
 
c8b998f
b51247d
 
 
 
c8b998f
 
b51247d
 
 
c8b998f
b51247d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c8b998f
 
ec63e44
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
import React from 'react';

const CheckIcon = () => (
  <div className="flex items-center justify-center mx-auto">
    <svg className="w-4 h-4 text-emerald-500 stroke-[3]" fill="none" viewBox="0 0 24 24" stroke="currentColor">
      <path strokeLinecap="round" strokeLinejoin="round" d="M5 13l4 4L19 7" />
    </svg>
  </div>
);

const CrossIcon = () => (
  <div className="w-5 h-5 rounded-full bg-red-100 text-red-400 flex items-center justify-center mx-auto">
    <svg className="w-3 h-3 stroke-[2.5]" fill="none" viewBox="0 0 24 24" stroke="currentColor">
      <path strokeLinecap="round" strokeLinejoin="round" d="M6 18L18 6M6 6l12 12" />
    </svg>
  </div>
);

const HalfIcon = () => (
  <div className="w-4 h-4 rounded-full bg-[#0B132B] text-white flex items-center justify-center mx-auto text-[9px] font-bold shadow-sm">
    ◐
  </div>
);

export const FeatureComparison = () => {
  const comparisonData = [
    {
      feature: "Real-Time Vulnerability Scanning",
      larshield: "check",
      nessus: "cross",
      openvas: "cross",
      qualys: "cross",
    },
    {
      feature: "Zero-Day Threat Intelligence",
      larshield: "check",
      nessus: "cross",
      openvas: "cross",
      qualys: "half",
    },
    {
      feature: "Automated Risk Prioritization (AI)",
      larshield: "check",
      nessus: "half",
      openvas: "cross",
      qualys: "check",
    },
    {
      feature: "Web Application Scanning (OWASP Top 10)",
      larshield: "check",
      nessus: "check",
      openvas: "check",
      qualys: "check",
    },
    {
      feature: "API Security Scanning",
      larshield: "check",
      nessus: "cross",
      openvas: "cross",
      qualys: "check",
    },
    {
      feature: "Cloud Security Scanning (AWS, Azure, GCP)",
      larshield: "check",
      nessus: "cross",
      openvas: "cross",
      qualys: "check",
    },
    {
      feature: "Network & Port Scanning",
      larshield: "check",
      nessus: "check",
      openvas: "check",
      qualys: "check",
    },
    {
      feature: "Asset Discovery & Inventory",
      larshield: "check",
      nessus: "check",
      openvas: "check",
      qualys: "check",
    },
    {
      feature: "Real-Time Alerts & Notifications",
      larshield: "check",
      nessus: "cross",
      openvas: "cross",
      qualys: "check",
    },
    {
      feature: "Automated Compliance Reporting",
      larshield: "check",
      nessus: "half",
      openvas: "cross",
      qualys: "check",
    },
    {
      feature: "Unified Dashboard",
      larshield: "check",
      nessus: "cross",
      openvas: "cross",
      qualys: "check",
    },
    {
      feature: "Customizable & Flexible Scans",
      larshield: "check",
      nessus: "check",
      openvas: "check",
      qualys: "check",
    },
    {
      feature: "Easy Deployment & Management",
      larshield: "check",
      nessus: "cross",
      openvas: "cross",
      qualys: "check",
    },
    {
      feature: "Affordable & Scalable for Businesses",
      larshield: "check",
      nessus: "cross",
      openvas: "check",
      qualys: "cross",
    },
  ];

  const renderCell = (type) => {
    if (type === "check") return <CheckIcon />;
    if (type === "cross") return <CrossIcon />;
    if (type === "half") return <HalfIcon />;
    return null;
  };

  return (
    <section id="comparison" className="py-4 md:py-6 bg-slate-50/50 relative border-t border-slate-200/60">
      <div className="max-w-5xl mx-auto px-3 sm:px-6">
        
        {/* Header Text */}
        <div className="text-center mb-3">
          <p className="text-slate-600 max-w-2xl mx-auto text-xs md:text-sm font-medium">
            See how LarShield compares against legacy vulnerability scanners on coverage, automation, and reporting.
          </p>
        </div>

        {/* Comparison Table Card */}
        <div className="bg-white border border-slate-200/80 rounded-2xl shadow-xl overflow-hidden">
          <div className="overflow-x-auto custom-scrollbar">
            <table className="w-full text-left border-collapse min-w-[620px]">
              
              {/* Header Row */}
              <thead>
                <tr className="bg-[#0B132B] text-white">
                  <th className="py-2.5 px-4 font-bold text-xs sm:text-sm w-[30%]">
                    Feature
                  </th>

                  {/* LarShield Column Header */}
                  <th className="py-2.5 px-3 font-extrabold text-xs sm:text-sm text-center w-[20%] bg-[#0B132B] text-sky-400">
                    <div className="flex items-center justify-center gap-1.5">
                      <div className="w-4 h-4 rounded bg-white/15 p-0.5 flex items-center justify-center border border-white/20 shrink-0">
                        <img src="/logo.png" alt="LarShield" className="w-full h-full object-contain" />
                      </div>
                      <span>LarShield</span>
                    </div>
                  </th>

                  {/* Nessus Header */}
                  <th className="py-2.5 px-3 font-bold text-xs sm:text-sm text-center w-[16%] text-slate-100">
                    <div className="flex items-center justify-center gap-1.5">
                      <div className="w-4 h-4 rounded bg-[#00A86B] text-white flex items-center justify-center font-black text-[10px] shadow-sm shrink-0">
                        N
                      </div>
                      <span>Nessus</span>
                    </div>
                  </th>

                  {/* OpenVAS Header */}
                  <th className="py-2.5 px-3 font-bold text-xs sm:text-sm text-center w-[16%] text-slate-100">
                    <div className="flex items-center justify-center gap-1.5">
                      <div className="w-4 h-4 rounded bg-emerald-500/20 text-emerald-400 border border-emerald-500/40 flex items-center justify-center shrink-0">
                        <span className="material-symbols-outlined text-[10px]">bug_report</span>
                      </div>
                      <span>OpenVAS</span>
                    </div>
                  </th>

                  {/* Qualys Header */}
                  <th className="py-2.5 px-3 font-bold text-xs sm:text-sm text-center w-[18%] text-slate-100">
                    <div className="flex items-center justify-center gap-1.5">
                      <div className="w-4 h-4 rounded bg-[#ED1C24] text-white flex items-center justify-center font-black text-[10px] shadow-sm shrink-0">
                        Q
                      </div>
                      <span>Qualys</span>
                    </div>
                  </th>
                </tr>
              </thead>

              {/* Table Body */}
              <tbody className="divide-y divide-slate-100 text-xs sm:text-[13px]">
                {comparisonData.map((row, idx) => (
                  <tr 
                    key={idx} 
                    className={`${idx % 2 === 0 ? 'bg-white' : 'bg-slate-50/60'} hover:bg-blue-50/20 transition-colors`}
                  >
                    {/* Feature Name */}
                    <td className="py-2 px-4 font-bold text-slate-800">
                      {row.feature}
                    </td>

                    {/* LarShield Cell (Highlighted Ice-Blue Column) */}
                    <td className="py-2 px-3 text-center bg-[#E0F2FE]/60 border-x border-blue-100/50">
                      {renderCell(row.larshield)}
                    </td>

                    {/* Nessus Cell */}
                    <td className="py-2 px-3 text-center">
                      {renderCell(row.nessus)}
                    </td>

                    {/* OpenVAS Cell */}
                    <td className="py-2 px-3 text-center">
                      {renderCell(row.openvas)}
                    </td>

                    {/* Qualys Cell */}
                    <td className="py-2 px-3 text-center">
                      {renderCell(row.qualys)}
                    </td>
                  </tr>
                ))}

                {/* Pricing Row */}
                <tr className="bg-white font-bold border-t border-slate-200">
                  <td className="py-2.5 px-4 text-slate-900 text-xs sm:text-sm font-bold">
                    Pricing
                  </td>
                  
                  {/* LarShield Pricing */}
                  <td className="py-2.5 px-3 text-center bg-[#E0F2FE]/90 border-x border-blue-100 text-blue-700 text-xs sm:text-[13px] font-extrabold">
                    Affordable &amp; Flexible
                  </td>

                  {/* Nessus Pricing */}
                  <td className="py-2.5 px-3 text-center text-slate-800 font-bold text-xs sm:text-[13px]">
                    Subscription
                  </td>

                  {/* OpenVAS Pricing */}
                  <td className="py-2.5 px-3 text-center text-slate-800 font-bold text-xs sm:text-[13px]">
                    Free (Open Source)
                  </td>

                  {/* Qualys Pricing */}
                  <td className="py-2.5 px-3 text-center text-slate-800 font-bold text-xs sm:text-[13px]">
                    Subscription
                  </td>
                </tr>
              </tbody>

            </table>
          </div>
        </div>

      </div>
    </section>
  );
};

export default FeatureComparison;