Skip to content

Commit

Permalink
Merge pull request #20 from MitchellHarrison/fix-cheese
Browse files Browse the repository at this point in the history
change valuebox css for cheese dashboard
  • Loading branch information
MitchellHarrison authored Nov 14, 2024
2 parents 5ab6a4c + cdba432 commit 21a26c9
Show file tree
Hide file tree
Showing 34 changed files with 3,623 additions and 10,067 deletions.

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions docs/listings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
{
"listing": "/tutorials.html",
"items": [
"/tutorials/math_stat_0.html",
"/tutorials/math_stat_1.html",
"/tutorials/tidytuesday_05212024.html",
"/tutorials/tidytuesday_06112024.html",
"/tutorials/math_stat_2.html",
"/tutorials/math_stat_3.html",
"/tutorials/math_stat_4.html",
"/tutorials/tidytuesday_05212024.html",
"/tutorials/tidytuesday_06112024.html"
"/tutorials/math_stat_1.html",
"/tutorials/math_stat_0.html",
"/tutorials/math_stat_4.html"
]
},
{
"listing": "/projects.html",
"items": [
"/projects/crickets/crickets.html",
"/projects/tidytuesday_05212024/emissions.html",
"/projects/tidytuesday_06042024/cheese.html",
"/projects/tidytuesday_06112024/pride.html"
"/projects/tidytuesday_06112024/pride.html",
"/projects/tidytuesday_05212024/emissions.html",
"/projects/crickets/crickets.html"
]
}
]
109 changes: 49 additions & 60 deletions docs/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.57">
<meta name="generator" content="quarto-1.4.553">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">


<title>Projects – Mitch’s Website</title>
<title>Mitch’s Website - Projects</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down Expand Up @@ -98,7 +98,7 @@
})
</script>

<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=es6"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js" type="text/javascript"></script>

<script type="text/javascript">
Expand Down Expand Up @@ -142,7 +142,7 @@
</a>
</div>
<div id="quarto-search" class="" title="Search"></div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" role="menu" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
Expand All @@ -163,7 +163,7 @@
</li>
</ul>
</div> <!-- /navcollapse -->
<div class="quarto-navbar-tools">
<div class="quarto-navbar-tools">
</div>
</div> <!-- /container-fluid -->
</nav>
Expand Down Expand Up @@ -204,26 +204,29 @@ <h1 class="title">Projects</h1>

<div class="quarto-listing quarto-listing-container-grid" id="listing-listing">
<div class="list grid quarto-listing-cols-3">
<div class="g-col-1" data-index="0" data-categories="Bayesian Statistics,Data Viz" data-listing-file-modified-sort="1731255456193" data-listing-reading-time-sort="21" data-listing-word-count-sort="4039">
<a href="./projects/crickets/crickets.html" class="quarto-grid-link">
<div class="g-col-1" data-index="0" data-categories="Data Viz,TidyTuesday,Dashboard" data-listing-file-modified-sort="1731622218297" data-listing-reading-time-sort="4" data-listing-word-count-sort="688">
<a href="./projects/tidytuesday_06042024/cheese.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top">
<img loading="lazy" src="./images/thumbnails/projects/crickets.png" class="thumbnail-image card-img" style="height: 150px;">
<img src="./images/thumbnails/projects/tidytuesday/06042024.jpg" class="thumbnail-image card-img" style="height: 150px;">
</p>
<div class="card-body post-contents">
<h5 class="no-anchor card-title listing-title">
Cricket Crackers: A Bayesian Approach
The Cheese Explorer | TidyTuesday
</h5>
<div class="listing-categories">
<div class="listing-category" onclick="window.quartoListingCategory('Bayesian Statistics'); return false;">
Bayesian Statistics
</div>
<div class="listing-category" onclick="window.quartoListingCategory('Data Viz'); return false;">
Data Viz
</div>
<div class="listing-category" onclick="window.quartoListingCategory('TidyTuesday'); return false;">
TidyTuesday
</div>
<div class="listing-category" onclick="window.quartoListingCategory('Dashboard'); return false;">
Dashboard
</div>
</div>
<div class="card-text listing-description">
Like me, you probably eat too much meat. Many of us have heard of the negative consequences of meat consumption: high per-pound greenhouse gas emissions, deforestation, and…

</div>
<div class="card-attribution card-text-small start">
<div class="listing-author">
Expand All @@ -234,15 +237,15 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="1" data-categories="Data Viz,TidyTuesday" data-listing-file-modified-sort="1718146470693" data-listing-reading-time-sort="6" data-listing-word-count-sort="1090">
<a href="./projects/tidytuesday_05212024/emissions.html" class="quarto-grid-link">
<div class="g-col-1" data-index="1" data-categories="Data Viz,TidyTuesday" data-listing-file-modified-sort="1718175985975" data-listing-reading-time-sort="4" data-listing-word-count-sort="630">
<a href="./projects/tidytuesday_06112024/pride.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top">
<img loading="lazy" src="./images/thumbnails/projects/tidytuesday/05212024.png" class="thumbnail-image card-img" style="height: 150px;">
<img src="./images/thumbnails/projects/tidytuesday/06112024.jpg" class="thumbnail-image card-img" style="height: 150px;">
</p>
<div class="card-body post-contents">
<h5 class="no-anchor card-title listing-title">
Our World in Emissions | TidyTuesday
Campus Pride Index | TidyTuesday
</h5>
<div class="listing-categories">
<div class="listing-category" onclick="window.quartoListingCategory('Data Viz'); return false;">
Expand All @@ -253,26 +256,26 @@ <h5 class="no-anchor card-title listing-title">
</div>
</div>
<div class="card-text listing-description">
Hello, all! Welcome to TidyTuesday. This week, as climate analysts often do, we are going to get mildly depressing in pursuit of a pretty graph. This time, we will look at…
Happy pride month! On this fine TidyTuesday afternoon, we will see how different types of colleges and universities handle LGBTQ+ inclusion! The Campus Pride Index tracks…<code></code>
</div>
<div class="card-attribution card-text-small start">
<div class="listing-author">
Mitch Harrison

