Skip to content

Commit

Permalink
Closes #4541 Update tutorials categories and add new videos (PR #4545)
Browse files Browse the repository at this point in the history
  • Loading branch information
remyperona authored Dec 2, 2021
1 parent 4eaa5fe commit 7cb98ad
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion assets/css/wpr-admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/scss/components/_tutorials.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.wpr-tutorials-section {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}

div.wpr-tutorial-item {
width: calc( 96% / 3 );
margin-bottom: 10px;
margin-right: 1%;
}

.wpr-tutorial-link {
Expand Down
15 changes: 9 additions & 6 deletions views/settings/page-sections/tutorials.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,23 @@
'fj42vucf99' => __( 'Finding the Best Settings for Your Site', 'rocket' ),
'z1qxl7s2zn' => __( 'How to Check if WP Rocket is Caching Your Site', 'rocket' ),
'j042jylrre' => __( 'How to Measure the Speed of Your Site', 'rocket' ),
'803tlui8oi' => __( 'How Preloading Works', 'rocket' ),
],
],
[
'title' => __( 'File Optimization', 'rocket' ),
'title' => __( 'Passing the Core Web vitals', 'rocket' ),
'tutorials' => [
'frwm2xrksl' => __( 'Troubleshooting Display Issues with File Optimization', 'rocket' ),
'95z0cb0yxb' => __( 'How to Find the Right JavaScript to Exclude', 'rocket' ),
'9m1zg8p5wc' => __( 'How External Content Slows Your Site', 'rocket' ),
'fj7gs031q6' => __( 'How to improve LCP with WP Rocket', 'rocket' ),
'krqb7ckugp' => __( 'How to improve FID with WP Rocket', 'rocket' ),
'5wrdzcmj90' => __( 'How to improve CLS with WP Rocket', 'rocket' ),
],
],
[
'title' => __( 'Preload', 'rocket' ),
'title' => __( 'Troubleshooting', 'rocket' ),
'tutorials' => [
'803tlui8oi' => __( 'How Preloading Works', 'rocket' ),
'frwm2xrksl' => __( 'Troubleshooting Display Issues with File Optimization', 'rocket' ),
'95z0cb0yxb' => __( 'How to Find the Right JavaScript to Exclude', 'rocket' ),
'9m1zg8p5wc' => __( 'How External Content Slows Your Site', 'rocket' ),
],
],
[
Expand Down

0 comments on commit 7cb98ad

Please sign in to comment.