From 588589a769fc62cedb9ee2c7614b89b4779df2aa Mon Sep 17 00:00:00 2001 From: Marcin Piechaczek Date: Fri, 1 Aug 2025 15:05:04 +0700 Subject: [PATCH 1/3] refactor: simplify plan handling logic and improve layout for responsive design --- src/components/StaticPlanCard.vue | 2 +- src/views/HomeView.vue | 31 ++++++++++++++++--------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/components/StaticPlanCard.vue b/src/components/StaticPlanCard.vue index 5f3c9ef..980164c 100644 --- a/src/components/StaticPlanCard.vue +++ b/src/components/StaticPlanCard.vue @@ -565,7 +565,7 @@ function getStartsAtMessage(): string { border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.1); padding: var(--spacing-s); - padding-bottom: calc(var(--spacing-s) + 40px); + padding-bottom: calc(var(--spacing-s) + 60px); flex: 1; display: flex; flex-direction: column; diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 13fcc6d..0c1afd5 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -27,12 +27,7 @@ const error = ref(null); const params = new URLSearchParams(window.location.search); const callbackParam = params.get('callback'); -const startupParam = params.get('plan'); -const isStartup = startupParam === 'startup'; const callbackUrl = callbackParam ? decodeURIComponent(callbackParam) : ''; -const planDetails = isStartup - ? { ...STATIC_PLANS.startup, price: STATIC_PLANS.startup.basePrice } - : { ...STATIC_PLANS.business, price: STATIC_PLANS.business.basePrice }; const infoCardTitle = INFO_CARDS.title; const infoCards = INFO_CARDS.cards; @@ -232,11 +227,8 @@ function redirectToActivate() { > {{ $t('error.somethingWentWrong') }} @@ -287,16 +279,23 @@ function redirectToActivate() { -
+
+ Date: Mon, 4 Aug 2025 14:50:00 +0700 Subject: [PATCH 2/3] feat: enhance the startup plan tooltip and update plan descriptions - Added an info tooltip for startup plan eligibility details. - Refined startup plan description for clarity and consistency. - Adjusted custom plan CTA text and removed unused business plan button for startup. - Introduced a new `IconInfo` component for tooltips. --- src/components/StaticPlanCard.vue | 84 ++++++++++++++++++++++++++++--- src/components/icons/IconInfo.vue | 24 +++++++++ src/constants.ts | 2 +- src/i18n/en.ts | 2 +- 4 files changed, 104 insertions(+), 8 deletions(-) create mode 100644 src/components/icons/IconInfo.vue diff --git a/src/components/StaticPlanCard.vue b/src/components/StaticPlanCard.vue index 980164c..48defb8 100644 --- a/src/components/StaticPlanCard.vue +++ b/src/components/StaticPlanCard.vue @@ -15,6 +15,17 @@
{{ plan.description }} + + + + You can keep the startup offer for one year, or longer, + as long as you continue to meet the eligibility + criteria. + +
@@ -111,7 +122,6 @@ width="20" height="20" viewBox="0 0 20 20" - fill="none" xmlns="http://www.w3.org/2000/svg" > @@ -191,7 +200,7 @@ >
Custom plan
- Custom executions, custom active workflows + Custom executions
@@ -314,9 +323,7 @@ -