| 1 |
import React from 'react' |
| 2 |
import Blocks from './Blocks' |
| 3 |
import { supportPanel } from '../data/supporPanel' |
| 4 |
|
| 5 |
const { __ } = wp.i18n |
| 6 |
|
| 7 |
const Home = () => { |
| 8 |
return ( |
| 9 |
<div className="content-wrapper dashboard"> |
| 10 |
<div className="panel-wrapper first-wrapper"> |
| 11 |
<div className="box-panel feature-panel"> |
| 12 |
<div> |
| 13 |
<div> |
| 14 |
<h1 className="title">{__('Welcome to Blockspare!', 'blockspare')}</h1> |
| 15 |
|
| 16 |
<h4 className="title">{__('ENVISION AMAZING LAYOUTS WITH BLOCKSPARE DESIGN LIBRARY', 'blockspare')}</h4> |
| 17 |
<span className="description">{__('Discover a world of Ready-to-use web design possibilities with Blockspare. Our elegant WordPress blocks empower you to create stunning websites for news, magazines, and businesses. Start your journey today!', 'blockspare')}</span> |
| 18 |
|
| 19 |
</div> |
| 20 |
</div> |
| 21 |
<div> |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
<iframe className="video" width="560" height="315" src="https://www.youtube.com/embed/1dUwERgc6HI" title={__('How to Import demo templates just in a click with Blockspare in WordPress Gutenberg Editor?', 'blockspare')} frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
</div> |
| 31 |
</div> |
| 32 |
<Blocks /> |
| 33 |
<div className="box-panel links-panel"> |
| 34 |
<div className="bs-dashboard__footer"> |
| 35 |
<h2>{__('Are you ready to turn your vision into a captivating website?', 'blockspare')}</h2> |
| 36 |
<p>{__("At Blockspare, we've got everything you need to make it happen. Whether you're a passionate blogger, a news enthusiast, or a thriving entrepreneur, our user-friendly Gutenberg blocks are your secret weapon to create a website that stands out.", 'blockspare')}</p> |
| 37 |
<div className="bs-dashboard__button-group"> |
| 38 |
|
| 39 |
<a className="bs-dashboard__button primary" href={blockspare_dashboard.adminPath} target='_blank'>{__('Create New Page', 'blockspare')}</a> |
| 40 |
<a className="bs-dashboard__button secondary" target="_blank" href="https://blockspare.com/docs/">{__('Read Full Guide', 'blockspare')}</a> |
| 41 |
</div> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
<div className="panel-wrapper second-wrapper"> |
| 46 |
<div className="box-panel rating-panel"> |
| 47 |
<a href="https://wordpress.org/support/plugin/blockspare/reviews/?filter=5" target="_blank" rel="noreferrer"> |
| 48 |
<img className="bs-illustration" src={blockspare_dashboard.static_img + "admin/assets/images/rate-us.png"} /> |
| 49 |
</a> |
| 50 |
</div> |
| 51 |
<div className="box-panel support-panel"> |
| 52 |
{supportPanel.map((support) => ( |
| 53 |
<div className="details" key={support.title}> |
| 54 |
<h2> |
| 55 |
{support.icon} |
| 56 |
{__(support.title, 'blockspare')} |
| 57 |
</h2> |
| 58 |
<span className="description">{__(support.description, 'blockspare')}</span> |
| 59 |
<a href={support.link_url} target="_blank" rel="noreferrer">{__(support.link_title, 'blockspare')}<i className="fa fa-arrow-right"></i></a> |
| 60 |
</div> |
| 61 |
))} |
| 62 |
|
| 63 |
</div> |
| 64 |
</div> |
| 65 |
</div> |
| 66 |
) |
| 67 |
} |
| 68 |
|
| 69 |
export default Home |
| 70 |
|