Make WordPress Core

Changeset 43946


Ignore:
Timestamp:
11/28/2018 05:30:11 PM (6 years ago)
Author:
melchoyce
Message:

Help/About: Minor updates.

  • Updated the various images.
  • Added new "developer happiness" images.
  • Fixed the responsive figcaption styles.
  • Added a link to wporg plugin favorites as a shortcode to get to the classic plugin.
  • Renamed "cover image" to "cover."
  • Updated CSS to account for small-screen issues.

Props desrosj, audrasjb, antpb, jjj, elrae, Otto42, afercia, karmatosed, kjellr, alexislloyd, melchoyce.
See #45178.

Location:
branches/5.0/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-admin/about.php

    r43937 r43946  
    6868
    6969        <div class="full-width">
    70             <img src="https://wordpress.org/gutenberg/files/2018/11/Gutenberg-3.png" alt="">
     70            <img src="https://wordpress.org/gutenberg/files/2018/11/Gutenberg-copy-2.jpg" alt="">
    7171        </div>
    7272
     
    8080            <div class="col">
    8181                <figure>
    82                     <img src="https://wordpress.org/gutenberg/files/2018/07/Plugin-1-1.gif" alt=""/>
     82                    <img src="https://wordpress.org/gutenberg/files/2018/11/Plugins-copy.jpg" alt=""/>
    8383                    <figcaption><?php _e( 'Do more with fewer plugins.' ); ?></figcaption>
    8484                </figure>
     
    8686            <div class="col">
    8787                <figure>
    88                     <img src="https://wordpress.org/gutenberg/files/2018/07/Layout-3.gif" alt=""/>
     88                    <img src="https://wordpress.org/gutenberg/files/2018/11/Layout.jpg" alt=""/>
    8989                    <figcaption><?php _e( 'Create modern, multimedia-heavy layouts.' ); ?></figcaption>
    9090                </figure>
     
    9292            <div class="col">
    9393                <figure>
    94                     <img src="https://wordpress.org/gutenberg/files/2018/07/Devices-1-1.gif" alt=""/>
     94                    <img src="https://wordpress.org/gutenberg/files/2018/11/Responsive.jpg" alt=""/>
    9595                    <figcaption><?php _e( 'Work across all screen sizes and devices.' ); ?></figcaption>
    9696                </figure>
     
    9898            <div class="col">
    9999                <figure>
    100                     <img src="https://wordpress.org/gutenberg/files/2018/07/Visual-1.gif" alt=""/>
     100                    <img src="https://wordpress.org/gutenberg/files/2018/11/Editor-Styles-copy.jpg" alt=""/>
    101101                    <figcaption><?php _e( 'Trust that your editor looks like your website.' ); ?></figcaption>
    102102                </figure>
     
    120120            <div class="col">
    121121                <figure>
    122                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon.png" alt=""/>
     122                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Paragraph.jpg" alt=""/>
    123123                    <figcaption><?php _e( 'Paragraph' ); ?></figcaption>
    124124                </figure>
     
    126126            <div class="col">
    127127                <figure>
    128                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Heading.png" alt=""/>
     128                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Heading.jpg" alt=""/>
    129129                    <figcaption><?php _e( 'Heading' ); ?></figcaption>
    130130                </figure>
     
    132132            <div class="col">
    133133                <figure>
    134                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Subheading.png" alt=""/>
     134                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Preformatted.jpg" alt=""/>
    135135                    <figcaption><?php _e( 'Preformatted' ); ?></figcaption>
    136136                </figure>
     
    138138            <div class="col">
    139139                <figure>
    140                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Quote.png" alt=""/>
     140                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Quote.jpg" alt=""/>
    141141                    <figcaption><?php _e( 'Quote' ); ?></figcaption>
    142142                </figure>
     
    144144            <div class="col">
    145145                <figure>
    146                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Image.png" alt=""/>
     146                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Image.jpg" alt=""/>
    147147                    <figcaption><?php _e( 'Image' ); ?></figcaption>
    148148                </figure>
     
    150150            <div class="col">
    151151                <figure>
    152                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Gallery.png" alt=""/>
     152                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Gallery.jpg" alt=""/>
    153153                    <figcaption><?php _e( 'Gallery' ); ?></figcaption>
    154154                </figure>
     
    156156            <div class="col">
    157157                <figure>
    158                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Cover-Image.png" alt=""/>
    159                     <figcaption><?php _e( 'Cover Image' ); ?></figcaption>
    160                 </figure>
    161             </div>
    162             <div class="col">
    163                 <figure>
    164                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Video.png" alt=""/>
     158                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Cover-Image.jpg" alt=""/>
     159                    <figcaption><?php _e( 'Cover' ); ?></figcaption>
     160                </figure>
     161            </div>
     162            <div class="col">
     163                <figure>
     164                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Video.jpg" alt=""/>
    165165                    <figcaption><?php _e( 'Video' ); ?></figcaption>
    166166                </figure>
     
    168168            <div class="col">
    169169                <figure>
    170                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Audio.png" alt=""/>
     170                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Audio.jpg" alt=""/>
    171171                    <figcaption><?php _e( 'Audio' ); ?></figcaption>
    172172                </figure>
     
    174174            <div class="col">
    175175                <figure>
    176                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Column.png" alt=""/>
     176                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Column.jpg" alt=""/>
    177177                    <figcaption><?php _e( 'Columns' ); ?></figcaption>
    178178                </figure>
     
    180180            <div class="col">
    181181                <figure>
    182                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-File.png" alt=""/>
     182                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-File.jpg" alt=""/>
    183183                    <figcaption><?php _e( 'File' ); ?></figcaption>
    184184                </figure>
     
    186186            <div class="col">
    187187                <figure>
    188                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Code.png" alt=""/>
     188                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Code.jpg" alt=""/>
    189189                    <figcaption><?php _e( 'Code' ); ?></figcaption>
    190190                </figure>
     
    192192            <div class="col">
    193193                <figure>
    194                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-List.png" alt=""/>
     194                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-List.jpg" alt=""/>
    195195                    <figcaption><?php _e( 'List' ); ?></figcaption>
    196196                </figure>
     
    198198            <div class="col">
    199199                <figure>
    200                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Button.png" alt=""/>
     200                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Button.jpg" alt=""/>
    201201                    <figcaption><?php _e( 'Button' ); ?></figcaption>
    202202                </figure>
     
    204204            <div class="col">
    205205                <figure>
    206                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Embeds.png" alt=""/>
     206                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Embeds.jpg" alt=""/>
    207207                    <figcaption><?php _e( 'Embeds' ); ?></figcaption>
    208208                </figure>
     
    210210            <div class="col">
    211211                <figure>
    212                     <img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-More.png" alt=""/>
     212                    <img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-More.jpg" alt=""/>
    213213                    <figcaption><?php _e( 'More' ); ?></figcaption>
    214214                </figure>
     
    247247        <div class="full-width">
    248248            <figure>
    249                 <img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen.png" alt="">
     249                <img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen-copy.jpg" alt="">
    250250                <figcaption><?php _e( 'The front-end of Twenty Nineteen on the left, and how it looks in the editor on the right.' ); ?></figcaption>
    251251            </figure>
     
    265265            </div>
    266266            <div class="col">
    267                 <img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen-type.png" alt="">
     267                <img src="https://wordpress.org/gutenberg/files/2018/11/typography-copy.jpg" alt="">
    268268                <h3><?php _e( 'Simple, type-driven layout' ); ?></h3>
    269269                <p><?php _e( 'Featuring ample whitespace, and modern sans-serif headlines paired with classic serif body text, Twenty Nineteen is built to be beautiful on the go. It uses system fonts to increase loading speed. No more long waits on slow networks!' ); ?></p>
     
    294294        <div class="under-the-hood feature-section three-col">
    295295            <div class="col">
     296                <img src="https://wordpress.org/gutenberg/files/2018/11/Protect-copy.jpg" alt=""/>
    296297                <h3><?php _e( 'Protect' ); ?></h3>
    297298                <p><?php _e( 'Blocks provide a comfortable way for users to change content directly, while also ensuring the content structure cannot be easily disturbed by accidental code edits. This allows the developer to control the output, building polished and semantic markup that is preserved through edits and not easily broken.' ); ?></p>
    298299            </div>
    299300            <div class="col">
     301                <img src="https://wordpress.org/gutenberg/files/2018/11/Compose-copy.jpg" alt=""/>
    300302                <h3><?php _e( 'Compose' ); ?></h3>
    301303                <p><?php _e( 'Take advantage of a wide collection of APIs and interface components to easily create blocks with intuitive controls for your clients. Utilizing these components not only speeds up development work but also provide a more consistent, usable, and accessible interface to all users.' ); ?></p>
    302304            </div>
    303305            <div class="col">
     306                <img src="https://wordpress.org/gutenberg/files/2018/11/Create-copy.jpg" alt=""/>
    304307                <h3><?php _e( 'Create' ); ?></h3>
    305308                <p><?php _e( 'The new block paradigm opens up a path of exploration and imagination when it comes to solving user needs. With the unified block insertion flow, it&#8217;s easier for your clients and customers to find and use blocks for all types of content. Developers can focus on executing their vision and providing rich editing experiences, rather than fussing with difficult APIs.' ); ?></p>
     
    332335                <?php if ( current_user_can( 'install_plugins' ) ) { ?>
    333336                    <div class="col cta">
    334                         <a class="button button-primary button-hero" href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=featured' ) ); ?>"><?php _e( 'Install the Classic Editor' ); ?></a>
     337                        <a class="button button-primary button-hero" href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg' ), 'save_wporg_username_' . get_current_user_id() ) ); ?>"><?php _e( 'Install the Classic Editor' ); ?></a>
    335338                    </div>
    336339                <?php } ?>
  • branches/5.0/src/wp-admin/css/about.css

    r43938 r43946  
    164164    text-align: center;
    165165    color: white;
     166    text-overflow: ellipsis;
    166167}
    167168
     
    315316.about-wrap .native-fonts p {
    316317    margin-bottom: 3em;
     318}
     319
     320.about-wrap .under-the-hood img + h3 {
     321    margin-top: 1.25em;
    317322}
    318323
     
    538543        position: relative;
    539544        margin-top: 10px;
    540         padding-top: 0;
     545        margin-bottom: 15px;
     546        padding: 0;
     547        background: none;
    541548        color: #40464D;
     549        text-shadow: none;
    542550    }
    543551
     
    577585        width: 100%;
    578586    }
     587   
     588    .about-wrap .feature-section .col {
     589        margin-top: 1em;
     590    }
    579591
    580592    .about-wrap .two-col .col,
     
    582594    .about-wrap .three-col .col {
    583595        min-width: 100% !important;
     596    }
     597   
     598    .about-wrap .eight-col .col {
     599        min-width: 48% !important;
    584600    }
    585601
     
    596612        margin-top: 0;
    597613    }
    598 
    599     .about-wrap .under-the-hood:nth-of-type(2n) h3,
    600     .about-wrap .under-the-hood:nth-of-type(3n) h3 {
    601         margin-top: 0;
     614   
     615    .about-wrap .under-the-hood img + h3 {
     616        margin-top: 1.25em;
    602617    }
    603618
Note: See TracChangeset for help on using the changeset viewer.