From 0a1ca2ac046bcdb5ed596dc840e4c113dd445779 Mon Sep 17 00:00:00 2001 From: James Kenneth Guidaven Date: Mon, 9 Dec 2024 19:05:26 +0800 Subject: [PATCH] Implement Pressable section v3. --- .../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 (