#15 - Update Images to CDN
All checks were successful
CodyOps Core Builder / build-conteiner (pull_request) Successful in 6m7s
All checks were successful
CodyOps Core Builder / build-conteiner (pull_request) Successful in 6m7s
This commit is contained in:
parent
0e904c3024
commit
6e1250ec91
@ -16,10 +16,10 @@ const tier_one = getPrices('price_tier_one',import.meta.env.ASTRO_CURRENCY.toLow
|
||||
<figure class="figure">
|
||||
<Image
|
||||
class="card-img"
|
||||
src={`${import.meta.env.ASTRO_DIRECTUS_API}/assets/${course.image}`}
|
||||
alt="Image Description"
|
||||
width=-1
|
||||
height=-1
|
||||
src={`${import.meta.env.ASTRO_ASSETS}/${course.image}`}
|
||||
alt={`${course.name} Image Description`}
|
||||
width={325}
|
||||
height={455}
|
||||
/>
|
||||
</figure>
|
||||
</a>
|
||||
|
@ -23,8 +23,8 @@ const { course }: Props = Astro.props;
|
||||
<figure class="avatar avatar-xs avatar-circle">
|
||||
<Image
|
||||
class="avatar-img"
|
||||
src={`${import.meta.env.ASTRO_DIRECTUS_API}/assets/${course.user_created.avatar}`}
|
||||
alt="Course Image"
|
||||
src={`${import.meta.env.ASTRO_ASSETS}/${course.user_created.avatar}`}
|
||||
alt={`${course.user_created.first_name} Avatar`}
|
||||
width={40}
|
||||
height={40}
|
||||
/>
|
||||
|
@ -71,10 +71,10 @@ const getOverallRating = (reviews: any) => {
|
||||
<div class="flex-shrink-0">
|
||||
<Image
|
||||
class="avatar avatar-sm avatar-circle"
|
||||
src={`${import.meta.env.ASTRO_DIRECTUS_API}/assets/${review.user_created.avatar}`}
|
||||
alt="Image Description"
|
||||
width="50"
|
||||
height="50"
|
||||
src={`${import.meta.env.ASTRO_ASSETS}/${review.user_created.avatar}`}
|
||||
alt={`${review.user_created.avatar} Avatar`}
|
||||
width={50}
|
||||
height={50}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
@ -11,8 +11,8 @@ const { post }: Props = Astro.props;
|
||||
<figure class="shape-container">
|
||||
<Image
|
||||
class="card-img img-fluid"
|
||||
src={`${import.meta.env.ASTRO_DIRECTUS_API}/assets/${post.cover_image}`}
|
||||
alt="Image placeholder"
|
||||
src={`${import.meta.env.ASTRO_ASSETS}/${post.cover_image}`}
|
||||
alt={`${post.title} Image`}
|
||||
inferSize={true}
|
||||
/>
|
||||
<div class="shape shape-bottom zi-1" style="margin-bottom: -0.25rem">
|
||||
|
@ -12,8 +12,8 @@ const { post }: Props = Astro.props;
|
||||
<figure class="shape-container overflow-hidden" style="height: 100%">
|
||||
<Image
|
||||
class="card-img"
|
||||
src={`${import.meta.env.ASTRO_DIRECTUS_API}/assets/${post.cover_image}`}
|
||||
alt="Image placeholder"
|
||||
src={`${import.meta.env.ASTRO_ASSETS}/${post.cover_image}`}
|
||||
alt={`${post.title} Image`}
|
||||
style="height: 100%"
|
||||
inferSize={true}
|
||||
/>
|
||||
|
@ -26,8 +26,8 @@ const { post } = Astro.props;
|
||||
<h1 class="h2 text-white text-center">{post.title}</h1><br>
|
||||
<Image
|
||||
class="card-img"
|
||||
src={`${import.meta.env.ASTRO_DIRECTUS_API}/assets/${post.cover_image}`}
|
||||
alt="Image placeholder"
|
||||
src={`${import.meta.env.ASTRO_ASSETS}/${post.cover_image}`}
|
||||
alt={`${post.title} Image`}
|
||||
inferSize={true}
|
||||
/>
|
||||
<div class="container content-space-1">
|
||||
|
Loading…
x
Reference in New Issue
Block a user