|
| 1 | +--- |
| 2 | +import BaseLayout from "../layouts/BaseLayout.astro"; |
| 3 | +import FeaturedVideo from "../components/video/FeaturedVideo"; |
| 4 | +import "../styles/icons.css"; |
| 5 | +import { |
| 6 | + hasDownloadAssets, |
| 7 | + preReleaseList, |
| 8 | +} from "../assets/data/audacityReleases"; |
| 9 | +
|
| 10 | +const pageTitle = "Audacity ® | Audacity 4"; |
| 11 | +const pageDescription = "See what's new in Audacity 4"; |
| 12 | +
|
| 13 | +const launchHighlights = [ |
| 14 | + { |
| 15 | + title: "A refreshed interface", |
| 16 | + description: |
| 17 | + "Updated themes, clip visuals, and navigation make Audacity easier to read and quicker to learn", |
| 18 | + }, |
| 19 | + { |
| 20 | + title: "Layouts that adapt to you", |
| 21 | + description: |
| 22 | + "Save Workspaces, rearrange toolbars, and switch setups without digging through menus", |
| 23 | + }, |
| 24 | + { |
| 25 | + title: "Faster, more intuitive editing", |
| 26 | + description: "Modern clip-based editing that feels familiar", |
| 27 | + }, |
| 28 | +]; |
| 29 | +
|
| 30 | +const newFromAudacity3 = [ |
| 31 | + "Start recording from anywhere on the timeline without moving other clips", |
| 32 | + "Ripple editing shortcuts replace Sync-lock", |
| 33 | + "Reduced tool switching", |
| 34 | +]; |
| 35 | +
|
| 36 | +const activeAlphaRelease = |
| 37 | + preReleaseList.find( |
| 38 | + (entry) => |
| 39 | + entry.id === "alpha" && |
| 40 | + entry.isActive && |
| 41 | + hasDownloadAssets(entry.downloads) |
| 42 | + ) ?? null; |
| 43 | +const hasActiveAlpha = Boolean(activeAlphaRelease); |
| 44 | +--- |
| 45 | + |
| 46 | +<BaseLayout title={pageTitle} description={pageDescription}> |
| 47 | + <main id="main" class="text-gray-700"> |
| 48 | + <div |
| 49 | + class="max-w-screen-xl mx-auto px-6 xs:px-12 md:px-16 py-12 space-y-16" |
| 50 | + > |
| 51 | + <section> |
| 52 | + <p class="text-sm uppercase tracking-wide text-blue-700 font-semibold"> |
| 53 | + Coming soon |
| 54 | + </p> |
| 55 | + <h1 class="mt-2">Audacity 4 is nearly here</h1> |
| 56 | + <p class="mt-4 text-lg"> |
| 57 | + Audacity 4 brings a visual overhaul, Workspaces, and editing updates. |
| 58 | + </p> |
| 59 | + <div class="mt-10 grid grid-cols-1 md:grid-cols-3 gap-6 md:gap-8"> |
| 60 | + { |
| 61 | + launchHighlights.map((feature) => ( |
| 62 | + <div class="border border-gray-200 rounded-lg bg-white p-6 shadow-sm"> |
| 63 | + <h3 class="text-lg font-semibold text-gray-900"> |
| 64 | + {feature.title} |
| 65 | + </h3> |
| 66 | + <p class="mt-3 text-gray-700">{feature.description}</p> |
| 67 | + </div> |
| 68 | + )) |
| 69 | + } |
| 70 | + </div> |
| 71 | + </section> |
| 72 | + |
| 73 | + <section> |
| 74 | + <h3>New since Audacity 3</h3> |
| 75 | + <ul class="mt-4 grid gap-3 list-disc pl-6"> |
| 76 | + {newFromAudacity3.map((item) => <li>{item}</li>)} |
| 77 | + </ul> |
| 78 | + </section> |
| 79 | + |
| 80 | + { |
| 81 | + hasActiveAlpha && activeAlphaRelease && ( |
| 82 | + <section> |
| 83 | + <div class="border border-gray-200 bg-white rounded-lg p-6 md:p-8 shadow-sm"> |
| 84 | + <h2 class="text-sm uppercase font-normal text-gray-600"> |
| 85 | + Try it early |
| 86 | + </h2> |
| 87 | + <p class="mt-2 text-sm text-gray-700"> |
| 88 | + Alpha builds are available for testing. |
| 89 | + </p> |
| 90 | + <a |
| 91 | + class="hyperlink inline-flex items-center gap-1 mt-3" |
| 92 | + href={activeAlphaRelease.pageHref} |
| 93 | + > |
| 94 | + {`Download and try ${activeAlphaRelease.downloads.version}`} |
| 95 | + <span class="align-middle icon icon-share text-blue-600" /> |
| 96 | + </a> |
| 97 | + </div> |
| 98 | + </section> |
| 99 | + ) |
| 100 | + } |
| 101 | + |
| 102 | + <section> |
| 103 | + <FeaturedVideo |
| 104 | + client:load |
| 105 | + placeholderImage="https://i.ytimg.com/vi/QYM3TWf_G38/maxresdefault.jpg" |
| 106 | + imageAltText="Video: How we're redesigning Audacity for the future" |
| 107 | + videoURL="https://www.youtube-nocookie.com/embed/QYM3TWf_G38?autoplay=1" |
| 108 | + title="How we're redesigning Audacity for the future" |
| 109 | + label="Take a behind-the-scenes look at the journey that defines this release." |
| 110 | + matomoEventName="Audacity 4 redesign video" |
| 111 | + /> |
| 112 | + </section> |
| 113 | + </div> |
| 114 | + </main> |
| 115 | +</BaseLayout> |
0 commit comments