add placeholder
This commit is contained in:
@@ -7,7 +7,7 @@ import { CheckBadgeIcon } from '@heroicons/react/24/solid'
|
||||
import { LinkedInIcon } from '~/components/LinkedInIcon'
|
||||
import Layout from '~/layouts/Layout.astro'
|
||||
import ClientsLogo from '~/components/ClientsLogo.astro'
|
||||
import nr18plataforma from '~/assets/nr18-plataforma.png'
|
||||
import placeholder from '~/assets/placeholder.png'
|
||||
import mulherdenegocios from '~/assets/mulher-de-negocios.png'
|
||||
import homemdenegocios from '~/assets/homem-de-negocios.png'
|
||||
|
||||
@@ -39,10 +39,10 @@ const trainer = data.course?.trainer
|
||||
<Layout title={data.title}>
|
||||
<Container className="py-3 lg:py-12 lg:flex items-center justify-start gap-5">
|
||||
<Picture
|
||||
src={nr18plataforma}
|
||||
alt="NR-18"
|
||||
src={data?.img ? data.img : placeholder}
|
||||
alt={data.title}
|
||||
formats={['webp']}
|
||||
class="max-lg:hidden max-w-116"
|
||||
class="max-lg:hidden max-w-116 grayscale-15"
|
||||
/>
|
||||
<section>
|
||||
<div class="space-y-5">
|
||||
|
||||
Reference in New Issue
Block a user