import { useLocalizeUrl, useLocale } from '@automattic/i18n-utils'; import { Button } from '@wordpress/components'; import { useTranslate } from 'i18n-calypso'; import imagePreviewPublish from 'calypso/my-sites/patterns/components/get-started/images/preview-publish.png'; import imagePageLayouts from 'calypso/my-sites/patterns/components/get-started/images/understand-page-layouts.png'; import imageBlockPatterns from 'calypso/my-sites/patterns/components/get-started/images/use-block-patterns.png'; import { PatternsSection } from 'calypso/my-sites/patterns/components/section'; import { getOnboardingUrl } from 'calypso/my-sites/patterns/paths'; import { useSelector } from 'calypso/state'; import { isUserLoggedIn } from 'calypso/state/current-user/selectors'; import './style.scss'; export function PatternsGetStarted( { theme }: { theme?: 'dark' | 'blue' } ) { const translate = useTranslate(); const isLoggedIn = useSelector( isUserLoggedIn ); const localizeUrl = useLocalizeUrl(); const locale = useLocale(); return (
{
{ translate( 'Video tutorial' ) }
{ translate( 'Block Patterns', { comment: 'This string is a copy of the page title from wordpress.com/support/wordpress-editor/block-pattern/', } ) }
{
{ translate( 'Video tutorial' ) }
{ translate( 'Use Pre-Made Page Layouts', { comment: 'This string is a copy of the page title from wordpress.com/support/wordpress-editor/page-layouts/', } ) }
{
{ translate( 'Free course' ) }
{ translate( 'Launch Your Site Faster', { comment: 'This string is taken from the first line of the page content from https://wordpress.com/learn/courses/quick-launch/', } ) }
); }