Skip to content

Commit

Permalink
fix: image banners go via-cream
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdoc committed Nov 21, 2024
1 parent eb6cb93 commit 695078e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/podcast/talks/episode.njk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ eleventyComputed:
<div class="sm:aspect-[16/7] w-full sm:bg-cover sm:bg-center sm:overflow-hidden sm:relative">
{% rwdImg featuredImage, "", [550, 1024, 1512, 2056], "sm:inset-0 w-full h-full sm:absolute sm:object-cover", "100vw" %}

<div class="px-4 pt-4 sm:absolute sm:inset-0 bg-gradient-to-b from-transparent via-white/20 to-white sm:flex sm:flex-col sm:justify-end sm:items-start">
<div class="px-4 pt-4 sm:absolute sm:inset-0 bg-gradient-to-b from-transparent via-cream/20 to-cream sm:flex sm:flex-col sm:justify-end sm:items-start">

<a href="/podcast/talks" class="hidden sm:flex gap-1 items-center group">
{% svgIcon "icon-arrowLeft", "shrink-0 h-4 w-4 transition group-hover:-translate-x-2", "Date" %}
Expand Down
2 changes: 1 addition & 1 deletion src/preaching/series.njk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ eleventyComputed:
<div class="sm:aspect-[16/7] w-full sm:bg-cover sm:bg-center sm:overflow-hidden sm:relative">
{% rwdImg series.artwork_url, "", [550, 1024, 1512, 2056], "sm:inset-0 w-full h-full sm:absolute sm:object-cover", "100vw" %}

<div class="px-4 pt-4 sm:absolute sm:inset-0 bg-gradient-to-b from-transparent via-white/20 to-white sm:flex sm:flex-col sm:justify-end sm:items-start">
<div class="px-4 pt-4 sm:absolute sm:inset-0 bg-gradient-to-b from-transparent via-cream/20 to-cream sm:flex sm:flex-col sm:justify-end sm:items-start">

<a href="/preaching" class="hidden sm:flex gap-1 items-center group">
{% svgIcon "icon-arrowLeft", "shrink-0 h-4 w-4 transition group-hover:-translate-x-2", "Date" %}
Expand Down
2 changes: 1 addition & 1 deletion src/preaching/sermon.njk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ eleventyComputed:
<div class="sm:aspect-[16/7] w-full sm:bg-cover sm:bg-center sm:overflow-hidden sm:relative">
{% rwdImg series.artwork_url, "", [550, 1024, 1512, 2056], "sm:inset-0 w-full h-full sm:absolute sm:object-cover", "100vw" %}

<div class="px-4 pt-4 sm:absolute sm:inset-0 bg-gradient-to-b from-transparent via-white/20 to-white sm:flex sm:flex-col sm:justify-end sm:items-start">
<div class="px-4 pt-4 sm:absolute sm:inset-0 bg-gradient-to-b from-transparent via-cream/20 to-cream sm:flex sm:flex-col sm:justify-end sm:items-start">

<div class="group inline-flex gap-1 items-center">
{% svgIcon "icon-arrowLeft", "shrink-0 h-4 w-4 transition group-hover:-translate-x-2", "Date" %}
Expand Down

0 comments on commit 695078e

Please sign in to comment.