Skip to content

Commit

Permalink
make presentation url dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
tvannoy committed Oct 17, 2023
1 parent f340542 commit c8abbc0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
17 changes: 17 additions & 0 deletions components/presentation-url.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<script>
export default {
data: () => {
return {
href: window.location.origin,
};
},
}
</script>

<template>
<a :href="href">{{ href }}</a>
</template>
5 changes: 3 additions & 2 deletions slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ follow along!
</div>
</div>

<a class="absolute bottom-20 right-1/4" href="https://tvannoy.github.io/stats-seminar-intro-to-git">tvannoy.github.io/stats-seminar-intro-to-git</a>
<presentation-url class="text-center absolute bottom-20" />

---

Expand Down Expand Up @@ -581,7 +581,8 @@ assign DOIs <mdi-code-brackets class="text-green-500"/> to your code <mdi-file-c

</div>

<a class="absolute bottom-20 right-1/4" href="https://tvannoy.github.io/stats-seminar-intro-to-git">tvannoy.github.io/stats-seminar-intro-to-git</a>
<presentation-url class="absolute bottom-20" />


---
layout: section
Expand Down

0 comments on commit c8abbc0

Please sign in to comment.