Skip to content

Commit

Permalink
moved after test configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
claud-io committed Nov 27, 2023
1 parent 05d1bae commit 4963995
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 23 deletions.
18 changes: 1 addition & 17 deletions www/include/carousel.inc
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,6 @@
}
}
</style>
<?php
$quotes = array(
array(
'quote' => 'The best professional web performance investigators I know use WPT as a critical part of theyr workflows, and it\'s the center or mine.',
'author' => 'Alex Russel <span>Program Manager, Microsoft Edge</span>'
),
);
$quote = $quotes[array_rand($quotes)];
?>

<div class="container">
<div class="absolute-carousel-container">
<img src="/assets/images/carousel/top-wave.png" loading="lazy" class="top-wave">
Expand Down Expand Up @@ -191,10 +181,4 @@ $quote = $quotes[array_rand($quotes)];
</div>
<img src="/assets/images/carousel/bottom-wave.png" loading="lazy" class="bottom-wave">
</div>
</div>
<figure class="testimonial">
<blockquote>
<p>“<?php echo $quote['quote']; ?>”</p>
</blockquote>
<figcaption><cite><?php echo $quote['author']; ?></cite></figcaption>
</figure>
</div>
15 changes: 9 additions & 6 deletions www/include/home-subsections.inc
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@

<?php

$quotes = array(
array('quote' => '<a href="https://product.webpagetest.org/experiments">Experiments</a> are a game changer for quantifying the speed impact of performance optimizations. What took days of technical work is now just a few clicks. Not only will this save tons of time, it will let us test and iterate ideas to find the right mix of recommendations efficiently.<br><b>I’m blown away this exists, it feels like magic.</b>',
'author' => 'Todd Parker <span>Partner, Filament Group</span>'),
/*array('quote' => 'The best professional web performance investigators I know use WPT as a critical part of their workflows, and it\'s the center of mine.',
array(
'quote' => 'The best professional web performance investigators I know use WPT as a critical part of theyr workflows, and it\'s the center or mine.',
'author' => 'Alex Russel <span>Program Manager, Microsoft Edge</span>'
),
/* array('quote' => '<a href="https://product.webpagetest.org/experiments">Experiments</a> are a game changer for quantifying the speed impact of performance optimizations. What took days of technical work is now just a few clicks. Not only will this save tons of time, it will let us test and iterate ideas to find the right mix of recommendations efficiently.<br><b>I’m blown away this exists, it feels like magic.</b>',
'author' => 'Todd Parker <span>Partner, Filament Group</span>'),
array('quote' => 'The best professional web performance investigators I know use WPT as a critical part of their workflows, and it\'s the center of mine.',
'author' => 'Alex Russell <span>Program Manager, Microsoft Edge</span>'),
array('quote' => 'One of the cool features of WebPageTest is that it can generate a filmstrip of screen snapshots taken during a web page load, enabling us to quantify how a page loads, visually. This view makes it significantly easier to determine how long the page is blank for, and how long it takes for the most important content to render.</p><p>Being able to look at the results in this way, provides the ability to empathise with the user.',
'author' => 'Andrew Galloni <span>Engineering Director at Cloudflare</span>'),
Expand All @@ -15,6 +18,7 @@ $quotes = array(
);
$quote = $quotes[array_rand($quotes)];
?>
<?php include(INCLUDES_PATH . '/include/carousel.inc'); ?>
<figure class="testimonial">
<blockquote>
<p>“<?php echo $quote['quote']; ?>”</p>
Expand All @@ -37,5 +41,4 @@ $quote = $quotes[array_rand($quotes)];
<h2 class="alt">In-Depth Metrics</h2>
<p>Dive into the anatomy of your webpage with components like DNS, TCP, TLS, and more.</p>
</div>
</div>
<?php include(INCLUDES_PATH . '/include/carousel.inc'); ?>
</div>

0 comments on commit 4963995

Please sign in to comment.