From 39a1ffcce0755930b34048167d6c18e1f96cd0a4 Mon Sep 17 00:00:00 2001 From: "probatai[bot]" <2062684+probatai[bot]@users.noreply.github.com> Date: Sun, 15 Mar 2026 00:56:16 +0000 Subject: [PATCH] exp(exp_GetStartedButton_20260315_7f8a9c2d): implement variant V2 --- package-lock.json | 10 ++++++++++ package.json | 1 + src/components/GetStartedButton.tsx | 19 ++++++++++++++++--- src/index.css | 21 +++++++++++++++++++++ 4 files changed, 48 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 86ffc834..be46c912 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "landing-page", "version": "1.0.0", "dependencies": { + "@probat/react": "^0.4.4", "react": "^18.2.0", "react-dom": "^18.2.0" }, @@ -954,6 +955,15 @@ "node": ">= 8" } }, + "node_modules/@probat/react": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@probat/react/-/react-0.4.4.tgz", + "integrity": "sha512-SiXnYsGeprWd70ilSx8xHgCnKvaW8pj07z1Pb6kBeUoOWXn2JlQot+bU4fJ1qmNjCC/Brj1NXWM+7JFMHjDQRA==", + "license": "MIT", + "peerDependencies": { + "react": ">=18.0.0" + } + }, "node_modules/@rolldown/pluginutils": { "version": "1.0.0-beta.27", "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.27.tgz", diff --git a/package.json b/package.json index 613edc15..ae3ca489 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" }, "dependencies": { + "@probat/react": "^0.4.4", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/src/components/GetStartedButton.tsx b/src/components/GetStartedButton.tsx index 1a1173af..fbde2eb6 100644 --- a/src/components/GetStartedButton.tsx +++ b/src/components/GetStartedButton.tsx @@ -1,4 +1,5 @@ import React from 'react' +import { Experiment } from '@probat/react' interface GetStartedButtonProps { label?: string @@ -7,9 +8,21 @@ interface GetStartedButtonProps { const GetStartedButton: React.FC = ({ label = 'Get Started Free', large = false }) => { return ( - + + {label} + + } + variants={{ + V2: ( + + ) + }} + /> ) } diff --git a/src/index.css b/src/index.css index 32057c56..bdfbdd7a 100644 --- a/src/index.css +++ b/src/index.css @@ -53,6 +53,27 @@ body { box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3); } +.btn-primary-enhanced { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + color: white; + box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); + animation: subtlePulse 2s ease-in-out infinite; +} + +.btn-primary-enhanced:hover { + transform: translateY(-4px); + box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5); +} + +@keyframes subtlePulse { + 0%, 100% { + box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); + } + 50% { + box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6); + } +} + .btn-outline { background: transparent; color: #667eea;