| 1 |
import React from 'react' |
| 2 |
import Blocks from './Blocks' |
| 3 |
import { supportPanel } from '../data/supporPanel' |
| 4 |
import Homenotice from "./home-notice" |
| 5 |
const { __ } = wp.i18n |
| 6 |
|
| 7 |
const Home = () => { |
| 8 |
|
| 9 |
|
| 10 |
return ( |
| 11 |
<> |
| 12 |
|
| 13 |
<div className="content-wrapper dashboard"> |
| 14 |
|
| 15 |
<div className="panel-wrapper first-wrapper"> |
| 16 |
|
| 17 |
<div className="box-panel feature-panel"> |
| 18 |
<Homenotice /> |
| 19 |
{/* <div> |
| 20 |
<div> |
| 21 |
|
| 22 |
<h1 className="title">{__('Elevate your website instantly with Blockspare!', 'blockspare')}</h1> |
| 23 |
|
| 24 |
<h3 className="title">{__('No coding needed - just import, customize, and publish in minutes!', 'blockspare')}</h3> |
| 25 |
<span className="description">{__('Build Blogs, News, Magazines, and Agency Websites effortlessly using 425+ expert-designed templates. Enjoy limitless style options, animations, and support from our dedicated team!', 'blockspare')}</span> |
| 26 |
<div className="bs-dashboard__button-group"> |
| 27 |
<a className="bs-dashboard__button primary" href={blockspare_dashboard.adminPath} target='_blank'>{__('Get Started', 'blockspare')}</a> |
| 28 |
<a className="bs-dashboard__button secondary" target="_blank" href="https://www.blockspare.com/starter-templates/">{__('View Demos', 'blockspare')}</a> |
| 29 |
</div> |
| 30 |
</div> |
| 31 |
</div> */} |
| 32 |
{/* <div className="bs-dashboard__footer"> |
| 33 |
<h2>{__('Browse Ready-to-Use Templates - Launch Your Site in Minutes!', 'blockspare')}</h2> |
| 34 |
</div> */} |
| 35 |
<div className="bs-dashboard-video"> |
| 36 |
<iframe className="video" width="560" height="315" src="https://www.youtube.com/embed/1dUwERgc6HI?si=r-BSakuzLAq8OXL0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> |
| 37 |
</div> |
| 38 |
</div> |
| 39 |
|
| 40 |
<Blocks /> |
| 41 |
|
| 42 |
</div> |
| 43 |
<div className="panel-wrapper second-wrapper"> |
| 44 |
<div className="box-panel rating-panel"> |
| 45 |
<a href="https://wordpress.org/support/plugin/blockspare/reviews/?filter=5" target="_blank" rel="noreferrer"> |
| 46 |
<img className="bs-illustration" src={blockspare_dashboard.static_img + "admin/assets/images/rate-us.webp"} /> |
| 47 |
</a> |
| 48 |
</div> |
| 49 |
<div className="box-panel support-panel"> |
| 50 |
{supportPanel.map((support) => ( |
| 51 |
<div className="details" key={support.title}> |
| 52 |
<h2> |
| 53 |
{support.icon} |
| 54 |
{__(support.title, 'blockspare')} |
| 55 |
</h2> |
| 56 |
<span className="description">{__(support.description, 'blockspare')}</span> |
| 57 |
<a href={support.link_url} target="_blank" rel="noreferrer">{__(support.link_title, 'blockspare')}<i className="fa fa-arrow-right"></i></a> |
| 58 |
</div> |
| 59 |
))} |
| 60 |
|
| 61 |
</div> |
| 62 |
</div> |
| 63 |
</div> |
| 64 |
</> |
| 65 |
) |
| 66 |
} |
| 67 |
|
| 68 |
export default Home |
| 69 |
|