@@ -7,6 +7,7 @@ import Features from '~/components/widgets/Features.astro';
77import Features2 from ' ~/components/widgets/Features2.astro' ;
88import Stats from ' ~/components/widgets/Stats.astro' ;
99import CallToAction from ' ~/components/widgets/CallToAction.astro' ;
10+ import { Image } from ' astro:assets' ;
1011
1112import kristopherSpeakingImg from ' ~/assets/images/kristopher-speaking.jpeg' ;
1213
@@ -31,11 +32,18 @@ const metadata = {
3132 target: ' _blank' ,
3233 },
3334 ]}
34- image ={ {
35- src: kristopherSpeakingImg ,
36- alt: ' Kristopher Turner speaking at a conference' ,
37- }}
38- />
35+ >
36+ <Fragment slot =" image" >
37+ <Image
38+ src ={ kristopherSpeakingImg }
39+ alt =" Kristopher Turner speaking at a conference"
40+ class =" mx-auto rounded-md w-full"
41+ widths ={ [400 , 768 , 1024 ]}
42+ sizes =" (max-width: 767px) 400px, (max-width: 1023px) 768px, 1024px"
43+ loading =" eager"
44+ />
45+ </Fragment >
46+ </Hero >
3947
4048 <!-- Features Widget - Featured Sessions *************** -->
4149
@@ -185,11 +193,16 @@ const metadata = {
185193 description: ' With Chris Cavazos, Travis Roberts & Adam Nichols' ,
186194 },
187195 ]}
188- image ={ {
189- src: kristopherSpeakingImg ,
190- alt: ' Kristopher Turner speaking' ,
191- }}
192196 >
197+ <Fragment slot =" image" >
198+ <Image
199+ src ={ kristopherSpeakingImg }
200+ alt =" Kristopher Turner speaking"
201+ class =" mx-auto w-full rounded-lg shadow-lg"
202+ widths ={ [400 , 768 ]}
203+ sizes =" (max-width: 768px) 100vw, 432px"
204+ />
205+ </Fragment >
193206 <Fragment slot =" content" >
194207 <h3 class =" text-2xl font-bold tracking-tight dark:text-white sm:text-3xl mb-2" >9 Sessions at MMS 2026</h3 >
195208 <p class =" mb-4" >
0 commit comments