@@ -74,11 +74,11 @@ const formatCampaignLinkLabel = (
7474 </div >
7575 </section >
7676 <aside class =" col-start-2 col-span-10 sm:col-start-8 sm:col-span-3" >
77- < div >
78- <h2 class = " text-sm uppercase font-normal text-gray-600 " >
79- Pre-release builds
80- </ h2 >
81- { hasDownloadCampaigns ? (
77+ { hasDownloadCampaigns && (
78+ <div >
79+ < h2 class = " text-sm uppercase font-normal text-gray-600 " >
80+ Pre-release builds
81+ </ h2 >
8282 <div class = " flex flex-col gap-6 mt-2" >
8383 { activeDownloadEntries .map ((entry ) => {
8484 const downloads = entry .downloads ;
@@ -89,66 +89,62 @@ const formatCampaignLinkLabel = (
8989
9090 return (
9191 <div class = " flex flex-col gap-3" >
92- <h3 class = " text-base font-semibold text-gray-900" >
93- { versionLabel }
94- </h3 >
95- <p class = " text-sm text-gray-700" >
96- { entry .summary }
97- </p >
98- <ul class = " flex flex-col gap-2 text-sm" >
99- {
100- windowsBuilds .map ((build ) => (
101- <li >
102- <a
103- class = " hyperlink"
104- href = { build .browser_download_url }
105- >
106- { formatCampaignLinkLabel (entry , " Windows" , build .name )}
107- </a >
108- </li >
109- ))
110- }
111- {
112- macBuilds .map ((build ) => (
113- <li >
114- <a
115- class = " hyperlink"
116- href = { build .browser_download_url }
117- >
118- { formatCampaignLinkLabel (entry , " macOS" , build .name )}
119- </a >
120- </li >
121- ))
122- }
123- {
124- linuxBuilds .map ((build ) => (
125- <li >
126- <a
127- class = " hyperlink"
128- href = { build .browser_download_url }
129- >
130- { formatCampaignLinkLabel (entry , " Linux" , build .name )}
131- </a >
132- </li >
133- ))
134- }
135- </ul >
136- <div class = " flex items-center gap-1" >
137- <a href = { entry .pageHref } class = " hyperlink text-sm" >
138- { ` Learn more about ${versionLabel } ` }
139- </a >
140- <span class = " align-middle icon icon-share text-blue-600" ></span >
141- </div >
92+ <h3 class = " text-base font-semibold text-gray-900" >
93+ { versionLabel }
94+ </h3 >
95+ <p class = " text-sm text-gray-700" >
96+ { entry .summary }
97+ </p >
98+ <ul class = " flex flex-col gap-2 text-sm" >
99+ {
100+ windowsBuilds .map ((build ) => (
101+ <li >
102+ <a
103+ class = " hyperlink"
104+ href = { build .browser_download_url }
105+ >
106+ { formatCampaignLinkLabel (entry , " Windows" , build .name )}
107+ </a >
108+ </li >
109+ ))
110+ }
111+ {
112+ macBuilds .map ((build ) => (
113+ <li >
114+ <a
115+ class = " hyperlink"
116+ href = { build .browser_download_url }
117+ >
118+ { formatCampaignLinkLabel (entry , " macOS" , build .name )}
119+ </a >
120+ </li >
121+ ))
122+ }
123+ {
124+ linuxBuilds .map ((build ) => (
125+ <li >
126+ <a
127+ class = " hyperlink"
128+ href = { build .browser_download_url }
129+ >
130+ { formatCampaignLinkLabel (entry , " Linux" , build .name )}
131+ </a >
132+ </li >
133+ ))
134+ }
135+ </ul >
136+ <div class = " flex items-center gap-1" >
137+ <a href = { entry .pageHref } class = " hyperlink text-sm" >
138+ { ` Learn more about ${versionLabel } ` }
139+ </a >
140+ <span class = " align-middle icon icon-share text-blue-600" ></span >
141+ </div >
142142 </div >
143143 );
144144 })}
145145 </div >
146- ) : (
147- <p class = " text-sm text-gray-700 mt-2" >
148- Pre-release downloads are currently unavailable.
149- </p >
150- )}
151- </div >
146+ </div >
147+ )}
152148 <h2 class =" text-sm uppercase font-normal text-gray-600 mt-10" >
153149 Additional resources
154150 </h2 >
@@ -179,7 +175,7 @@ const formatCampaignLinkLabel = (
179175 <div >
180176 <h3 class =" additional-resource-heading" >Source code</h3 >
181177 <div class =" flex flex-col gap-2" >
182- <!-- TODO - Ensure accordions are inclueded in the tab hierarchy -->
178+ <!-- TODO - Ensure accordions are included in the tab hierarchy -->
183179 { primarySourceDownload ? (
184180 <ChecksumAccordion
185181 title = { primarySourceDownload .type }
0 commit comments