</div>
</div>
</div>
</div>
</a>
</div>
<div class="g-col-1" data-index="2" data-categories="Data Viz,TidyTuesday,Dashboard" data-listing-file-modified-sort="1718214589790" data-listing-reading-time-sort="4" data-listing-word-count-sort="688">
<a href="./projects/tidytuesday_06042024/cheese.html" class="quarto-grid-link">
<div class="g-col-1" data-index="2" data-categories="Data Viz,TidyTuesday" data-listing-file-modified-sort="1718174562457" data-listing-reading-time-sort="6" data-listing-word-count-sort="1090">
<a href="./projects/tidytuesday_05212024/emissions.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top">
<img loading="lazy" src="./images/thumbnails/projects/tidytuesday/06042024.jpg" class="thumbnail-image card-img" style="height: 150px;">
<img src="./images/thumbnails/projects/tidytuesday/05212024.png" class="thumbnail-image card-img" style="height: 150px;">
</p>
<div class="card-body post-contents">
<h5 class="no-anchor card-title listing-title">
The Cheese Explorer | TidyTuesday
Our World in Emissions | TidyTuesday
</h5>
<div class="listing-categories">
<div class="listing-category" onclick="window.quartoListingCategory('Data Viz'); return false;">
Expand All @@ -281,42 +284,39 @@ <h5 class="no-anchor card-title listing-title">
<div class="listing-category" onclick="window.quartoListingCategory('TidyTuesday'); return false;">
TidyTuesday
</div>
<div class="listing-category" onclick="window.quartoListingCategory('Dashboard'); return false;">
Dashboard
</div>
</div>
<div class="card-text listing-description">
Welcome to TidyTuesday! This is a quick demonstration of the new Quarto dashboard functionality, which allows for quick-and-easy construction of data visualization
Hello, all! Welcome to TidyTuesday. This week, as climate analysts often do, we are going to get mildly depressing in pursuit of a pretty graph. This time, we will look at
</div>
<div class="card-attribution card-text-small start">
<div class="listing-author">

Mitch Harrison
</div>
</div>
</div>
</div>
</a>
</div>
<div class="g-col-1" data-index="3" data-categories="Data Viz,TidyTuesday" data-listing-file-modified-sort="1718214589791" data-listing-reading-time-sort="4" data-listing-word-count-sort="630">
<a href="./projects/tidytuesday_06112024/pride.html" class="quarto-grid-link">
<div class="g-col-1" data-index="3" data-categories="Bayesian Statistics,Data Viz" data-listing-file-modified-sort="1731620907182" data-listing-reading-time-sort="21" data-listing-word-count-sort="4039">
<a href="./projects/crickets/crickets.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top">
<img loading="lazy" src="./images/thumbnails/projects/tidytuesday/06112024.jpg" class="thumbnail-image card-img" style="height: 150px;">
<img src="./images/thumbnails/projects/crickets.png" class="thumbnail-image card-img" style="height: 150px;">
</p>
<div class="card-body post-contents">
<h5 class="no-anchor card-title listing-title">
Campus Pride Index | TidyTuesday
Cricket Crackers: A Bayesian Approach
</h5>
<div class="listing-categories">
<div class="listing-category" onclick="window.quartoListingCategory('Bayesian Statistics'); return false;">
Bayesian Statistics
</div>
<div class="listing-category" onclick="window.quartoListingCategory('Data Viz'); return false;">
Data Viz
</div>
<div class="listing-category" onclick="window.quartoListingCategory('TidyTuesday'); return false;">
TidyTuesday
</div>
</div>
<div class="card-text listing-description">
Happy pride month! On this fine TidyTuesday afternoon, we will see how different types of colleges and universities handle LGBTQ+ inclusion! The Campus Pride Index tracks…<code></code>

</div>
<div class="card-attribution card-text-small start">
<div class="listing-author">
Expand Down Expand Up @@ -367,7 +367,18 @@ <h5 class="no-anchor card-title listing-title">
}
return false;
}
const onCopySuccess = function(e) {
const clipboard = new window.ClipboardJS('.code-copy-button', {
text: function(trigger) {
const codeEl = trigger.previousElementSibling.cloneNode(true);
for (const childEl of codeEl.children) {
if (isCodeAnnotation(childEl)) {
childEl.remove();
}
}
return codeEl.innerText;
}
});
clipboard.on('success', function(e) {
// button target
const button = e.trigger;
// don't keep focus
Expand Down Expand Up @@ -399,37 +410,15 @@ <h5 class="no-anchor card-title listing-title">
}, 1000);
// clear code selection
e.clearSelection();
}
const getTextToCopy = function(trigger) {
const codeEl = trigger.previousElementSibling.cloneNode(true);
for (const childEl of codeEl.children) {
if (isCodeAnnotation(childEl)) {
childEl.remove();
}
}
return codeEl.innerText;
}
const clipboard = new window.ClipboardJS('.code-copy-button:not([data-in-quarto-modal])', {
text: getTextToCopy
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
// For code content inside modals, clipBoardJS needs to be initialized with a container option
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
});
clipboardModal.on('success', onCopySuccess);
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/mitchellharrison\.github\.io");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
// Inspect non-navigation links and adorn them if external
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool):not(.about-link)');
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool)');
for (var i=0; i<links.length; i++) {
const link = links[i];
if (!isInternal(link.href)) {
Expand Down
Loading

0 comments on commit 21a26c9

Please sign in to comment.