Skip to content

Commit

Permalink
Merge pull request #13 from azachwill/devcommit14
Browse files Browse the repository at this point in the history
devcommit14
  • Loading branch information
awilliams1275 authored Aug 16, 2024
2 parents 46ddfb9 + ab3c9e7 commit b6802d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _build/r/getstarted/shiny-basics/lesson1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ <h2 data-anchor-id="go-further">Go Further</h2>
</div>
</div>
</footer>
<script>var lightboxQuarto = GLightbox({"openEffect":"fade","loop":false,"selector":".lightbox","closeEffect":"fade","descPosition":"bottom"});
<script>var lightboxQuarto = GLightbox({"openEffect":"fade","selector":".lightbox","closeEffect":"fade","loop":false,"descPosition":"bottom"});
(function() {
let previousOnload = window.onload;
window.onload = () => {
Expand Down
4 changes: 2 additions & 2 deletions _build/r/getstarted/shiny-basics/lesson6/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ <h2 data-anchor-id="a-new-app-stockvis">A new app: stockVis</h2>
<li>Decide whether or not to correct prices for inflation.</li>
</ol>
<div class="border my-5">
<p><a href="images/stockVis.png" class="lightbox" title="" data-gallery="quarto-lightbox-gallery-1"><img src="images/stockVis.png" class="img-fluid" alt="stockVis Shiny app with stock symbols and date range, and a plot of the stock over that time range on the right"></a></p>
<p><a href="images/stockVis.png" class="lightbox" data-gallery="quarto-lightbox-gallery-1" title=""><img src="images/stockVis.png" class="img-fluid" alt="stockVis Shiny app with stock symbols and date range, and a plot of the stock over that time range on the right"></a></p>
</div>
<p>Note that the “Adjust prices for inflation” check box doesn’t work yet. One of our tasks in this lesson is to fix this check box.</p>
<p>By default, stockVis displays the SPY ticker (an index of the entire S&amp;P 500). To look up a different stock, type in a stock symbol that Yahoo finance will recognize. You can look up Yahoo’s stock symbols <a href="https://finance.yahoo.com/lookup/">here</a>. Some common symbols are GOOG (Google), AAPL (Apple), and GS (Goldman Sachs).</p>
Expand Down Expand Up @@ -1184,7 +1184,7 @@ <h2 data-anchor-id="recap">Recap</h2>
</div>
</div>
</footer>
<script>var lightboxQuarto = GLightbox({"closeEffect":"fade","selector":".lightbox","openEffect":"fade","descPosition":"bottom","loop":false});
<script>var lightboxQuarto = GLightbox({"openEffect":"fade","selector":".lightbox","closeEffect":"fade","descPosition":"bottom","loop":false});
(function() {
let previousOnload = window.onload;
window.onload = () => {
Expand Down
2 changes: 2 additions & 0 deletions netlify/edge-functions/redirects.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default async (request, context) => {
if ( window.location.href ) {
const getURL = window.location.href;
let articleUrl = getURL.indexOf(".html");
let indexUrl = getURL.indexOf("index.html");
Expand All @@ -8,4 +9,5 @@ export default async (request, context) => {
const url = new URL(redirectURL, request.url); // Replace with target URL
return Response.redirect(url, 301);
}
}
};

0 comments on commit b6802d9

Please sign in to comment.