import React from "react";


export default function HomeSections(){

    return <>
        <div className="row">
            <div className="col-md-12 m-b-30">
                <div className="d-block d-sm-flex flex-nowrap align-items-center">
                    <div className="page-title mb-2 mb-sm-0">
                        <h1>The Practice Name Shows Up Here </h1>
                    </div>
                    <div className="ml-auto d-flex align-items-center">
                        <nav>
                            <ol className="breadcrumb p-0 m-b-0">
                                <li className="breadcrumb-item">
                                    <a href="/dash"><i className="ti ti-home"></i></a>
                                </li>
                                <li className="breadcrumb-item">
                                    Dashboard
                                </li>
                                <li className="breadcrumb-item active text-primary" aria-current="page">Home</li>
                            </ol>
                        </nav>
                    </div>
                </div>
            </div>
        </div>
        <div className="row">
            <div className="col-sm-6 col-xxl-3">
                <div className="card card-statistics ecommerce-contant overflow-h">
                    <div className="card-body p-0">
                        <div className="d-flex m-b-0 ecommerce-contant-text h-100">
                            <div className="w-100">
                                <div className="row p-3">
                                    <div className="col">
                                        <h3 className="mb-0">$65,456</h3>
                                        <small className="d-block">Last 6 months</small>
                                    </div>
                                    <div className="col text-right">
                                        <h5 className="text-muted mb-0">Revenue</h5>
                                        <strong className="text-danger m-t-5"><i
                                            className="zmdi zmdi-long-arrow-up font-weight-bold"></i> N/A</strong>
                                    </div>
                                </div>
                                <div className="apexchart-wrapper">
                                    <div id="ecommercedemo3" className="chart-fit"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div className="col-sm-6 col-xxl-3">
                <div className="card card-statistics ecommerce-contant overflow-h">
                    <div className="card-body p-0">
                        <div className="d-flex ecommerce-contant-text m-b-0 h-100">
                            <div className="w-100">
                                <div className="row p-3">
                                    <div className="col">
                                        <h3 className="mb-0">52%</h3>
                                        <small className="d-block">Past 12 hours</small>
                                    </div>
                                    <div className="col text-right">
                                        <h5 className="text-muted mb-0">Conversion Rate</h5>
                                        <strong className="text-primary m-t-5"><i
                                            className="zmdi zmdi-long-arrow-up font-weight-bold"></i> 5.35%</strong>
                                    </div>
                                </div>
                                <div className="apexchart-wrapper">
                                    <div id="ecommercedemo1" className="chart-fit"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div className="col-sm-6 col-xxl-3">
                <div className="card card-statistics ecommerce-contant overflow-h">
                    <div className="card-body p-0">
                        <div className="d-flex m-b-0 ecommerce-contant-text h-100">
                            <div className="w-100">
                                <div className="w-100">
                                    <div className="row p-3">
                                        <div className="col">
                                            <h3 className="mb-0">605</h3>
                                            <small className="d-block">Last 90 days</small>
                                        </div>
                                        <div className="col text-right">
                                            <h5 className="text-muted mb-0">Transactions</h5>
                                            <strong className="text-orange m-t-5"><i
                                                className="zmdi zmdi-long-arrow-up font-weight-bold"></i> 4.65%</strong>
                                        </div>
                                    </div>
                                </div>
                                <div className="apexchart-wrapper">
                                    <div id="ecommercedemo2" className="chart-fit"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div className="col-sm-6 col-xxl-3">
                <div className="card card-statistics ecommerce-contant overflow-h">
                    <div className="card-body p-0">
                        <div className="d-flex m-b-0 ecommerce-contant-text h-100">
                            <div className="w-100">
                                <div className="row p-3">
                                    <div className="col">
                                        <h3 className="mb-0">5,687</h3>
                                        <small className="d-block">Last 3 months</small>
                                    </div>
                                    <div className="col text-right">
                                        <h5 className="text-muted mb-0">Purchases</h5>
                                        <strong className="text-success m-t-5"><i
                                            className="zmdi zmdi-long-arrow-up font-weight-bold"></i> 9.89%</strong>
                                    </div>
                                </div>
                                <div className="apexchart-wrapper">
                                    <div id="ecommercedemo4" className="chart-fit"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div className="row">
            <div className="col-xxl-6 m-b-30">
                <div className="card card-statistics h-100 mb-0">
                    <div className="card-header">
                        <h4 className="card-title">My Products</h4>
                    </div>
                    <div className="card-body pb-0">
                        <div className="row m-b-20">
                            <div className="col-xxs-6 col-xl-4 col-xxl-4 mb-2 mb-xxl-0">
                                <div className="d-flex align-items-center">
                                    <div className="icon-container img-icon m-r-20 bg-light-gray rounded">
                                        <i className="fa fa-cart-plus text-primary"></i>
                                    </div>
                                    <div className="report-details">
                                        <p>Annual Sales</p>
                                        <h3>15,236</h3>
                                    </div>
                                </div>
                            </div>
                            <div className="col-xxs-6 col-md-4 col-xxl-4 mb-2 mb-xxl-0">
                                <div className="d-flex align-items-center">
                                    <div className="icon-container img-icon m-r-20 bg-light-gray rounded">
                                        <i className="fa fa-dollar text-primary"></i>
                                    </div>
                                    <div className="report-details">
                                        <p>Annual Revenue</p>
                                        <h3>$40,516</h3>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div className="apexchart-wrapper">
                            <div id="ecommerce5" className="chart-fit"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div className="col-xxl-6 m-b-30">
                <div className="card card-statistics h-100 mb-0">
                    <div className="card-header d-sm-flex justify-content-between align-items-center py-3">
                        <div className="card-heading mb-3 mb-sm-0">
                            <h4 className="card-title">Invoices Status</h4>
                        </div>
                        <div className="dropdown">
                            <input type="text" className="form-control form-control-sm" placeholder="Search Invoice"/>
                        </div>
                    </div>
                    <div className="card-body scrollbar scroll_dark" style={{maxHeight: '420px'}}>
                        <div className="d-xxs-flex align-items-center">
                            <div className="total-sales">
                                <p>Total Sales</p>
                                <h1>$9514</h1>
                            </div>
                            <div className="mb-3 mb-sm-0 ml-auto">
                                <button className="btn btn-primary btn-xs">View All Invoices</button>
                            </div>
                        </div>
                        <div className="d-none d-sm-flex progress m-t-20 m-b-0" style={{height: '5px'}}>
                            <div className="progress-bar bg-primary" role="progressbar" style={{width: '25%'}}
                                 aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
                            <div className="progress-bar bg-warning" role="progressbar" style={{width: '25%'}}
                                 aria-valuenow="30" aria-valuemin="0" aria-valuemax="100"></div>
                            <div className="progress-bar bg-info" role="progressbar" style={{width: '25%'}} aria-valuenow="20"
                                 aria-valuemin="0" aria-valuemax="100"></div>
                            <div className="progress-bar bg-success" role="progressbar" style={{width: '25%'}}
                                 aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>
                        </div>
                        <div className="row no-gutters">
                            <div className="col-6 col-xxs-3 ">
                                <p>Overdue</p>
                                <h4>$1596</h4>
                            </div>
                            <div className="col-6 col-xxs-3 ">
                                <p>Outstanding</p>
                                <h4>$2586</h4>
                            </div>
                            <div className="col-6 col-xxs-3 ">
                                <p>Open</p>
                                <h4>$5678</h4>
                            </div>
                            <div className="col-6 col-xxs-3 ">
                                <p>Paid</p>
                                <h4>$2458</h4>
                            </div>
                        </div>
                        <div className="table-responsive m-t-20">
                            <table id="datatable-buttons" className="table">
                                <thead>
                                <tr>
                                    <th>No.</th>
                                    <th>Name</th>
                                    <th>Date</th>
                                    <th>Total</th>
                                    <th>Status</th>
                                </tr>
                                </thead>
                                <tbody className="text-muted">
                                <tr>
                                    <td>1</td>
                                    <td>Smith Drake</td>
                                    <td>27/3/2014</td>
                                    <td>$1,00,000</td>
                                    <td>
                                        <label className="badge mb-0 badge-primary-inverse"> Overdue</label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>2</td>
                                    <td>Martha Doe</td>
                                    <td>28/3/2015</td>
                                    <td>$70,000</td>
                                    <td>
                                        <label className="badge mb-0 badge-warning-inverse
                                                                "> Outstanding</label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>3</td>
                                    <td>Fenish Paul</td>
                                    <td>24/3/2015</td>
                                    <td>$60,000</td>
                                    <td>
                                        <label className="badge mb-0 badge-info-inverse
                                                                "> Open</label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>4</td>
                                    <td>Albom Mitch</td>
                                    <td>29/3/2016</td>
                                    <td>$60,000</td>
                                    <td>
                                        <label className="badge mb-0 badge-success-inverse
                                                                "> Paid</label>
                                    </td>
                                </tr>

                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div className="row">
            <div className="col-xxl-8 m-b-30">
                <div className="card card-statistics h-100 mb-0">
                    <div className="card-header d-flex align-items-center justify-content-between">
                        <div className="card-heading">
                            <h4 className="card-title">Top selling products</h4>
                        </div>
                        <div className="dropdown">
                            <a className="btn btn-xs" href="#!">Export <i className="zmdi zmdi-download pl-1"></i> </a>
                        </div>
                    </div>
                    <div className="card-body scrollbar scroll_dark pt-0" style={{maxHeight: '350px'}}>
                        <div className="datatable-wrapper table-responsive">
                            <table id="datatable" className="table table-borderless table-striped">
                                <thead>
                                <tr>
                                    <th>#</th>
                                    <th>Name</th>
                                    <th>Price</th>
                                    <th>In stock</th>
                                    <th>Status</th>
                                    <th>Action</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td>1</td>
                                    <td>Cold Shoulder Bling Dress</td>
                                    <td>$65.342</td>
                                    <td>
                                        <div className="progress my-3" style={{height: '3px'}}>
                                            <div className="progress-bar" role="progressbar" style={{width: '80%'}}
                                                 aria-valuenow="80" aria-valuemin="0" aria-valuemax="100"></div>
                                        </div>
                                    </td>
                                    <td><span className="badge badge-success-inverse">Active</span></td>
                                    <td><a className="mr-3" href=""><i className="fe fe-edit"></i></a><a
                                        href=""><i className="fe fe-trash-2"></i></a></td>
                                </tr>
                                <tr>
                                    <td>2</td>
                                    <td>PlayStation 4 Pro 1TB Console</td>
                                    <td>$47.655</td>
                                    <td>
                                        <div className="progress my-3" style={{height: '3px'}}>
                                            <div className="progress-bar" role="progressbar" style={{width: '36%'}} aria-valuenow="36" aria-valuemin="0" aria-valuemax="100"></div>
                                        </div>
                                    </td>
                                    <td><span className="badge badge-success-inverse">Active</span></td>
                                    <td><a className="mr-3" href=""><i className="fe fe-edit"></i></a><a
                                        href=""><i className="fe fe-trash-2"></i></a></td>
                                </tr>
                                <tr>
                                    <td>3</td>
                                    <td>Extra Fine Wool Jumpers</td>
                                    <td>$56.479</td>
                                    <td>
                                        <div className="progress my-3" style={{height: '3px'}}>
                                            <div className="progress-bar" role="progressbar" style={{width: '60%'}} aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"></div>
                                        </div>
                                    </td>
                                    <td><span className="badge badge-danger-inverse">Canceled</span></td>
                                    <td><a className="mr-3" href=""><i className="fe fe-edit"></i></a><a
                                        href=""><i className="fe fe-trash-2"></i></a></td>
                                </tr>
                                <tr>
                                    <td>4</td>
                                    <td>Long Sleeve Bow Top</td>
                                    <td>$04.786</td>
                                    <td>
                                        <div className="progress my-3" style={{height: '3px'}}>
                                            <div className="progress-bar" role="progressbar" style={{width: '50%'}}
                                                 aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
                                        </div>
                                    </td>
                                    <td><span className="badge badge-success-inverse">Active</span></td>
                                    <td><a className="mr-3" href=""><i className="fe fe-edit"></i></a><a
                                        href=""><i className="fe fe-trash-2"></i></a></td>
                                </tr>
                                <tr>
                                    <td>5</td>
                                    <td>Shine Stripe Long Sleeve Ruffle</td>
                                    <td>$23.456</td>
                                    <td>
                                        <div className="progress my-3" style={{height: '3px'}}>
                                            <div className="progress-bar" role="progressbar" style={{width: '75%'}}
                                                 aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
                                        </div>
                                    </td>
                                    <td><span className="badge badge-success-inverse">Active</span></td>
                                    <td><a className="mr-3" href=""><i className="fe fe-edit"></i></a><a
                                        href=""><i className="fe fe-trash-2"></i></a></td>
                                </tr>
                                <tr>
                                    <td>6</td>
                                    <td>Long Sleeve Micro Thermal Shirt</td>
                                    <td>$65.598</td>
                                    <td>
                                        <div className="progress my-3" style={{height: '3px'}}>
                                            <div className="progress-bar" role="progressbar" style={{width: '90%'}}
                                                 aria-valuenow="90" aria-valuemin="0" aria-valuemax="100"></div>
                                        </div>
                                    </td>
                                    <td><span className="badge badge-info-inverse">info</span></td>
                                    <td><a className="mr-3" href=""><i className="fe fe-edit"></i></a><a
                                        href=""><i className="fe fe-trash-2"></i></a></td>
                                </tr>



                                </tbody>
                                <tfoot>
                                <tr>
                                    <th>#</th>
                                    <th>Name</th>
                                    <th>Price</th>
                                    <th>In stock</th>
                                    <th>Status</th>
                                    <th>Action</th>
                                </tr>
                                </tfoot>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            <div className="col-xxl-4 m-b-30">
                <div className="card card-statistics h-100 mb-0">
                    <div className="card-header d-flex justify-content-between">
                        <div className="card-heading">
                            <h4 className="card-title">Lifetime sales</h4>
                        </div>
                        <div className="dropdown">
                            <a className="p-2" href="#!" data-toggle="dropdown" aria-haspopup="true"
                               aria-expanded="false">
                                <i className="fe fe-circle"></i>
                            </a>
                            <div className="dropdown-menu custom-dropdown dropdown-menu-right p-4">
                                <h6 className="mb-1">Action</h6>
                                <a className="dropdown-item" href="#!"><i className="fa-fw fa fa-file-o pr-2"></i>View
                                    reports</a>
                                <a className="dropdown-item" href="#!"><i className="fa-fw fa fa-edit pr-2"></i>Edit reports</a>
                                <a className="dropdown-item" href="#!"><i className="fa-fw fa fa-bar-chart-o pr-2"></i>Statistics</a>
                                <h6 className="mb-1 mt-3">Export</h6>
                                <a className="dropdown-item" href="#!"><i className="fa-fw fa fa-file-pdf-o pr-2"></i>Export
                                    to PDF</a>
                                <a className="dropdown-item" href="#!"><i className="fa-fw fa fa-file-excel-o pr-2"></i>Export
                                    to CSV</a>
                            </div>
                        </div>
                    </div>
                    <div className="card-body">
                        <h5>We only started collecting data from February 2019 </h5>
                        <p>Questions about the Net Earnings number? <a
                            className="btn btn-square btn-inverse-success btn-xs ml-1" href="#">Click here</a></p>
                        <div className="row mt-4">
                            <div className="col-lg-8">
                                <div className="morris-wrapper">
                                    <div id="morrisecommerce1" style={{height: '260px'}}></div>
                                </div>
                            </div>
                            <div className="col-lg-4 mt-4">
                                <div className="mb-3">
                                    <h3 className="mb-0">680</h3>
                                    <p className="mb-0 text-info">Total sales</p>
                                </div>
                                <div className="mb-3">
                                    <h3 className="mb-0">800</h3>
                                    <p className="mb-0 text-primary">Open campaign</p>
                                </div>
                                <div className="mb-3">
                                    <h3 className="mb-0">500</h3>
                                    <p className="mb-0">Daily sales</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </>;

}