Skip to content

Commit

Permalink
Fix descript links (#84)
Browse files Browse the repository at this point in the history
* Fix https errors

* Update dependencies

* Change Descript link
  • Loading branch information
ChrisChinchilla authored May 16, 2024
1 parent 4584bb3 commit 8f09564
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 39 deletions.
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,51 +14,51 @@
},
"dependencies": {
"@astrojs/markdown-component": "1.0.5",
"@astrojs/react": "^3.1.1",
"@astrojs/react": "^3.3.4",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mui/icons-material": "^5.15.14",
"@mui/material": "^5.15.14",
"@netlify/functions": "^2.6.0",
"@mui/icons-material": "^5.15.18",
"@mui/material": "^5.15.18",
"@netlify/functions": "^2.6.3",
"fast-xml-parser": "^4.3.6",
"markdown-truncate": "^1.1.0",
"node-fetch": "^3.3.2"
},
"devDependencies": {
"@astro-community/astro-embed-youtube": "^0.5.1",
"@astrojs/mdx": "^2.2.3",
"@astrojs/partytown": "^2.0.4",
"@astrojs/rss": "^4.0.5",
"@astrojs/sitemap": "^3.1.2",
"@astro-community/astro-embed-youtube": "^0.5.2",
"@astrojs/mdx": "^3.0.0",
"@astrojs/partytown": "^2.1.0",
"@astrojs/rss": "^4.0.6",
"@astrojs/sitemap": "^3.1.4",
"@astrojs/tailwind": "^5.1.0",
"@astrolib/analytics": "^0.5.0",
"@astrolib/seo": "^1.0.0-beta.5",
"@fontsource/albert-sans": "^5.0.12",
"@fontsource/bitter": "^5.0.17",
"@iconify-json/carbon": "^1.1.31",
"@fontsource/albert-sans": "^5.0.13",
"@fontsource/bitter": "^5.0.18",
"@iconify-json/carbon": "^1.1.33",
"@iconify-json/fa": "^1.1.8",
"@iconify-json/fluent": "^1.1.51",
"@iconify-json/fluent": "^1.1.54",
"@iconify-json/logos": "^1.1.42",
"@iconify-json/ph": "^1.1.11",
"@iconify-json/ph": "^1.1.13",
"@iconify-json/ri": "^1.1.20",
"@iconify-json/tabler": "^1.1.109",
"@tailwindcss/typography": "^0.5.12",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"accessible-astro-components": "^2.3.5",
"astro": "^4.5.14",
"@iconify-json/tabler": "^1.1.111",
"@tailwindcss/typography": "^0.5.13",
"@typescript-eslint/eslint-plugin": "^8.0.0-alpha.13",
"@typescript-eslint/parser": "^8.0.0-alpha.13",
"accessible-astro-components": "^2.3.6",
"astro": "^4.8.4",
"astro-icon": "^1.1.0",
"eslint": "^8.57.0",
"eslint-plugin-astro": "^0.33.1",
"eslint": "^9.2.0",
"eslint-plugin-astro": "^1.2.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"limax": "4.1.0",
"mdast-util-to-string": "^4.0.0",
"prettier": "^3.2.5",
"prettier-plugin-astro": "^0.13.0",
"reading-time": "^1.5.0",
"svgo": "^3.2.0",
"svgo": "^3.3.2",
"tailwindcss": "^3.4.3",
"truncate-html": "^1.1.1",
"typescript": "^5.4.3"
"typescript": "^5.4.5"
}
}
2 changes: 1 addition & 1 deletion src/content/podcasts/dragos-nedelcu-of-the-senior-dev.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
player_embed: '14fc68c9-8a10-484d-b984-1b69d1577281'
descript_embed: 'https://share.descript.com/view/dxKFLGtGWb3'
descript_embed: 'dxKFLGtGWb3'
---
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
player_embed: '0b658af6-5f6d-44a4-a9b1-e8e38be9c377'
descript_embed: 'https://share.descript.com/view/NeD9xPRCVS1'
descript_embed: 'NeD9xPRCVS1'
---
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
player_embed: '2f9bc30d-e118-47ef-b420-ef532e56b775'
descript_embed: 'https://share.descript.com/view/8X1OvpUkki5'
descript_embed: '8X1OvpUkki5'
---
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'
---
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
player_embed: '6c3e952a-bb05-4897-b129-921af73b583d'
descript_embed: 'https://share.descript.com/view/wDkPB7j4X0O'
descript_embed: 'wDkPB7j4X0O'
---
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
player_embed: '97813423-767f-44fd-80ce-2e764e24c79f'
descript_embed: 'https://share.descript.com/view/0F7KcJa2vbX'
descript_embed: '0F7KcJa2vbX'
---
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
player_embed: 'd2ee3445-8ec5-4052-a8f6-efd25fd8556b'
descript_embed: 'https://share.descript.com/view/iwbTyGGrWgv'
descript_embed: 'iwbTyGGrWgv'
---
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
descript_embed: 'https://share.descript.com/view/4OxnyeR5481'
descript_embed: '4OxnyeR5481'
player_embed: 'afc4cbf2-d13c-486b-89a4-393fdadce026'
---
12 changes: 4 additions & 8 deletions src/layouts/PodcastLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,11 @@ function slugify(str) {
</audio>

}

<h2 class="text-xl sm:text-2xl leading-tight mb-2 font-heading dark:text-slate-300">
Interactive transcript
</h2>
{episodeData ? <iframe src={episodeData.descript_embed} width="100%" height="520" allowfullscreen /> : ''}
<ul>
{episodeData.descript_embed ?
<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 8f09564

Please sign in to comment.