diff --git a/CHANGELOG.mdx b/CHANGELOG.mdx index 55d14f0f7..ae2e92376 100644 --- a/CHANGELOG.mdx +++ b/CHANGELOG.mdx @@ -23,6 +23,7 @@ Prefix the change with one of these keywords: - Full Video Banner missing videoName prop - Fix HubSpot example +- encrypted media console error on soundcloud embed. ## [0.25.5] diff --git a/lib/components/Card/CardHeader.tsx b/lib/components/Card/CardHeader.tsx index a47039d5c..8e791d8fe 100644 --- a/lib/components/Card/CardHeader.tsx +++ b/lib/components/Card/CardHeader.tsx @@ -35,7 +35,9 @@ export const CardHeader = ({ )} {readTime && ( -
+
{readTime} min read
)} diff --git a/lib/components/Embed/Embed.SoundCloud.tsx b/lib/components/Embed/Embed.SoundCloud.tsx index 0c3d44f1d..384efeb7e 100644 --- a/lib/components/Embed/Embed.SoundCloud.tsx +++ b/lib/components/Embed/Embed.SoundCloud.tsx @@ -6,7 +6,16 @@ export interface EmbedSoundCloudProps { export const EmbedSoundCloud = ({ title, url }: EmbedSoundCloudProps) => { const src = `https://w.soundcloud.com/player/?url=${url}&color='ff5500'&auto_play=false&hide_related=true&show_comments=false&show_user=true&show_reposts=false&visual=true` - return + return ( + + ) } EmbedSoundCloud.displayName = 'Embed.SoundCloud' diff --git a/lib/data/NewsData.ts b/lib/data/NewsData.ts index 3b3d85dc7..b98d547d1 100644 --- a/lib/data/NewsData.ts +++ b/lib/data/NewsData.ts @@ -29,7 +29,6 @@ export const NewsData = [ alt: 'AI Research Lab', excerpt: 'Carleton University has launched a new AI research lab to advance the field of artificial intelligence and machine learning. The lab will focus on cutting-edge research and collaboration with industry partners.', - date: '2023-09-15 09:00:00', readTime: '5', tags: { category: [