|
| 1 | +--- |
| 2 | +import BaseLayout from "../layouts/BaseLayout.astro"; |
| 3 | +import SplitDownloadButton from "../components/button/SplitDownloadButton.jsx"; |
| 4 | +import FeaturedVideo from "../components/video/FeaturedVideo"; |
| 5 | +import "../styles/icons.css"; |
| 6 | +
|
| 7 | +const pageTitle = "Audacity ® | Audacity 4"; |
| 8 | +const pageDescription = "See what's new in Audacity 4 and get ready for the download rollout."; |
| 9 | +
|
| 10 | +const launchHighlights = [ |
| 11 | + { |
| 12 | + title: "A refreshed interface", |
| 13 | + description: |
| 14 | + "Updated themes, clip visuals, and navigation make Audacity easier to read and quicker to learn.", |
| 15 | + }, |
| 16 | + { |
| 17 | + title: "Layouts that adapt to you", |
| 18 | + description: |
| 19 | + "Save Workspaces, rearrange toolbars, and switch setups without digging through menus.", |
| 20 | + }, |
| 21 | + { |
| 22 | + title: "Editing that stays out of the way", |
| 23 | + description: |
| 24 | + "Move, group, and trim clips with new handles and shortcuts designed to keep edits tidy.", |
| 25 | + }, |
| 26 | +]; |
| 27 | +
|
| 28 | +const newFromAudacity3 = [ |
| 29 | + "Persistent playhead and updated loop controls help you keep track of where you are.", |
| 30 | + "You can start recording from anywhere on the timeline without moving other clips.", |
| 31 | + "Ripple editing shortcuts replace Sync-lock with simpler multi-track adjustments.", |
| 32 | + "Selection, Draw, and Multi tools sit directly in the main workflow to reduce tool switching.", |
| 33 | +]; |
| 34 | +
|
| 35 | +const releaseDownloads = { |
| 36 | + version: "Audacity 4", |
| 37 | + win: [ |
| 38 | + { |
| 39 | + name: "Windows 64-bit installer", |
| 40 | + browser_download_url: "#", |
| 41 | + type: ".exe", |
| 42 | + }, |
| 43 | + { |
| 44 | + name: "Windows 64-bit portable", |
| 45 | + browser_download_url: "#", |
| 46 | + type: ".zip", |
| 47 | + }, |
| 48 | + ], |
| 49 | + mac: [ |
| 50 | + { |
| 51 | + name: "macOS universal dmg", |
| 52 | + browser_download_url: "#", |
| 53 | + type: ".dmg", |
| 54 | + }, |
| 55 | + ], |
| 56 | + lin: [ |
| 57 | + { |
| 58 | + name: "Linux AppImage", |
| 59 | + browser_download_url: "#", |
| 60 | + type: ".AppImage", |
| 61 | + }, |
| 62 | + ], |
| 63 | +}; |
| 64 | +
|
| 65 | +const downloadSections = [ |
| 66 | + { |
| 67 | + id: "windows", |
| 68 | + title: "Windows", |
| 69 | + os: "Windows", |
| 70 | + entries: releaseDownloads.win, |
| 71 | + }, |
| 72 | + { |
| 73 | + id: "mac", |
| 74 | + title: "macOS", |
| 75 | + os: "macOS", |
| 76 | + entries: releaseDownloads.mac, |
| 77 | + }, |
| 78 | + { |
| 79 | + id: "linux", |
| 80 | + title: "Linux", |
| 81 | + os: "Linux", |
| 82 | + entries: releaseDownloads.lin, |
| 83 | + }, |
| 84 | +].filter((section) => section.entries.length > 0); |
| 85 | +--- |
| 86 | + |
| 87 | +<BaseLayout title={pageTitle} description={pageDescription}> |
| 88 | + <main id="main" class="text-gray-700"> |
| 89 | + <div class="max-w-screen-xl mx-auto px-6 xs:px-12 md:px-16 py-12 space-y-16"> |
| 90 | + <section> |
| 91 | + <p class="text-sm uppercase tracking-wide text-blue-700 font-semibold"> |
| 92 | + Coming soon |
| 93 | + </p> |
| 94 | + <h1 class="mt-2">Audacity 4 is nearly here</h1> |
| 95 | + <p class="mt-4 text-lg"> |
| 96 | + Audacity 4 brings a visual overhaul, layout tools, and editing updates |
| 97 | + that respond to the feedback we heard throughout the 3.x releases. |
| 98 | + </p> |
| 99 | + <div class="mt-10 grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-8"> |
| 100 | + {launchHighlights.map((feature) => ( |
| 101 | + <div class="border border-gray-200 rounded-lg bg-white p-6 shadow-sm"> |
| 102 | + <h3 class="text-lg font-semibold text-gray-900">{feature.title}</h3> |
| 103 | + <p class="mt-3 text-gray-700">{feature.description}</p> |
| 104 | + </div> |
| 105 | + ))} |
| 106 | + </div> |
| 107 | + </section> |
| 108 | + |
| 109 | + <section> |
| 110 | + <h2 class="text-sm uppercase font-normal text-gray-600"> |
| 111 | + New since Audacity 3 |
| 112 | + </h2> |
| 113 | + <ul class="mt-6 grid gap-3 list-disc pl-6"> |
| 114 | + {newFromAudacity3.map((item) => ( |
| 115 | + <li>{item}</li> |
| 116 | + ))} |
| 117 | + </ul> |
| 118 | + </section> |
| 119 | + |
| 120 | + <section> |
| 121 | + <FeaturedVideo |
| 122 | + client:load |
| 123 | + placeholderImage="https://i.ytimg.com/vi/QYM3TWf_G38/maxresdefault.jpg" |
| 124 | + imageAltText="Video: What is new in Audacity 4" |
| 125 | + videoURL="https://www.youtube-nocookie.com/embed/QYM3TWf_G38?autoplay=1" |
| 126 | + title="Watch the Audacity 4 tour" |
| 127 | + label="Take a guided look at the redesigned interface, workflow upgrades, and the creative tools that define this release." |
| 128 | + matomoEventName="Audacity 4 feature tour video" |
| 129 | + /> |
| 130 | + </section> |
| 131 | + |
| 132 | + <section> |
| 133 | + <div class="border border-gray-200 bg-white rounded-lg p-6 md:p-8 shadow-sm"> |
| 134 | + <h2 class="text-sm uppercase font-normal text-gray-600"> |
| 135 | + Download Audacity 4 |
| 136 | + </h2> |
| 137 | + <p class="mt-2 text-sm text-gray-700"> |
| 138 | + Links activate when the release is live. Pick your platform and get |
| 139 | + ready to install once the builds are published. |
| 140 | + </p> |
| 141 | + <div class="mt-6 grid grid-cols-1 md:grid-cols-3 gap-6"> |
| 142 | + {downloadSections.map((section) => ( |
| 143 | + <div class="flex flex-col gap-3"> |
| 144 | + <h3 class="text-base font-semibold text-gray-900"> |
| 145 | + {section.title} |
| 146 | + </h3> |
| 147 | + <SplitDownloadButton |
| 148 | + OS={section.os} |
| 149 | + kind={releaseDownloads.version} |
| 150 | + releaseData={section.entries} |
| 151 | + client:load |
| 152 | + /> |
| 153 | + </div> |
| 154 | + ))} |
| 155 | + </div> |
| 156 | + <p class="mt-6 text-xs text-gray-500"> |
| 157 | + Final download URLs and checksums populate automatically when the |
| 158 | + release binaries become available. |
| 159 | + </p> |
| 160 | + </div> |
| 161 | + </section> |
| 162 | + </div> |
| 163 | + </main> |
| 164 | +</BaseLayout> |
0 commit comments