| 1 |
import { Title } from '@launch/components/Title'; |
| 2 |
import { PageLayout } from '@launch/layouts/PageLayout'; |
| 3 |
import { __ } from '@wordpress/i18n'; |
| 4 |
|
| 5 |
export const NeedsTheme = () => { |
| 6 |
return ( |
| 7 |
<PageLayout includeNav={false}> |
| 8 |
<div className="grow overflow-y-auto px-6 py-8 md:p-12 3xl:p-16"> |
| 9 |
<Title |
| 10 |
title={__('One more thing before we start.', 'extendify-local')} |
| 11 |
/> |
| 12 |
<div className="relative mx-auto w-full max-w-xl"> |
| 13 |
<p className="text-base"> |
| 14 |
{__( |
| 15 |
'Launch requires the Extendable theme to work. You can install it from the link below and start over once activated.', |
| 16 |
'extendify-local', |
| 17 |
)} |
| 18 |
</p> |
| 19 |
<a |
| 20 |
className="mt-4 text-base font-medium text-design-main underline" |
| 21 |
href={`${window.extSharedData.adminUrl}theme-install.php?theme=extendable`} |
| 22 |
> |
| 23 |
{__('Take me there', 'extendify-local')} |
| 24 |
</a> |
| 25 |
</div> |
| 26 |
</div> |
| 27 |
</PageLayout> |
| 28 |
); |
| 29 |
}; |
| 30 |
|