Skip to content

Commit

Permalink
Change Descript link
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChinchilla committed May 16, 2024
1 parent 19d022b commit 3e4aa76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
descript_embed: 'https://share.descript.com/view/Cxqh3nnokQq'
player_embed: '609c5e0b-a7d5-47c3-8412-7d8bbee7e4e6'
---
11 changes: 3 additions & 8 deletions src/layouts/PodcastLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,11 @@ function slugify(str) {
</audio>

}
<!-- TODO: When did the interactive transcript stop working? -->
<h2 class="text-xl sm:text-2xl leading-tight mb-2 font-heading dark:text-slate-300">
Interactive transcript
</h2>
<ul>
{episodeData.descript_embed ?
<iframe width="100%" height="520" allowfullscreen seamless src=`https://share.descript.com/view/${episodeData.descript_embed}`></iframe> : ''}
<li><a href=`${episodeData.descript_embed}`>Interactive transcript</a></li> : ''}
</ul>
</div>
<h2>Transcript</h2>
<div set:html={episodeData.transcript}></div>
{episodeData.transcript}
</article>
</div>
</section>
Expand Down
1 change: 1 addition & 0 deletions src/pages/podcast/[...page].astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { PODCAST } from '~/config.mjs';
import Podcast from '../../components/Podcast.astro';
import { XMLParser } from 'fast-xml-parser';
import { Pagination } from 'accessible-astro-components';
// TODO: Feels odd to duplicate calls to API for generating each individual items and the pagination?
export async function getStaticPaths({ paginate }) {
Expand Down

0 comments on commit 3e4aa76

Please sign in to comment.