import { useTranslate } from 'i18n-calypso'; import { preventWidows } from 'calypso/lib/formatting'; import { PatternsSection } from 'calypso/my-sites/patterns/components/section'; import ImgCopyPaste from './images/copy-paste.svg'; import ImgEdit from './images/edit.svg'; import ImgResponsive from './images/responsive.svg'; import ImgStyle from './images/style.svg'; import './style.scss'; export function PatternsCopyPasteInfo( { theme }: { theme?: 'dark' | 'gray' } ) { const translate = useTranslate(); return (
{ translate( 'Copy-paste your way', { comment: 'Refers to block patterns, and the fact that they can easily be copy-pasted', } ) }
{ preventWidows( translate( 'Paste patterns directly into the WordPress editor to fully customize them.' ) ) }
{ translate( 'Bring your style with you', { comment: 'Refers to block patterns built by WordPress.com, and the way they adapt to theme style settings', } ) }
{ preventWidows( translate( 'Patterns replicate the typography and color palette from your site to ensure every page is on-brand.' ) ) }
{ translate( 'Make it yours', { comment: 'Refers to block patterns, and their ability to be customized to build a site.', } ) }
{ preventWidows( translate( 'Patterns are collections of regular WordPress blocks, so you can edit every detail, however you want.' ) ) }
{ translate( 'Responsive by design', { comment: 'Refers to block patterns built by WordPress.com, and their built-in responsiveness.', } ) }
{ preventWidows( translate( 'All patterns are fully responsive to ensure they look fantastic on any device or screen.', { comment: 'Refers to block patterns built by WordPress.com, and their built-in responsiveness.', } ) ) }
); }