WordPress.org

Making WordPress.org


Ignore:
Timestamp:
07/24/2016 09:40:56 PM (3 years ago)
Author:
obenland
Message:

Plugin Directory: WordCamp Boston Contributor Day updates.

  • Separate store creation.
  • Pass SiteHeader component to React Router for navigation links to rerender.
  • Pass default plugins from container component to PluginSection.
  • Basic 404 and no-content handling.

Props sirbrillig.
See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/js/client/components/plugin-section.jsx

    r3695 r3717  
    55 * Internal dependencies.
    66 */
    7 import FrontPagePlugin from './front-page-plugin';
     7import PluginCard from './plugin-card';
    88
    99export default React.createClass( {
     
    1818                </header>
    1919                { this.props.plugins.map( ( plugin ) =>
    20                     <FrontPagePlugin key={ plugin.id } plugin={ plugin } />
     20                    <PluginCard key={ plugin.id } plugin={ plugin } />
    2121                ) }
    2222            </section>
Note: See TracChangeset for help on using the changeset viewer.