diff --git a/src/components/Features.experiment.tsx b/src/components/Features.experiment.tsx new file mode 100644 index 00000000..cc4ff629 --- /dev/null +++ b/src/components/Features.experiment.tsx @@ -0,0 +1,70 @@ +import React from "react"; +import './Features.css'; + +interface Feature { + icon: string + title: string + description: string +} + +const Features: React.FC = () => { + const features: Feature[] = [ + { + icon: '⚡', + title: 'Lightning Fast', + description: 'Built for speed with optimized performance and minimal loading times.' + }, + { + icon: '🔒', + title: 'Secure', + description: 'Enterprise-grade security with end-to-end encryption and compliance.' + }, + { + icon: '📱', + title: 'Responsive', + description: 'Perfect experience across all devices and screen sizes.' + }, + { + icon: '🎨', + title: 'Customizable', + description: 'Fully customizable themes and components to match your brand.' + }, + { + icon: '🚀', + title: 'Scalable', + description: 'Grows with your business from startup to enterprise scale.' + }, + { + icon: '💬', + title: 'Support', + description: '24/7 customer support with dedicated success managers.' + } + ] + + return ( +
+
+
+

Everything You Need to Launch Faster

+

+ Discover the features that make our platform the best choice for your needs. +

+
+ +
+ {features.map((feature, index) => ( +
+
+ {feature.icon} +
+

{feature.title}

+

{feature.description}

+
+ ))} +
+
+
+ ) +} + +export default Features; \ No newline at end of file diff --git a/src/components/Features.original.tsx b/src/components/Features.original.tsx new file mode 100644 index 00000000..658cf56d --- /dev/null +++ b/src/components/Features.original.tsx @@ -0,0 +1,70 @@ +import React from "react"; +import './Features.css'; + +interface Feature { + icon: string + title: string + description: string +} + +const Features: React.FC = () => { + const features: Feature[] = [ + { + icon: '⚡', + title: 'Lightning Fast', + description: 'Built for speed with optimized performance and minimal loading times.' + }, + { + icon: '🔒', + title: 'Secure', + description: 'Enterprise-grade security with end-to-end encryption and compliance.' + }, + { + icon: '📱', + title: 'Responsive', + description: 'Perfect experience across all devices and screen sizes.' + }, + { + icon: '🎨', + title: 'Customizable', + description: 'Fully customizable themes and components to match your brand.' + }, + { + icon: '🚀', + title: 'Scalable', + description: 'Grows with your business from startup to enterprise scale.' + }, + { + icon: '💬', + title: 'Support', + description: '24/7 customer support with dedicated success managers.' + } + ] + + return ( +
+
+
+

Why Choose Us?

+

+ Discover the features that make our platform the best choice for your needs. +

+
+ +
+ {features.map((feature, index) => ( +
+
+ {feature.icon} +
+

{feature.title}

+

{feature.description}

+
+ ))} +
+
+
+ ) +} + +export default Features; diff --git a/src/components/Features.tsx b/src/components/Features.tsx index 658cf56d..139257e3 100644 --- a/src/components/Features.tsx +++ b/src/components/Features.tsx @@ -1,70 +1,16 @@ -import React from "react"; -import './Features.css'; - -interface Feature { - icon: string - title: string - description: string -} - -const Features: React.FC = () => { - const features: Feature[] = [ - { - icon: '⚡', - title: 'Lightning Fast', - description: 'Built for speed with optimized performance and minimal loading times.' - }, - { - icon: '🔒', - title: 'Secure', - description: 'Enterprise-grade security with end-to-end encryption and compliance.' - }, - { - icon: '📱', - title: 'Responsive', - description: 'Perfect experience across all devices and screen sizes.' - }, - { - icon: '🎨', - title: 'Customizable', - description: 'Fully customizable themes and components to match your brand.' - }, - { - icon: '🚀', - title: 'Scalable', - description: 'Grows with your business from startup to enterprise scale.' - }, - { - icon: '💬', - title: 'Support', - description: '24/7 customer support with dedicated success managers.' - } - ] +"use client"; +import { ProbatProviderClient, Experiment } from "@probat/react"; +import OriginalComponent from "./Features.original"; +import ExperimentVariant from "./Features.experiment"; +export default function Features(props: any) { return ( -
-
-
-

Why Choose Us?

-

- Discover the features that make our platform the best choice for your needs. -

-
- -
- {features.map((feature, index) => ( -
-
- {feature.icon} -
-

{feature.title}

-

{feature.description}

-
- ))} -
-
-
- ) + + } + variants={{ experiment: }} + /> + + ); } - -export default Features;