| @@ -1,16 +1,15 @@ | ||
| 1 | 1 | /** |
| 2 | 2 | * WordPress dependencies |
| 3 | 3 | */ |
| 4 | -const { __ } = wp.i18n; | |
| 4 | +import { __ } from '@wordpress/i18n' | |
| 5 | 5 | |
| 6 | 6 | /** |
| 7 | 7 | * Internal dependencies |
| 8 | 8 | */ |
| 9 | -import { getSiteUrl } from '../../utils'; | |
| 10 | 9 | import GiveHelpLink from '../help-link'; |
| 11 | 10 | import PlaceholderAnimation from '../placeholder-animation'; |
| 12 | -import GiveLogo from '../logo'; | |
| 11 | +import GiveIcon from '@givewp/components/GiveIcon'; | |
| 13 | 12 | |
| 14 | 13 | const GiveBlankSlate = ( props ) => { |
| 15 | 14 | const { |
| 16 | 15 | noIcon, |
| @@ -26,9 +25,9 @@ | ||
| 26 | 25 | ); |
| 27 | 26 | |
| 28 | 27 | const blockLoaded = ( |
| 29 | 28 | <div className="block-loaded"> |
| 30 | - { !! title && ( <h2 className="give-blank-slate__heading">{ title }</h2> ) } | |
| 29 | + { !! title && ( <h3 className="give-blank-slate__heading">{ title }</h3> ) } | |
| 31 | 30 | { !! description && ( <p className="give-blank-slate__message">{ description }</p> ) } |
| 32 | 31 | { children } |
| 33 | 32 | { !! helpLink && ( <GiveHelpLink /> ) } |
| 34 | 33 | </div> |
| @@ -35,9 +34,9 @@ | ||
| 35 | 34 | ); |
| 36 | 35 | |
| 37 | 36 | return ( |
| 38 | 37 | <div className="give-blank-slate"> |
| 39 | - { ! noIcon && <GiveLogo size="80" className="give-blank-slate__image" /> } | |
| 38 | + { ! noIcon && <GiveIcon size="80" className="give-blank-slate__image" /> } | |
| 40 | 39 | { !! isLoader ? blockLoading : blockLoaded } |
| 41 | 40 | </div> |
| 42 | 41 | ); |
| 43 | 42 | }; |