Skip to content

Commit

Permalink
corrected title slide
Browse files Browse the repository at this point in the history
  • Loading branch information
embruna committed Apr 16, 2024
1 parent 7e38195 commit de8b80d
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 34 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.Rproj.user
.Rhistory
.RData
.Ruserdata
/.quarto/
.httr-oauth
.Rdata
.DS_Store
19 changes: 10 additions & 9 deletions cv_workshop.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@ title: "UF-SACNAS"
subtitle: "CV Workshop"
author: "Emilio M. Bruna"
institute: "Wildlife Ecology and Conservation & Center for Latin American Studies"
date: "`r format(Sys.time(), '%B %Y')`"
date:
value: today
format: '[Updated: ] MMMM DD, YYYY'
title-slide-style: pandoc
format:
revealjs:
theme: [white, cv_workshop.css]
slide-number: true
# show-slide-number: print
# theme: [night]
# theme: [custom.css]
smaller: true
# self-contained: false
# reveal-js-url:
# theme: white
# editor: source
output: revealjs::revealjs_presentation
engine: knitr
include-in-header:
text: |
<style>
Expand Down Expand Up @@ -241,17 +242,17 @@ Patents
[**Let's see some examples.**]{style="color: darkblue"}
:::

------------------------------------------------------------------------
<!-- ------------------------------------------------------------------------ -->

<!-- ## -->

![](images/sample_cv1.png){fig-align="left"}
<!-- ![](images/sample_cv1.png){fig-align="left"} -->

------------------------------------------------------------------------
<!-- ------------------------------------------------------------------------ -->

<!-- ## -->
<!-- <!-- ## -->

![](images/sample_cv2.png){fig-align="left"}
<!-- ![](images/sample_cv2.png){fig-align="left"} -->

------------------------------------------------------------------------

Expand Down
72 changes: 48 additions & 24 deletions slides/cv_workshop.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,22 +337,12 @@
<div class="reveal">
<div class="slides">

<section id="title-slide" class="quarto-title-block center">
<section id="title-slide" class="center">
<h1 class="title">UF-SACNAS</h1>
<p class="subtitle">CV Workshop</p>

<div class="quarto-title-authors">
<div class="quarto-title-author">
<div class="quarto-title-author-name">
Emilio M. Bruna
</div>
<p class="quarto-title-affiliation">
Wildlife Ecology and Conservation &amp; Center for Latin American Studies
</p>
</div>
</div>

<p class="date">Invalid Date</p>
<p class="author">Emilio M. Bruna</p>
<p class="institute">Wildlife Ecology and Conservation &amp; Center for Latin American Studies</p>
<p class="date">Updated: April 16, 2024</p>
</section>
<section id="before-we-start" class="slide level2 smaller">
<h2><span style="color: darkblue">Before we start</span></h2>
Expand Down Expand Up @@ -524,17 +514,13 @@ <h2><span style="color: darkblue"><em>CV</em> aesthetics</span></h2>
<div style="position: absolute; bottom: 0; right: 0; width: 400px; text-align:right;">
<p><span style="color: darkblue"><strong>Let’s see some examples.</strong></span></p>
</div>
</section>
<section class="slide level2">

<!-- ------------------------------------------------------------------------ -->
<!-- ## -->

<img data-src="images/sample_cv1.png" class="r-stretch quarto-figure-left"></section>
<section class="slide level2">

<!-- ## -->

<img data-src="images/sample_cv2.png" class="r-stretch quarto-figure-left"></section>
<!-- ![](images/sample_cv1.png){fig-align="left"} -->
<!-- ------------------------------------------------------------------------ -->
<!-- <!-- ## -->
<!-- ![](images/sample_cv2.png){fig-align="left"} -->
</section>
<section class="slide level2">


Expand Down Expand Up @@ -796,6 +782,44 @@ <h2><span style="color: darkblue">Reminder</span></h2>
]
});
</script>

<script>
// htmlwidgets need to know to resize themselves when slides are shown/hidden.
// Fire the "slideenter" event (handled by htmlwidgets.js) when the current
// slide changes (different for each slide format).
(function () {
// dispatch for htmlwidgets
function fireSlideEnter() {
const event = window.document.createEvent("Event");
event.initEvent("slideenter", true, true);
window.document.dispatchEvent(event);
}

function fireSlideChanged(previousSlide, currentSlide) {
fireSlideEnter();

// dispatch for shiny
if (window.jQuery) {
if (previousSlide) {
window.jQuery(previousSlide).trigger("hidden");
}
if (currentSlide) {
window.jQuery(currentSlide).trigger("shown");
}
}
}

// hookup for slidy
if (window.w3c_slidy) {
window.w3c_slidy.add_observer(function (slide_num) {
// slide_num starts at position 1
fireSlideChanged(null, w3c_slidy.slides[slide_num - 1]);
});
}

})();
</script>

<script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) {
const toggleBodyColorMode = (bsSheetEl) => {
Expand Down
Binary file removed slides/images/sample_cv1.png
Binary file not shown.
Binary file removed slides/images/sample_cv2.png
Binary file not shown.
Loading

0 comments on commit de8b80d

Please sign in to comment.