From 42c46986552b2400bd963aa5a55675e4f55be383 Mon Sep 17 00:00:00 2001 From: James Kenneth Guidaven Date: Wed, 11 Dec 2024 16:39:17 +0800 Subject: [PATCH] A4A: Implement Pressable hosting section v3. (#97236) --- .../index.tsx | 12 +- .../style.scss | 23 +++- .../hosting-content/index.tsx | 4 +- .../premier-agency-hosting/index.tsx | 104 ++++++++++++++++++ .../premier-agency-hosting/style.scss | 12 ++ 5 files changed, 143 insertions(+), 12 deletions(-) create mode 100644 client/a8c-for-agencies/sections/marketplace/hosting-overview-v3/hosting-content/premier-agency-hosting/index.tsx create mode 100644 client/a8c-for-agencies/sections/marketplace/hosting-overview-v3/hosting-content/premier-agency-hosting/style.scss diff --git a/client/a8c-for-agencies/sections/marketplace/common/hosting-additional-features-section/index.tsx b/client/a8c-for-agencies/sections/marketplace/common/hosting-additional-features-section/index.tsx index ec5bec336d0a5..2314d63caed37 100644 --- a/client/a8c-for-agencies/sections/marketplace/common/hosting-additional-features-section/index.tsx +++ b/client/a8c-for-agencies/sections/marketplace/common/hosting-additional-features-section/index.tsx @@ -1,13 +1,15 @@ import { Icon, check } from '@wordpress/icons'; import clsx from 'clsx'; +import { TranslateResult } from 'i18n-calypso'; import PageSection, { PageSectionProps } from 'calypso/a8c-for-agencies/components/page-section'; import './style.scss'; type Props = Omit< PageSectionProps, 'children' > & { - items: string[]; - fiveRows?: boolean; + items: TranslateResult[]; threeRows?: boolean; + fourRows?: boolean; + fiveRows?: boolean; }; export default function HostingAdditionalFeaturesSection( { @@ -17,8 +19,9 @@ export default function HostingAdditionalFeaturesSection( { background, description, items, - fiveRows, threeRows, + fourRows, + fiveRows, }: Props ) { return (