@@ -18,7 +18,7 @@ const optimizedBg = await getImage({
1818const releaseVideoPlaceholderImage = await getImage ({
1919 src: VideoPlaceholder ,
2020 format: " webp" ,
21- width: 732 ,
21+ width: 448 ,
2222 quality: 80 ,
2323});
2424
@@ -32,33 +32,36 @@ const releaseVideo = {
3232
3333<!-- Apply the background using inline style -->
3434<section style ={ ` background-image: url('${optimizedBg .src }'); background-size: cover; ` } >
35- <div
36- class =" grid md:grid-cols-2 max-w-screen-xl px-6 sm:px-12 py-12 gap-8 mx-auto"
37- >
38- <div class =" flex lg:items-center col-span-2 md:col-span-1 md:col-start-1 row-start-2 md:row-start-1" >
39- <FeaturedVideo
40- client:load
41- placeholderImage ={ releaseVideo .placeholderImage }
42- imageAltText ={ releaseVideo .imageAltText }
43- videoURL ={ releaseVideo .videoURL }
44- textColor =" text-slate-50"
45- matomoEventName ={ releaseVideo .title }
46- />
47- </div >
48- <div class =" col-span-2 md:col-span-1 md:col-start-2 md:row-start-1 flex flex-col gap-8 lg:py-12" >
49- <Image src ={ AudioDotComLogo } class =" w-20" alt =" audio.com" />
50- <div >
51- <h2 class =" text-white" >Level up your Audacity</h2 >
52- <p class =" text-gray-300 mt-4" >
53- Audio.com, the online companion to Audacity, lets you collaborate on
54- projects, create versioned backups, and easily share and publish your
55- work.
56- </p >
35+ <div class =" mx-auto px-6 xs:px-12 md:px-8 py-8 md:py-8 lg:py-12 max-w-screen-lg" >
36+ <div class =" flex flex-col md:flex-row gap-12 md:gap-16" >
37+ <!-- Video Column - Order changes on mobile vs desktop -->
38+ <div class =" w-full md:w-1/2 order-2 md:order-1" >
39+ <FeaturedVideo
40+ client:load
41+ placeholderImage ={ releaseVideo .placeholderImage }
42+ imageAltText ={ releaseVideo .imageAltText }
43+ videoURL ={ releaseVideo .videoURL }
44+ textColor =" text-slate-50"
45+ matomoEventName ={ releaseVideo .title }
46+ />
5747 </div >
48+
49+ <!-- Text Content Column -->
50+ <div class =" w-full md:w-1/2 order-1 md:order-2 flex flex-col gap-4 md:gap-8" >
51+ <Image src ={ AudioDotComLogo } class =" w-20" alt =" audio.com" />
52+ <div >
53+ <h2 class =" text-white" >Level up your Audacity</h2 >
54+ <p class =" text-gray-300 mt-4" >
55+ Audio.com, the online companion to Audacity, lets you collaborate on
56+ projects, create versioned backups, and easily share and publish your
57+ work.
58+ </p >
59+ </div >
5860
59- <JoinAudioDotComButton
60- href =" https://audio.com/audacity/auth/sign-in?mtm_campaign=audacityteamorg&mtm_content=Block_button"
61- />
61+ <JoinAudioDotComButton
62+ href =" https://audio.com/audacity/auth/sign-in?mtm_campaign=audacityteamorg&utm_content=Block_button"
63+ />
64+ </div >
6265 </div >
6366 </div >
6467</section >
0 commit comments