diff --git a/public/images/podcast/episode/.gitkeep b/public/images/podcast/episode/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/public/images/testimonials/quote-down-yellow.svg b/public/images/testimonials/quote-down-yellow.svg deleted file mode 100644 index 32335da7..00000000 --- a/public/images/testimonials/quote-down-yellow.svg +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/public/images/testimonials/quote-top-yellow.svg b/public/images/testimonials/quote-top-yellow.svg deleted file mode 100644 index bb7d9b9f..00000000 --- a/public/images/testimonials/quote-top-yellow.svg +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/scripts/podcast_feed_to_content.py b/scripts/podcast_feed_to_content.py index 6fb51723..11dc81dc 100644 --- a/scripts/podcast_feed_to_content.py +++ b/scripts/podcast_feed_to_content.py @@ -28,7 +28,7 @@ # Global variables PODCAST_RSS_FEED = "https://feeds.redcircle.com/0ecfdfd7-fda1-4c3d-9515-476727f9df5e" PATH_MARKDOWN_FILES = 'src/content/podcast' -PATH_IMAGE_FILES = 'public/images/podcast/episode' +PATH_IMAGE_FILES = 'src/content/podcast' TOML_FILE = 'netlify.toml' REDIRECT_PREFIX = '/episodes/' diff --git a/src/components/BlogPostPreview.astro b/src/components/BlogPostPreview.astro index 84f20ba6..1a7e0b8a 100644 --- a/src/components/BlogPostPreview.astro +++ b/src/components/BlogPostPreview.astro @@ -1,5 +1,6 @@ --- import type { CollectionEntry } from 'astro:content'; +import { Image } from "astro:assets"; export interface Props { post: CollectionEntry<'blog'>; @@ -41,7 +42,7 @@ let tags = data.tags.map((element) => URLify(element));
diff --git a/src/components/HostPreview.astro b/src/components/HostPreview.astro index eae6d252..250d4ae0 100644 --- a/src/components/HostPreview.astro +++ b/src/components/HostPreview.astro @@ -1,4 +1,6 @@ --- +import { Image } from "astro:assets"; + export interface Props { avatar: string; name: string; @@ -12,12 +14,15 @@ export interface Props { } const { avatar, name, subtitle, description, github, twitter, linkedin, website, profileLink } = Astro.props; +const imageAvatar = (await import(`../images/teams/${avatar}.jpg`)).default + +// TODO We might want to migrate the Hosts to a "People" Content Collection ---
Head Of Engineering, NewStore
@@ -201,7 +212,7 @@ let currentEpisodeDescription = cutText(episode.data.description, 170); Podcast mit aktuellen und interkulturellem Witz über IT- und Führungsfragen. Was ich höre, lässt mich meine Rolle als Führungskraft reflektieren und hilft mir Ratschläge als Karrierecoach für Studierende auf ihre Relevanz abzuchecken.Referatsleiterin, Uni Passau
@@ -213,7 +224,7 @@ let currentEpisodeDescription = cutText(episode.data.description, 170);Techlead, trivago
@@ -227,7 +238,7 @@ let currentEpisodeDescription = cutText(episode.data.description, 170); Jede Woche neue Ansichten und Eindrücke in die unterschiedlichsten Engineering- und Management-Themen. In den kurzweiligen Folgen regen mich Wolfgang und Andy zum Nachdenken an und holen mich aus meiner "Blase" heraus.Leiter Software-Entwicklung, Getslash
@@ -239,7 +250,7 @@ let currentEpisodeDescription = cutText(episode.data.description, 170);Technical Director, ABOUT YOU
@@ -268,7 +279,7 @@ let currentEpisodeDescription = cutText(episode.data.description, 170);Host-gelesene Werbung von Media Lab Bayern bei Minute 15:07
@@ -65,16 +74,18 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site);Host-gelesene Werbung von trivago bei Minute 11:37