WordPress.org

Making WordPress.org

Changeset 4492


Ignore:
Timestamp:
12/06/2016 07:13:50 PM (4 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Add link to REST API handbook to front page.

Props kenshino.
Fixes #2304.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php

    r958 r4492  
    1515
    1616            <div class="handbook-banner section blue clear color">
    17                 <div class="inner-wrap two-columns">
     17                <div class="inner-wrap three-columns">
    1818                    <div class="widget box box-left transparent" style="color:#999;">
    1919                        <h3 class="widget-title" style="color:#999;"><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3>
     
    2929                        <p class="widget-description"><?php _e( 'Ready to dive deep into the world of plugin authoring?', 'wporg' ); ?></p>
    3030                        <a href="<?php esc_attr_e( get_post_type_archive_link( 'plugin-handbook' ) ); ?>" class="plugins-go get-started go button"><?php _e( 'Develop Plugins ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>
     31                    </div>
     32                    <div class="widget box box-right transparent">
     33                        <h3 class="widget-title"><div class="dashicons dashicons-controls-repeat"></div><?php _e( 'REST API', 'wporg' ); ?></h3>
     34                        <p class="widget-description"><?php _e( 'Getting started on making WordPress applications?', 'wporg' ); ?></p>
     35                        <a href="<?php esc_attr_e( get_post_type_archive_link( 'rest-api-handbook' ) ); ?>" class="rest-api-go get-started go button"><?php _e( 'Make Applications ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>
    3136                    </div>
    3237                </div>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss

    r4491 r4492  
    544544
    545545            .widget-description {
    546                 padding: 1em 15%;
     546                padding: 1em 0;
    547547            }
    548548        }
     
    550550        .widget-title {
    551551
    552             font-size: 62px;
    553             font-size: 6.2rem;
     552            font-size: 56px;
     553            font-size: 5.6rem;
    554554            line-height: 78px;
    555555            line-height: 7.8rem;
     
    563563                height: 8.4rem;
    564564                width: 8.4rem;
    565                 margin-right: 16px;
    566                 margin-right: 1.6rem;
     565                display: block;
     566                margin: 0 auto;
    567567            }
    568568        }
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css

    r4491 r4492  
    890890
    891891.devhub-wrap .section.blue .box .widget-description {
    892   padding: 1em 15%;
     892  padding: 1em 0;
    893893}
    894894
    895895.devhub-wrap .section.blue .widget-title {
    896   font-size: 62px;
    897   font-size: 6.2rem;
     896  font-size: 56px;
     897  font-size: 5.6rem;
    898898  line-height: 78px;
    899899  line-height: 7.8rem;
     
    909909  height: 8.4rem;
    910910  width: 8.4rem;
    911   margin-right: 16px;
    912   margin-right: 1.6rem;
     911  display: block;
     912  margin: 0 auto;
    913913}
    914914
Note: See TracChangeset for help on using the changeset viewer.