📍 /home/diasdiamonds/public_html/adminarea/vendor/cakedc/mixer/src/React/views/HomeView
📝 Editando: 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;
[ Cancelar ]
Nome
Permissões
Ações
[ .. Voltar ]
📄 HomeView.js
0644
[ EDITAR/VER ]
📄 index.js
0644
[ EDITAR/VER ]